diff --git a/reactos/subsystems/win32/win32k/include/dc.h b/reactos/subsystems/win32/win32k/include/dc.h index 2afd2714f8c..a0aa2005e22 100644 --- a/reactos/subsystems/win32/win32k/include/dc.h +++ b/reactos/subsystems/win32/win32k/include/dc.h @@ -160,6 +160,8 @@ VOID FASTCALL IntGetViewportOrgEx(PDC dc, LPPOINT pt); 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 { diff --git a/reactos/subsystems/win32/win32k/main/dllmain.c b/reactos/subsystems/win32/win32k/main/dllmain.c index ff43a2f6968..3940ad90156 100644 --- a/reactos/subsystems/win32/win32k/main/dllmain.c +++ b/reactos/subsystems/win32/win32k/main/dllmain.c @@ -385,7 +385,8 @@ DriverEntry ( CalloutData.DesktopDeleteProcedure = IntDesktopObjectDelete; CalloutData.ProcessCallout = Win32kProcessCallback; CalloutData.ThreadCallout = Win32kThreadCallback; - + CalloutData.BatchFlushRoutine = NtGdiFlushUserBatch; + /* * Register our per-process and per-thread structures. */ diff --git a/reactos/subsystems/win32/win32k/objects/dcutil.c b/reactos/subsystems/win32/win32k/objects/dcutil.c index 7485de5b583..8d97427d519 100644 --- a/reactos/subsystems/win32/win32k/objects/dcutil.c +++ b/reactos/subsystems/win32/win32k/objects/dcutil.c @@ -55,3 +55,12 @@ NtGdiFlush(VOID) UNIMPLEMENTED; } +NTSTATUS +APIENTRY +NtGdiFlushUserBatch(VOID) +{ + NTSTATUS Status = STATUS_SUCCESS; +// UNIMPLEMENTED; + return Status; +} + diff --git a/reactos/subsystems/win32/win32k/w32ksvc.db b/reactos/subsystems/win32/win32k/w32ksvc.db index 2a1e35df880..6e7744424b1 100644 --- a/reactos/subsystems/win32/win32k/w32ksvc.db +++ b/reactos/subsystems/win32/win32k/w32ksvc.db @@ -156,7 +156,7 @@ NtGdiExtSelectClipRgn 3 NtGdiFillPath 1 NtGdiFillRgn 3 NtGdiFlattenPath 1 -# NtGdiFlushUserBatch 0 +NtGdiFlushUserBatch 0 NtGdiFlush 0 # NtGdiForceUFIMapping 2 NtGdiFrameRgn 5