[PATCH] GWL_ID is not a HANDLE or pointer, and should be available on _WIN64

Puetz Kevin A PuetzKevinA at JohnDeere.com
Wed Jul 15 08:02:40 CDT 2020


Signed-off-by: Kevin Puetz <PuetzKevinA at JohnDeere.com>
---
 include/winuser.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/winuser.h b/include/winuser.h
index 311b1481be..53661f6c78 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -1217,9 +1217,9 @@ typedef struct tagSTYLESTRUCT {
   /* Offsets for GetWindowLong() and GetWindowWord() */
 #define GWL_EXSTYLE         (-20)
 #define GWL_STYLE           (-16)
+#define GWL_ID              (-12)
 #if !defined _WIN64 && !defined __WINESRC__
 # define GWL_USERDATA        (-21)
-# define GWL_ID              (-12)
 # define GWL_HWNDPARENT      (-8)
 # define GWL_HINSTANCE       (-6)
 # define GWL_WNDPROC         (-4)



More information about the wine-devel mailing list