diff --git a/reactos/dll/win32/shell32/shell32.spec b/reactos/dll/win32/shell32/shell32.spec index 6ebc057c97f..0fc040174d7 100644 --- a/reactos/dll/win32/shell32/shell32.spec +++ b/reactos/dll/win32/shell32/shell32.spec @@ -205,12 +205,15 @@ 213 stdcall Printers_RegisterWindowW(wstr long ptr ptr) 214 stdcall Printers_UnregisterWindow(long long) 215 stdcall -noname SHStartNetConnectionDialog(long str long) + 255 stdcall Options_RunDLL(ptr ptr str long) 243 stdcall @(long long) shell32_243 244 stdcall -noname SHInitRestricted(ptr ptr) 249 stdcall -noname PathParseIconLocation(ptr) PathParseIconLocationAW 250 stdcall -noname PathRemoveExtension(ptr) PathRemoveExtensionAW 251 stdcall -noname PathRemoveArgs(ptr) PathRemoveArgsAW + 255 stdcall Options_RunDLLA(ptr ptr str long) 256 stdcall @(ptr ptr) SHELL32_256 + 260 stdcall Options_RunDLLW(ptr ptr wstr long) #299 stub Shl1632_ThunkData32 #300 stub Shl3216_ThunkData32 diff --git a/reactos/dll/win32/shell32/shellord.c b/reactos/dll/win32/shell32/shellord.c index 5513b5d4ddd..f259c00910c 100644 --- a/reactos/dll/win32/shell32/shellord.c +++ b/reactos/dll/win32/shell32/shellord.c @@ -2069,3 +2069,27 @@ HRESULT WINAPI SHSetLocalizedName(LPWSTR pszPath, LPCWSTR pszResModule, int idsR return S_OK; } + +/************************************************************************* + * Options_RunDLL (SHELL32.@) + */ +VOID WINAPI Options_RunDLL(HWND hWnd, HINSTANCE hInst, LPCSTR cmd, DWORD nCmdShow) +{ + + PostMessage(GetShellWindow(), WM_USER+22, StrToIntA(cmd), 0); +} +/************************************************************************* + * Options_RunDLLA (SHELL32.@) + */ +VOID WINAPI Options_RunDLLA(HWND hWnd, HINSTANCE hInst, LPCSTR cmd, DWORD nCmdShow) +{ + PostMessage(GetShellWindow(), WM_USER+22, StrToIntA(cmd), 0); +} + +/************************************************************************* + * Options_RunDLLW (SHELL32.@) + */ +VOID WINAPI Options_RunDLLW(HWND hWnd, HINSTANCE hInst, LPCWSTR cmd, DWORD nCmdShow) +{ + PostMessage(GetShellWindow(), WM_USER+22, StrToIntW(cmd), 0); +}