13 * GDI32.DLL doesn't have an entry point. The initialization is done by a call
14 * to GdiDllInitialize(). This call is done from the entry point of USER32.DLL.
30 GdiProcessSetup (VOID
)
32 hProcessHeap
= GetProcessHeap();
34 /* map the gdi handle table to user space */
35 GdiHandleTable
= NtCurrentTeb()->ProcessEnvironmentBlock
->GdiSharedHandleTable
;
36 CurrentProcessId
= NtCurrentTeb()->Cid
.UniqueProcess
;
53 case DLL_PROCESS_ATTACH
:
57 case DLL_THREAD_ATTACH
:
65 /* FIXME: working teb handling needed */
66 NtCurrentTeb()->GdiTebBatch
.Offset
= 0;
67 NtCurrentTeb()->GdiBatchCount
= 0;