From: Russell Greene <russellgreene8@gmail.com> Fixes launch of Simberian Simbeor PCB simulation software --- dlls/hhctrl.ocx/hhctrl.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dlls/hhctrl.ocx/hhctrl.c b/dlls/hhctrl.ocx/hhctrl.c index 14e18bbaf98..cfd7b81bc7f 100644 --- a/dlls/hhctrl.ocx/hhctrl.c +++ b/dlls/hhctrl.ocx/hhctrl.c @@ -377,6 +377,16 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD_PTR dat free(window); return 0; } + case HH_INITIALIZE: { + /* Return a non-zero cookie that is later passed back to + * HH_UNINITIALIZE. Applications check this value and treat a NULL + * cookie as an initialization failure. */ + if (data) + *(DWORD *)data = 1; + return 0; + } + case HH_UNINITIALIZE: + return 0; default: FIXME("HH case %s not handled.\n", command_to_string( command )); } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/11067