/[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 25 by twoaday, Wed Oct 12 10:04:26 2005 UTC revision 33 by twoaday, Tue Oct 25 07:46:20 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  enum {  #include "wptCrypto.h"
25      FILE_OPEN = 0,  #include "wptUtil.h"
     FILE_SAVE = 1  
 };  
   
 enum {  
     WIPE_MODE_SIMPLE    = 0,  
     WIPE_MODE_DOD       = 1,  
     WIPE_MODE_GUTMANN   = 2,  
     WIPE_MODE_FAST      = 3,  
 };  
   
 #ifdef __cplusplus  
 extern "C" {  
 #endif  
   
 int gpg_md_hash_file (int mdalgo, const char *file, byte *digest, size_t *nlen);  
 int gpg_md_selftest (void);  
   
 #ifdef __cplusplus  
 }  
 #endif  
26    
27    #define FILE_OPEN 0
28    #define FILE_SAVE 1
29    
30  struct reminder_ctx_s {  struct reminder_ctx_s {
31      int msecs;      int msecs;
# Line 84  HANDLE window_reminder (struct reminder_ Line 66  HANDLE window_reminder (struct reminder_
66  void set_active_window (HWND dlg);  void set_active_window (HWND dlg);
67  void reset_active_window (void);  void reset_active_window (void);
68    
69  void set_menu_text( HMENU menu, int m_uid, const char *text );  void set_menu_text (HMENU menu, int m_uid, const char *text);
70  void set_menu_state( HMENU menu, int m_uid, int state );  void set_menu_text_bypos (HMENU menu, int pos, const char *text);
71  char* get_clip_text( HWND hwnd );  void set_menu_state (HMENU menu, int m_uid, int state);
72    
73    char* get_clip_text (HWND hwnd);
74  int set_clip_text (HWND hwnd, const char *text, int nbytes);  int set_clip_text (HWND hwnd, const char *text, int nbytes);
75  int set_clip_text2 (HWND hwnd, const char *text, int nbytes, int as_footer);  int set_clip_text2 (HWND hwnd, const char *text, int nbytes, int as_footer);
76  int dialog_box_param( HINSTANCE hinst, LPCTSTR name, HWND parent, DLGPROC fnc,  int dialog_box_param( HINSTANCE hinst, LPCTSTR name, HWND parent, DLGPROC fnc,
# Line 103  const char * get_folder_dlg( HWND hwnd, Line 87  const char * get_folder_dlg( HWND hwnd,
87  char * m_strdup( const char *str );  char * m_strdup( const char *str );
88  const char * strtimestamp (long timestamp);  const char * strtimestamp (long timestamp);
89    
 int rename_unlink (const char *path);  
 int secure_unlink (const char *path, const int mode);  
 void secure_unlink_set_cb (void (*cb)(void *, const char *, int, int, int),  
                            void *cb_value);  
 int wipe_freespace (const char * drive, HANDLE *r_fd,  
                     void (*cb)(void *, unsigned __int64, unsigned __int64),  
                     void * cb_value);  
90    
91  #define listbox_add_string(lb, string) \  #define listbox_add_string(lb, string) \
92      SendMessage( (lb), LB_ADDSTRING, 0, (LPARAM)(LPCSTR)(string) )      SendMessage( (lb), LB_ADDSTRING, 0, (LPARAM)(LPCSTR)(string) )

Legend:
Removed from v.25  
changed lines
  Added in v.33

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26