https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b70232d416121f4e4cdda…
commit b70232d416121f4e4cdda74d402297f85a1608ed
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Thu May 14 09:38:38 2020 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Thu May 14 09:38:38 2020 +0900
[SHELL32] Half-implement SHWinHelp
---
dll/win32/shell32/wine/shellord.c | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/dll/win32/shell32/wine/shellord.c b/dll/win32/shell32/wine/shellord.c
index f634c33665d..8cbdb2a4da4 100644
--- a/dll/win32/shell32/wine/shellord.c
+++ b/dll/win32/shell32/wine/shellord.c
@@ -1369,9 +1369,18 @@ HRESULT WINAPI SHCreateShellFolderViewEx(
* SHWinHelp [SHELL32.127]
*
*/
-HRESULT WINAPI SHWinHelp (DWORD v, DWORD w, DWORD x, DWORD z)
-{ FIXME("0x%08x 0x%08x 0x%08x 0x%08x stub\n",v,w,x,z);
- return 0;
+HRESULT WINAPI SHWinHelp(HWND hwnd, LPCWSTR pszHelp, UINT uCommand, ULONG_PTR dwData)
+{
+ TRACE("(%p, %s, 0x%08x, %p)\n", hwnd, debugstr_w(pszHelp), uCommand,
dwData);
+ if (!WinHelpW(hwnd, pszHelp, uCommand, dwData))
+ {
+#if 0
+ ShellMessageBoxW(shell32_hInstance, hwnd, MAKEINTRESOURCEW(9115),
+ MAKEINTRESOURCEW(9116), MB_ICONSTOP);
+#endif
+ return FALSE;
+ }
+ return TRUE;
}
/*************************************************************************
* SHRunControlPanel [SHELL32.161]