Author: jimtabor
Date: Fri Oct 12 04:47:31 2007
New Revision: 29527
URL:
http://svn.reactos.org/svn/reactos?rev=29527&view=rev
Log:
Add notes for NtGdiResetDC and NtGdiOpenDCW.
Modified:
trunk/reactos/include/psdk/ntgdi.h
Modified: trunk/reactos/include/psdk/ntgdi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntgdi.h?rev=2…
==============================================================================
--- trunk/reactos/include/psdk/ntgdi.h (original)
+++ trunk/reactos/include/psdk/ntgdi.h Fri Oct 12 04:47:31 2007
@@ -2013,6 +2013,15 @@
OUT OPTIONAL PVOID pvBuf
);
+// Note from SDK:
+//
+// NtGdiResetDC
+// The exact size of the buffer at pdm is pdm->dmSize + pdm->dmDriverExtra.
+// But this can't be specified with current annotation language.
+//
+// typedef struct _DRIVER_INFO_2W DRIVER_INFO_2W;
+//
+// :end note.
W32KAPI
BOOL
APIENTRY
@@ -2020,7 +2029,7 @@
IN HDC hdc,
IN LPDEVMODEW pdm,
OUT PBOOL pbBanding,
- IN OPTIONAL VOID *pDriverInfo2,
+ IN OPTIONAL VOID *pDriverInfo2, // this is "typedef struct _DRIVER_INFO_2W
DRIVER_INFO_2W;"
OUT VOID *ppUMdhpdev
);
@@ -2061,11 +2070,11 @@
APIENTRY
NtGdiOpenDCW(
IN OPTIONAL PUNICODE_STRING pustrDevice,
- IN DEVMODEW *pdm,
+ IN DEVMODEW *pdm, // See note for NtGdiResetDC
IN PUNICODE_STRING pustrLogAddr,
IN ULONG iType,
IN OPTIONAL HANDLE hspool,
- IN OPTIONAL VOID *pDriverInfo2,
+ IN OPTIONAL VOID *pDriverInfo2, // this is "typedef struct _DRIVER_INFO_2W
DRIVER_INFO_2W;"
OUT VOID *pUMdhpdev
);