wintab32: Add DisableThreadLibraryCalls.

This commit is contained in:
Mikolaj Zalewski 2007-09-17 16:53:43 -07:00 committed by Alexandre Julliard
parent bc7c5218c7
commit 50539e7115
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved)
{ {
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
TRACE("Initialization\n"); TRACE("Initialization\n");
DisableThreadLibraryCalls(hInstDLL);
InitializeCriticalSection(&csTablet); InitializeCriticalSection(&csTablet);
csTablet.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": csTablet"); csTablet.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": csTablet");
hx11drv = GetModuleHandleA("winex11.drv"); hx11drv = GetModuleHandleA("winex11.drv");