[ros-diffs] [greatlrd] 23168: hacking NtGdiDdResetVisrgn so it lest say clip have not change. for now
greatlrd at svn.reactos.org
greatlrd at svn.reactos.org
Wed Jul 19 04:14:26 CEST 2006
Author: greatlrd
Date: Wed Jul 19 06:14:26 2006
New Revision: 23168
URL: http://svn.reactos.org/svn/reactos?rev=23168&view=rev
Log:
hacking NtGdiDdResetVisrgn so it lest say clip have not change. for now
Modified:
trunk/reactos/subsystems/win32/win32k/ntddraw/stubs.c
Modified: trunk/reactos/subsystems/win32/win32k/ntddraw/stubs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntddraw/stubs.c?rev=23168&r1=23167&r2=23168&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntddraw/stubs.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntddraw/stubs.c Wed Jul 19 06:14:26 2006
@@ -338,9 +338,18 @@
HWND hwnd
)
{
- UNIMPLEMENTED
-
- return 0;
+ 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 TRUE;
}
More information about the Ros-diffs
mailing list