Commit dbdb8e2e authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

winedump: Add DLL_WINE_PREATTACH to the generated DllMain.

parent 52404421
......@@ -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)
......
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