Commit 790ab8d2 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 4394b425
MODULE = printui.dll
IMPORTS = shell32
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
printui.c
......
......@@ -211,26 +211,6 @@ static BOOL parse_rundll(context_t * cx)
}
/*****************************************************
* DllMain
*/
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(%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;
}
/*****************************************************
* PrintUIEntryW [printui.@]
* Commandline-Interface for using printui.dll with rundll32.exe
*
......
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