Add NtGdiFlushUserBatch callback.

svn path=/trunk/; revision=28461
This commit is contained in:
James Tabor 2007-08-23 01:51:22 +00:00
parent dd008296b0
commit 81666beff6
4 changed files with 14 additions and 2 deletions

View file

@ -160,6 +160,8 @@ VOID FASTCALL IntGetViewportOrgEx(PDC dc, LPPOINT pt);
VOID FASTCALL IntGetWindowExtEx(PDC dc, LPSIZE pt); VOID FASTCALL IntGetWindowExtEx(PDC dc, LPSIZE pt);
VOID FASTCALL IntGetWindowOrgEx(PDC dc, LPPOINT 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*/ /* For Metafile and MetaEnhFile not in windows this struct taken from wine cvs 15/9-2006*/
typedef struct typedef struct
{ {

View file

@ -385,6 +385,7 @@ DriverEntry (
CalloutData.DesktopDeleteProcedure = IntDesktopObjectDelete; CalloutData.DesktopDeleteProcedure = IntDesktopObjectDelete;
CalloutData.ProcessCallout = Win32kProcessCallback; CalloutData.ProcessCallout = Win32kProcessCallback;
CalloutData.ThreadCallout = Win32kThreadCallback; CalloutData.ThreadCallout = Win32kThreadCallback;
CalloutData.BatchFlushRoutine = NtGdiFlushUserBatch;
/* /*
* Register our per-process and per-thread structures. * Register our per-process and per-thread structures.

View file

@ -55,3 +55,12 @@ NtGdiFlush(VOID)
UNIMPLEMENTED; UNIMPLEMENTED;
} }
NTSTATUS
APIENTRY
NtGdiFlushUserBatch(VOID)
{
NTSTATUS Status = STATUS_SUCCESS;
// UNIMPLEMENTED;
return Status;
}

View file

@ -156,7 +156,7 @@ NtGdiExtSelectClipRgn 3
NtGdiFillPath 1 NtGdiFillPath 1
NtGdiFillRgn 3 NtGdiFillRgn 3
NtGdiFlattenPath 1 NtGdiFlattenPath 1
# NtGdiFlushUserBatch 0 NtGdiFlushUserBatch 0
NtGdiFlush 0 NtGdiFlush 0
# NtGdiForceUFIMapping 2 # NtGdiForceUFIMapping 2
NtGdiFrameRgn 5 NtGdiFrameRgn 5