X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/a9dc49af0a2d35e897d1e4db25c4465667f5f6e3..d7e526bfcbb8d0dd2781e13b0494908bcc5909ab:/windows/winstuff.h diff --git a/windows/winstuff.h b/windows/winstuff.h index 5b44d6a1..28dd08db 100644 --- a/windows/winstuff.h +++ b/windows/winstuff.h @@ -85,6 +85,7 @@ GLOBAL HINSTANCE hinst; */ GLOBAL char *help_path; GLOBAL int help_has_contents; +GLOBAL int requested_help; /* * The terminal and logging context are notionally local to the @@ -173,6 +174,11 @@ struct ctlpos { /* * Exports from winutils.c. */ +typedef struct filereq_tag filereq; /* cwd for file requester */ +BOOL request_file(filereq *state, OPENFILENAME *of, int preserve, int save); +filereq *filereq_new(void); +void filereq_free(filereq *state); +int message_box(LPCTSTR text, LPCTSTR caption, DWORD style, DWORD helpctxid); void split_into_argv(char *, int *, char ***, char ***); /* @@ -341,14 +347,6 @@ void show_help(HWND hwnd); /* * Exports from winmisc.c. */ - -int SaneDialogBox(HINSTANCE hinst, - LPCTSTR tmpl, - HWND hwndparent, - DLGPROC lpDialogFunc); - -void SaneEndDialog(HWND hwnd, int ret); - extern OSVERSIONINFO osVersion; BOOL init_winver(void);