diff --git a/dlls/hhctrl.ocx/hhctrl.c b/dlls/hhctrl.ocx/hhctrl.c index 357088e3e15..2a301126e41 100644 --- a/dlls/hhctrl.ocx/hhctrl.c +++ b/dlls/hhctrl.ocx/hhctrl.c @@ -56,3 +56,9 @@ HWND WINAPI HtmlHelpA(HWND caller, LPCSTR filename, UINT command, DWORD data) HeapFree( GetProcessHeap(), 0, wfile ); return result; } + +int WINAPI doWinMain(HMODULE hMod, LPSTR cmdline) +{ + FIXME("(0x%x %s) stub!\n", (unsigned)hMod, debugstr_a(cmdline)); + return -1; +} diff --git a/dlls/hhctrl.ocx/hhctrl.ocx.spec b/dlls/hhctrl.ocx/hhctrl.ocx.spec index 1eed44a5847..ba62d666e1c 100644 --- a/dlls/hhctrl.ocx/hhctrl.ocx.spec +++ b/dlls/hhctrl.ocx/hhctrl.ocx.spec @@ -1,3 +1,4 @@ +13 stdcall doWinMain(long ptr) 14 stdcall HtmlHelpA(ptr ptr long long) 15 stdcall HtmlHelpW(ptr ptr long long) @ stdcall -private DllRegisterServer() HHCTRL_DllRegisterServer diff --git a/include/htmlhelp.h b/include/htmlhelp.h index 172553fd15d..c640ba6db8d 100644 --- a/include/htmlhelp.h +++ b/include/htmlhelp.h @@ -420,7 +420,7 @@ typedef struct tagHH_NTRACKW { DECL_WINELIB_TYPE_AW(HH_NTRACK) HWND WINAPI HtmlHelpA(HWND,LPCSTR,UINT,DWORD); -HWND WINAPI HtmlHelpA(HWND,LPCSTR,UINT,DWORD); +HWND WINAPI HtmlHelpW(HWND,LPCWSTR,UINT,DWORD); #define HtmlHelp WINELIB_NAME_AW(HtmlHelp) #define ATOM_HTMLHELP_API_ANSI (LPTSTR)14