88 |
#ifdef _MSC_VER |
#ifdef _MSC_VER |
89 |
#include <htmlhelp.h> |
#include <htmlhelp.h> |
90 |
|
|
|
/* Support for the new html context sentensive help. For |
|
|
now it can be only used with native W32 compilers. */ |
|
91 |
#define html_help_init(cookie) \ |
#define html_help_init(cookie) \ |
92 |
HtmlHelp (NULL, NULL, HH_INITIALIZE, (DWORD)(cookie)) |
HtmlHelp (NULL, NULL, HH_INITIALIZE, (DWORD)(cookie)) |
93 |
|
|
94 |
#define html_help_deinit() \ |
#define html_help_deinit(cookie) \ |
95 |
HtmlHelp (NULL, NULL, HH_UNINITIALIZE, 0) |
HtmlHelp (NULL, NULL, HH_UNINITIALIZE, (DWORD)(cookie)) |
96 |
|
|
97 |
#define html_help_dispatch(param, file, helparr) do { \ |
#define html_help_dispatch(param, file, helparr) do { \ |
98 |
HELPINFO *inf; \ |
HELPINFO *inf; \ |
103 |
} while (0) |
} while (0) |
104 |
#else |
#else |
105 |
#define html_help_init(cookie) do {} while (0) |
#define html_help_init(cookie) do {} while (0) |
106 |
#define html_help_deinit() do {} while (0) |
#define html_help_deinit(cookie) do { (cookie) = 0; } while (0) |
107 |
#define html_help_dispatch(param, file, helparr) do {} while (0) |
#define html_help_dispatch(param, file, helparr) do {} while (0) |
108 |
#endif |
#endif |
109 |
|
|