Commit e701ce3a authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 7e33f387
MODULE = dwmapi.dll
IMPORTLIB = dwmapi
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
dwmapi_main.c
......
......@@ -32,20 +32,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(dwmapi);
/* At process attach */
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
{
switch(fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hInstDLL );
break;
}
return TRUE;
}
/**********************************************************************
* DwmIsCompositionEnabled (DWMAPI.@)
*/
......
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