diff --git a/reactos/subsystems/win32/win32k/ntddraw/stubs.c b/reactos/subsystems/win32/win32k/ntddraw/stubs.c index 107907e13e9..b19bcd95660 100644 --- a/reactos/subsystems/win32/win32k/ntddraw/stubs.c +++ b/reactos/subsystems/win32/win32k/ntddraw/stubs.c @@ -338,9 +338,18 @@ BOOL STDCALL NtGdiDdResetVisrgn( HWND hwnd ) { - UNIMPLEMENTED + DPRINT1("UNIMPLEMENTED NtGdiDdResetVisrgn \n"); + /* see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/lowlevelclientsupport/graphics/ddresetvisrgn.asp + for more info, I pasted some part of it here + Clipping can change asynchronously from the point of view of user-mode threads. + The kernel-mode parts of DirectDraw and Microsoft Windows Graphics Device Interface (GDI) + maintain a counter that is incremented whenever the clipping list for the entire desktop + changes. A call to this function records this counter with every existing DirectDraw + primary surface on the system. - return 0; + */ + + return TRUE; }