wintab32: Add DisableThreadLibraryCalls.
This commit is contained in:
parent
bc7c5218c7
commit
50539e7115
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue