Commit 1a451cb9 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

winecoreaudio: Disable thread DllMain() calls.

parent 93577c00
......@@ -198,6 +198,7 @@ BOOL WINAPI DllMain(HINSTANCE dll, DWORD reason, void *reserved)
switch (reason)
{
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(dll);
if(NtQueryVirtualMemory(GetCurrentProcess(), dll, MemoryWineUnixFuncs,
&coreaudio_handle, sizeof(coreaudio_handle), NULL))
return FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment