35 |
int mapi_send_ascfile (char *ascfile); |
int mapi_send_ascfile (char *ascfile); |
36 |
void mapi_deinit (void); |
void mapi_deinit (void); |
37 |
|
|
38 |
|
/*-- wptSafeEditCtrl.cpp --*/ |
39 |
|
UINT SafeGetDlgItemText (HWND dlg, int id, char *buf, int buflen); |
40 |
|
void safe_edit_control_init (HWND dlg, int ctlid); |
41 |
|
void safe_edit_control_free (HWND dlg, int ctlid); |
42 |
|
|
43 |
/*-- wptW32API.cpp --*/ |
/*-- wptW32API.cpp --*/ |
44 |
char* make_filename (const char *path, const char *file, const char *ext); |
char* make_filename (const char *path, const char *file, const char *ext); |
45 |
char* make_special_filename (int folder, const char *file, const char *ext); |
char* make_special_filename (int folder, const char *file, const char *ext); |
76 |
char * m_strdup (const char *str); |
char * m_strdup (const char *str); |
77 |
const char * strtimestamp (long timestamp); |
const char * strtimestamp (long timestamp); |
78 |
const char* get_locale_date (long tm_t, char *buf, DWORD buflen); |
const char* get_locale_date (long tm_t, char *buf, DWORD buflen); |
79 |
|
int get_temp_name (char *buf, DWORD buflen, const char *name); |
80 |
|
|
81 |
#define listbox_add_string(lb, string) \ |
#define listbox_add_string(lb, string) \ |
82 |
SendMessage( (lb), LB_ADDSTRING, 0, (LPARAM)(LPCSTR)(string) ) |
SendMessage( (lb), LB_ADDSTRING, 0, (LPARAM)(LPCSTR)(string) ) |
93 |
#ifdef _MSC_VER |
#ifdef _MSC_VER |
94 |
#include <htmlhelp.h> |
#include <htmlhelp.h> |
95 |
|
|
|
/* Support for the new html context sentensive help. For |
|
|
now it can be only used with native W32 compilers. */ |
|
96 |
#define html_help_init(cookie) \ |
#define html_help_init(cookie) \ |
97 |
HtmlHelp (NULL, NULL, HH_INITIALIZE, (DWORD)(cookie)) |
HtmlHelp (NULL, NULL, HH_INITIALIZE, (DWORD)(cookie)) |
98 |
|
|
99 |
#define html_help_deinit() \ |
#define html_help_deinit(cookie) \ |
100 |
HtmlHelp (NULL, NULL, HH_UNINITIALIZE, 0) |
HtmlHelp (NULL, NULL, HH_UNINITIALIZE, (DWORD)(cookie)) |
101 |
|
|
102 |
#define html_help_dispatch(param, file, helparr) do { \ |
#define html_help_dispatch(param, file, helparr) do { \ |
103 |
HELPINFO *inf; \ |
HELPINFO *inf; \ |
108 |
} while (0) |
} while (0) |
109 |
#else |
#else |
110 |
#define html_help_init(cookie) do {} while (0) |
#define html_help_init(cookie) do {} while (0) |
111 |
#define html_help_deinit() do {} while (0) |
#define html_help_deinit(cookie) do { (cookie) = 0; } while (0) |
112 |
#define html_help_dispatch(param, file, helparr) do {} while (0) |
#define html_help_dispatch(param, file, helparr) do {} while (0) |
113 |
#endif |
#endif |
114 |
|
|