Set GDI_BatchLimit from TEB.

svn path=/trunk/; revision=24560
This commit is contained in:
James Tabor 2006-10-18 03:55:28 +00:00
parent f7420ccbad
commit 31280506e9

View file

@ -34,6 +34,7 @@ GdiProcessSetup (VOID)
/* map the gdi handle table to user space */
GdiHandleTable = NtCurrentTeb()->ProcessEnvironmentBlock->GdiSharedHandleTable;
CurrentProcessId = NtCurrentTeb()->Cid.UniqueProcess;
GDI_BatchLimit = NtCurrentTeb()->GdiBatchCount;
}