mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
winedump: Add DLL_WINE_PREATTACH to the generated DllMain.
This commit is contained in:
parent
52404421ba
commit
dbdb8e2ea1
1 changed files with 2 additions and 0 deletions
|
@ -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