mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
- Add more missing structures to winddiui.h.
svn path=/trunk/; revision=41136
This commit is contained in:
parent
d343246821
commit
718fea97dd
1 changed files with 22 additions and 0 deletions
|
@ -27,6 +27,26 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_WINXP)
|
||||
typedef struct _DOCEVENT_FILTER {
|
||||
UINT cbSize;
|
||||
UINT cElementsAllocated;
|
||||
UINT cElementsNeeded;
|
||||
UINT cElementsReturned;
|
||||
DWORD aDocEventCall[ANYSIZE_ARRAY];
|
||||
} DOCEVENT_FILTER, *PDOCEVENT_FILTER;
|
||||
typedef struct _DOCEVENT_CREATEDCPRE {
|
||||
PWSTR pszDriver;
|
||||
PWSTR pszDevice;
|
||||
PDEVMODEW pdm;
|
||||
BOOL bIC;
|
||||
} DOCEVENT_CREATEDCPRE, *PDCEVENT_CREATEDCPRE;
|
||||
typedef struct _DOCEVENT_ESCAPE {
|
||||
int iEscape;
|
||||
int cjInput;
|
||||
PVOID pvInData;
|
||||
} DOCEVENT_ESCAPE, *PDOCEVENT_ESCAPE;
|
||||
#endif
|
||||
#define DOCUMENTEVENT_FIRST 1
|
||||
#define DOCUMENTEVENT_CREATEDCPRE 1
|
||||
#define DOCUMENTEVENT_CREATEDCPOST 2
|
||||
|
@ -69,6 +89,8 @@ extern "C" {
|
|||
#define DOCUMENTEVENT_SUCCESS 1
|
||||
#define DOCUMENTEVENT_UNSUPPORTED 0
|
||||
#define DOCUMENTEVENT_FAILURE -1
|
||||
#define DOCUMENTEVENT_EVENT(iX) (LOWORD(iX))
|
||||
#define DOCUMENTEVENT_FLAGS(iX) (HIWORD(iX))
|
||||
|
||||
int WINAPI DrvDocumentEvent(HANDLE,HDC,int,ULONG,PVOID,ULONG,PVOID);
|
||||
|
||||
|
|
Loading…
Reference in a new issue