Commit 2723e947 authored by Michael Müller's avatar Michael Müller Committed by Alexandre Julliard

shell32: Use manual redirection for RunDLL_CallEntry16.

parent 364e1c87
......@@ -883,3 +883,25 @@ DWORD WINAPI CallCPLEntry16(HMODULE hMod, FARPROC pFunc, DWORD dw3, DWORD dw4, D
FIXME("(%p, %p, %08x, %08x, %08x, %08x): stub.\n", hMod, pFunc, dw3, dw4, dw5, dw6);
return 0x0deadbee;
}
/*************************************************************************
* RunDLL_CallEntry16 [SHELL32.122]
* Manually relay this function to make Tages Protection v5 happy
*/
void WINAPI RunDLL_CallEntry16( DWORD proc, HWND hwnd, HINSTANCE inst,
LPCSTR cmdline, INT cmdshow )
{
static HMODULE shell16 = NULL;
static void (WINAPI *pRunDLL_CallEntry16)( DWORD proc, HWND hwnd, HINSTANCE inst,
LPCSTR cmdline, INT cmdshow ) = NULL;
if (!pRunDLL_CallEntry16)
{
if (!shell16 && !(shell16 = LoadLibraryA( "shell.dll16" )))
return;
if (!(pRunDLL_CallEntry16 = (void *)GetProcAddress( shell16, "RunDLL_CallEntry16" )))
return;
}
pRunDLL_CallEntry16( proc, hwnd, inst, cmdline, cmdshow );
}
......@@ -114,7 +114,7 @@
119 stdcall -ordinal IsLFNDrive(ptr) IsLFNDriveAW
120 stdcall -noname FileMenu_AbortInitMenu()
121 stdcall -noname SHFlushClipboard()
122 stdcall -private @(long long ptr str long) shell.dll16.RunDLL_CallEntry16
122 stdcall -noname RunDLL_CallEntry16(long long ptr str long)
123 stdcall -noname SHFreeUnusedLibraries()
124 stdcall -noname FileMenu_AppendFilesForPidl(long ptr long)
125 stdcall -noname FileMenu_AddFilesForPidl(long long long ptr long long ptr)
......
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