Author: janderwald
Date: Tue Nov 27 21:14:06 2007
New Revision: 30820
URL:
http://svn.reactos.org/svn/reactos?rev=30820&view=rev
Log:
- implement Options_RunDLL, Options_RunDLLA, Options_RunDLLW
Modified:
trunk/reactos/dll/win32/shell32/shell32.spec
trunk/reactos/dll/win32/shell32/shellord.c
Modified: trunk/reactos/dll/win32/shell32/shell32.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shell32.…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shell32.spec (original)
+++ trunk/reactos/dll/win32/shell32/shell32.spec Tue Nov 27 21:14:06 2007
@@ -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
Modified: trunk/reactos/dll/win32/shell32/shellord.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shellord…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shellord.c (original)
+++ trunk/reactos/dll/win32/shell32/shellord.c Tue Nov 27 21:14:06 2007
@@ -2069,3 +2069,27 @@
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);
+}