From e55acdb642c544e0622887ef3f03f67c86f10acf Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 25 Sep 2009 14:37:57 +0200 Subject: [PATCH] shell32: Don't try to call a 16-bit function on non-x86 platforms. --- dlls/shell32/control.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/shell32/control.c b/dlls/shell32/control.c index 9b566b65ed2..cfea201d3e5 100644 --- a/dlls/shell32/control.c +++ b/dlls/shell32/control.c @@ -886,6 +886,7 @@ HRESULT WINAPI Control_FillCache_RunDLLA(HWND hWnd, HANDLE hModule, DWORD w, DWO void WINAPI RunDLL_CallEntry16( DWORD proc, HWND hwnd, HINSTANCE inst, LPCSTR cmdline, INT cmdshow ) { +#ifdef __i386__ WORD args[5]; SEGPTR cmdline_seg; @@ -900,6 +901,7 @@ void WINAPI RunDLL_CallEntry16( DWORD proc, HWND hwnd, HINSTANCE inst, args[0] = cmdshow; WOWCallback16Ex( proc, WCB16_PASCAL, sizeof(args), args, NULL ); UnMapLS( cmdline_seg ); +#endif } /*************************************************************************