X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=windows%2Fwinstuff.h;h=f70b007ee17fabc33136dbd29e6f6a1fdbf792c5;hb=49d2cf19accb059b3b68d1fc2b78e606a578c3e8;hp=1ecf6dcb7405e26126a1f9b9e392405bffcc16e5;hpb=f481acb4792d56818509d8b756d3ae4c96c060d4;p=PuTTY.git diff --git a/windows/winstuff.h b/windows/winstuff.h index 1ecf6dcb..f70b007e 100644 --- a/windows/winstuff.h +++ b/windows/winstuff.h @@ -28,7 +28,7 @@ struct FontSpec { }; #define BOXFLAGS DLGWINDOWEXTRA -#define BOXRESULT DLGWINDOWEXTRA + 4 +#define BOXRESULT (DLGWINDOWEXTRA + sizeof(LONG_PTR)) #define DF_END 0x0001 /* @@ -95,13 +95,7 @@ GLOBAL int requested_help; GLOBAL Terminal *term; GLOBAL void *logctx; -/* - * I've just looked in the windows standard headr files for WM_USER, there - * are hundreds of flags defined using the form WM_USER+123 so I've - * renumbered this NETEVENT value and the two in window.c - */ -#define WM_XUSER (WM_USER + 0x2000) -#define WM_NETEVENT (WM_XUSER + 5) +#define WM_NETEVENT (WM_APP + 5) /* * On Windows, we send MA_2CLK as the only event marking the second