/[winpt]/trunk/Include/wptW32API.h
ViewVC logotype

Diff of /trunk/Include/wptW32API.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 151 by twoaday, Wed Jan 18 11:53:10 2006 UTC revision 182 by twoaday, Tue Mar 14 11:02:32 2006 UTC
# Line 35  int mapi_send_pubkey (const char *keyid, Line 35  int mapi_send_pubkey (const char *keyid,
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);
# Line 71  const char * get_folder_dlg( HWND hwnd, Line 76  const char * get_folder_dlg( HWND hwnd,
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) )
# Line 88  const char* get_locale_date (long tm_t, Line 93  const char* get_locale_date (long tm_t,
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; \
# Line 105  const char* get_locale_date (long tm_t, Line 108  const char* get_locale_date (long tm_t,
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    

Legend:
Removed from v.151  
changed lines
  Added in v.182

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26