21 |
#ifndef WPT_W32_API_H |
#ifndef WPT_W32_API_H |
22 |
#define WPT_W32_API_H |
#define WPT_W32_API_H |
23 |
|
|
24 |
/*#include "wptCrypto.h"*/ |
#include "wptCrypto.h" |
25 |
#include "wptUtil.h" |
#include "wptUtil.h" |
26 |
|
|
27 |
struct reminder_ctx_s { |
struct reminder_ctx_s { |
53 |
int file_exist_check (const char *fname); |
int file_exist_check (const char *fname); |
54 |
int dir_exist_check (const char *dir); |
int dir_exist_check (const char *dir); |
55 |
DWORD get_file_size (const char *fname); |
DWORD get_file_size (const char *fname); |
56 |
|
int get_file_version (const char *fname, WORD *major, WORD *minor, |
57 |
|
WORD *patch1, WORD *patch2); |
58 |
|
|
59 |
int get_window_contents( HWND old_hwnd, curr_wnd_ctx *ctx, int *r_hotkey ); |
int get_window_contents( HWND old_hwnd, curr_wnd_ctx *ctx, int *r_hotkey ); |
60 |
int set_window_contents( HWND old_hwnd, curr_wnd_ctx *ctx ); |
int set_window_contents( HWND old_hwnd, curr_wnd_ctx *ctx ); |
100 |
#ifdef _MSC_VER |
#ifdef _MSC_VER |
101 |
#include <htmlhelp.h> |
#include <htmlhelp.h> |
102 |
|
|
103 |
|
/* Support for the new html context sentensive help. For |
104 |
|
now it can be only used with native W32 compilers. */ |
105 |
#define html_help_init(cookie) \ |
#define html_help_init(cookie) \ |
106 |
HtmlHelp (NULL, NULL, HH_INITIALIZE, (DWORD)(cookie)) |
HtmlHelp (NULL, NULL, HH_INITIALIZE, (DWORD)(cookie)) |
107 |
|
|
116 |
HH_TP_HELP_CONTEXTMENU, (DWORD)helparr); \ |
HH_TP_HELP_CONTEXTMENU, (DWORD)helparr); \ |
117 |
} while (0) |
} while (0) |
118 |
#else |
#else |
119 |
#define html_help_init(cookie) 0 |
#define html_help_init(cookie) do { } while (0) |
120 |
#define html_help_deinit() 0 |
#define html_help_deinit() do { } while (0) |
121 |
#define html_help_dispatch(param, file, helparr) 0 |
#define html_help_dispatch(param, file, helparr) do { } while (0) |
122 |
#endif |
#endif |
123 |
|
|
124 |
#endif /* WPT_W32_API_H */ |
#endif /* WPT_W32_API_H */ |