Commit a426b45f authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 68b11add
MODULE = wimgapi.dll
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
main.c
......@@ -28,22 +28,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(wimgapi);
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
{
TRACE("(0x%p, %d, %p)\n", instance, reason, reserved);
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(instance);
break;
}
return TRUE;
}
DWORD WINAPI WIMRegisterMessageCallback(HANDLE wim, FARPROC callback, PVOID data)
{
FIXME("(%p %p %p) stub\n", wim, callback, data);
......
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