mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:21:14 +00:00
winecoreaudio: Disable thread DllMain() calls.
This commit is contained in:
parent
93577c0013
commit
1a451cb91c
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue