[ros-diffs] [greatlrd] 29609: 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);