wrong protype in MSDN, the protypes is VOID APIENTRY NtGdiDdUnattachSurface(HANDLE hSurface, HANDLE hSurfaceAttached); and the text in msdn talk it can return either DDHAL_DRIVER_HANDLED or DDHAL_DRIVER_NOTHANDLED, see http://msdn2.microsoft.com/en-us/library/ms648703.aspx, so I change the protype to DWORD APIENTRY NtGdiDdUnattachSurface(HANDLE hSurface, HANDLE hSurfaceAttached);

svn path=/branches/reactx/; revision=29609
This commit is contained in:
Magnus Olsen 2007-10-15 19:43:58 +00:00
parent 5538059b89
commit 0c91d34b41

View file

@ -698,7 +698,7 @@ NtGdiDdSetOverlayPosition(
);
W32KAPI
VOID
DWORD
APIENTRY
NtGdiDdUnattachSurface(
IN HANDLE hSurface,