20 Feb
2023
20 Feb
'23
6:56 p.m.
Rémi Bernon (@rbernon) commented about dlls/windows.media.speech/main.c:
+#include "unixlib.h" + #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(speech);
+BOOL WINAPI DllMain( HINSTANCE instance, DWORD reason, void *reserved ) +{ + NTSTATUS status; + + switch (reason) + { + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(instance); + __wine_init_unix_call();
You should probably check the returned status here. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2091#note_24831