Author: jimtabor
Date: Thu Aug 23 05:51:22 2007
New Revision: 28461
URL:
http://svn.reactos.org/svn/reactos?rev=28461&view=rev
Log:
Add NtGdiFlushUserBatch callback.
Modified:
trunk/reactos/subsystems/win32/win32k/include/dc.h
trunk/reactos/subsystems/win32/win32k/main/dllmain.c
trunk/reactos/subsystems/win32/win32k/objects/dcutil.c
trunk/reactos/subsystems/win32/win32k/w32ksvc.db
Modified: trunk/reactos/subsystems/win32/win32k/include/dc.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/in…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/dc.h (original)
+++ trunk/reactos/subsystems/win32/win32k/include/dc.h Thu Aug 23 05:51:22 2007
@@ -160,6 +160,8 @@
VOID FASTCALL IntGetWindowExtEx(PDC dc, LPSIZE pt);
VOID FASTCALL IntGetWindowOrgEx(PDC dc, LPPOINT pt);
+NTSTATUS STDCALL NtGdiFlushUserBatch(VOID);
+
/* For Metafile and MetaEnhFile not in windows this struct taken from wine cvs
15/9-2006*/
typedef struct
{
Modified: trunk/reactos/subsystems/win32/win32k/main/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ma…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/main/dllmain.c (original)
+++ trunk/reactos/subsystems/win32/win32k/main/dllmain.c Thu Aug 23 05:51:22 2007
@@ -385,7 +385,8 @@
CalloutData.DesktopDeleteProcedure = IntDesktopObjectDelete;
CalloutData.ProcessCallout = Win32kProcessCallback;
CalloutData.ThreadCallout = Win32kThreadCallback;
-
+ CalloutData.BatchFlushRoutine = NtGdiFlushUserBatch;
+
/*
* Register our per-process and per-thread structures.
*/
Modified: trunk/reactos/subsystems/win32/win32k/objects/dcutil.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/dcutil.c (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/dcutil.c Thu Aug 23 05:51:22 2007
@@ -55,3 +55,12 @@
UNIMPLEMENTED;
}
+NTSTATUS
+APIENTRY
+NtGdiFlushUserBatch(VOID)
+{
+ NTSTATUS Status = STATUS_SUCCESS;
+// UNIMPLEMENTED;
+ return Status;
+}
+
Modified: trunk/reactos/subsystems/win32/win32k/w32ksvc.db
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/w3…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/w32ksvc.db (original)
+++ trunk/reactos/subsystems/win32/win32k/w32ksvc.db Thu Aug 23 05:51:22 2007
@@ -156,7 +156,7 @@
NtGdiFillPath 1
NtGdiFillRgn 3
NtGdiFlattenPath 1
-# NtGdiFlushUserBatch 0
+NtGdiFlushUserBatch 0
NtGdiFlush 0
# NtGdiForceUFIMapping 2
NtGdiFrameRgn 5