/[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 80 by twoaday, Wed Nov 16 11:05:16 2005 UTC revision 121 by twoaday, Mon Dec 12 11:19:56 2005 UTC
# Line 21  Line 21 
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 {
# Line 53  void release_file_lock (LOCK *ctx); Line 53  void release_file_lock (LOCK *ctx);
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 );
# Line 98  const char * strtimestamp (long timestam Line 100  const char * strtimestamp (long timestam
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    
# Line 112  const char * strtimestamp (long timestam Line 116  const char * strtimestamp (long timestam
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 */

Legend:
Removed from v.80  
changed lines
  Added in v.121

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26