Commit 88245453 authored by Alexandre Julliard's avatar Alexandre Julliard

msisip: Use --prefer-native instead of DLL_WINE_PREATTACH.

parent e0ff4033
MODULE = msisip.dll
IMPORTS = crypt32 ole32
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
main.c
......@@ -28,22 +28,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(msisip);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
}
return TRUE;
}
static GUID mySubject = { 0x000c10f1, 0x0000, 0x0000,
{ 0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x46 }};
......
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