Author: jimtabor
Date: Wed May 27 11:19:31 2009
New Revision: 41136
URL:
http://svn.reactos.org/svn/reactos?rev=41136&view=rev
Log:
- Add more missing structures to winddiui.h.
Modified:
trunk/reactos/include/ddk/winddiui.h
Modified: trunk/reactos/include/ddk/winddiui.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/winddiui.h?rev…
==============================================================================
--- trunk/reactos/include/ddk/winddiui.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/winddiui.h [iso-8859-1] Wed May 27 11:19:31 2009
@@ -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 @@
#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);