mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:18:20 +00:00
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:
|
||||
TRACE("Initialization\n");
|
||||
DisableThreadLibraryCalls(hInstDLL);
|
||||
InitializeCriticalSection(&csTablet);
|
||||
csTablet.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": csTablet");
|
||||
hx11drv = GetModuleHandleA("winex11.drv");
|
||||
|
|
Loading…
Reference in a new issue