98 |
#ifdef _MSC_VER |
#ifdef _MSC_VER |
99 |
#include <htmlhelp.h> |
#include <htmlhelp.h> |
100 |
|
|
101 |
|
/* Support for the new html context sentensive help. For |
102 |
|
now it can be only used with native W32 compilers. */ |
103 |
#define html_help_init(cookie) \ |
#define html_help_init(cookie) \ |
104 |
HtmlHelp (NULL, NULL, HH_INITIALIZE, (DWORD)(cookie)) |
HtmlHelp (NULL, NULL, HH_INITIALIZE, (DWORD)(cookie)) |
105 |
|
|
114 |
HH_TP_HELP_CONTEXTMENU, (DWORD)helparr); \ |
HH_TP_HELP_CONTEXTMENU, (DWORD)helparr); \ |
115 |
} while (0) |
} while (0) |
116 |
#else |
#else |
117 |
#define html_help_init(cookie) 0 |
#define html_help_init(cookie) do { } while (0) |
118 |
#define html_help_deinit() 0 |
#define html_help_deinit() do { } while (0) |
119 |
#define html_help_dispatch(param, file, helparr) 0 |
#define html_help_dispatch(param, file, helparr) do { } while (0) |
120 |
#endif |
#endif |
121 |
|
|
122 |
#endif /* WPT_W32_API_H */ |
#endif /* WPT_W32_API_H */ |