X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/8ee3ff16bb05090f9812a924d7d2a085bd22d3b2..c606c42da46efa232c1f29791877f07d98da262e:/winstuff.h diff --git a/winstuff.h b/winstuff.h index 4bc90db2..61b34795 100644 --- a/winstuff.h +++ b/winstuff.h @@ -23,18 +23,15 @@ struct FontSpec { int charset; }; -struct dlgboxinfo { - int result; - int flags; -}; - +#define BOXFLAGS DLGWINDOWEXTRA +#define BOXRESULT DLGWINDOWEXTRA + 4 #define DF_END 0x0001 /* * Global variables. Most modules declare these `extern', but * window.c will do `#define PUTTY_DO_GLOBALS' before including this * module, and so will get them properly defined. - */ +*/ #ifndef GLOBAL #ifdef PUTTY_DO_GLOBALS #define GLOBAL @@ -71,11 +68,6 @@ typedef HDC Context; GLOBAL HWND logbox; /* - * Global structure to hold return values from the config box. - */ -GLOBAL struct dlgboxinfo boxinfo; - -/* * The all-important instance handle. */ GLOBAL HINSTANCE hinst; @@ -330,6 +322,9 @@ int SaneDialogBox(HINSTANCE hinst, void SaneEndDialog(HWND hwnd, int ret); +extern OSVERSIONINFO osVersion; +BOOL init_winver(void); + /* * Exports from sizetip.c. */