mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:20:30 +00:00
winedump: Add DLL_WINE_PREATTACH to the generated DllMain.
This commit is contained in:
parent
52404421ba
commit
dbdb8e2ea1
|
@ -231,6 +231,8 @@ void output_c_preamble (void)
|
|||
"BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID "
|
||||
"lpvReserved)\n{\n\tTRACE(\"(0x%%p, %%ld, %%p)\\n\",hinstDLL,"
|
||||
"fdwReason,lpvReserved);\n\n\t"
|
||||
"if (fdwReason == DLL_WINE_PREATTACH) return FALSE;\t"
|
||||
"/* prefer native version */\n\n\t"
|
||||
"if (fdwReason == DLL_PROCESS_ATTACH)\n\t{\n\t\t");
|
||||
|
||||
if (globals.forward_dll)
|
||||
|
|
Loading…
Reference in a new issue