comctl32: include: Win64 fix in TBBUTTON

Mikołaj Zalewski mikolaj at zalewski.pl
Mon Sep 18 05:05:24 CDT 2006


-------------- next part --------------
diff --git a/include/commctrl.h b/include/commctrl.h
index 87712ae..5bee93f 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -1293,7 +1293,11 @@ typedef struct _TBBUTTON {
     INT idCommand;
     BYTE  fsState;
     BYTE  fsStyle;
+#ifdef _WIN64
+    BYTE  bReserved[6];
+#else
     BYTE  bReserved[2];
+#endif
     DWORD_PTR dwData;
     INT_PTR iString;
 } TBBUTTON, *PTBBUTTON, *LPTBBUTTON;
-- 
1.4.1


More information about the wine-patches mailing list