hhctrl.ocx: Return help window handle to caller.

This commit is contained in:
Hin-Tak Leung 2008-04-16 01:03:49 +00:00 committed by Alexandre Julliard
parent 790715123a
commit 76299b37ea
1 changed files with 2 additions and 4 deletions

View File

@ -132,8 +132,7 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD_PTR dat
if(!res)
ReleaseHelpViewer(info);
}
return NULL; /* FIXME */
return info->WinType.hwndHelp;
}
case HH_HELP_CONTEXT: {
HHInfo *info;
@ -149,8 +148,7 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD_PTR dat
NavigateToUrl(info, url);
heap_free(url);
return NULL; /* FIXME */
return info->WinType.hwndHelp;
}
case HH_PRETRANSLATEMESSAGE: {
static BOOL warned = FALSE;