#ifndef NO_HTMLHELP
typedef HWND (CALLBACK *htmlhelp_t)(HWND, LPCSTR, UINT, DWORD);
static char *chm_path;
-static DWORD html_help_cookie;
static htmlhelp_t htmlhelp;
#endif /* NO_HTMLHELP */
if (!htmlhelp)
FreeLibrary(dllHH);
}
- if (htmlhelp)
- htmlhelp(NULL, NULL, HH_INITIALIZE, (DWORD)&html_help_cookie);
- else
+ if (!htmlhelp)
chm_path = NULL;
}
#endif /* NO_HTMLHELP */
void shutdown_help(void)
{
-#ifndef NO_HTMLHELP
- if (chm_path)
- htmlhelp(NULL, NULL, HH_UNINITIALIZE, html_help_cookie);
-#endif /* NO_HTMLHELP */
+ /* Nothing to do currently.
+ * (If we were running HTML Help single-threaded, this is where we'd
+ * call HH_UNINITIALIZE.) */
}
int has_help(void)