[PATCH] includes: CHOOSECOLOR.lCustData is an LPARAM.

Stefan Dösinger stefan at codeweavers.com
Sun Sep 17 03:48:14 CDT 2017


This matches the PSDK and MinGW headers.

Signed-off-by: Stefan Dösinger <stefan at codeweavers.com>
---
 include/commdlg.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/commdlg.h b/include/commdlg.h
index df56c143c0..eeefce2bfe 100644
--- a/include/commdlg.h
+++ b/include/commdlg.h
@@ -183,7 +183,7 @@ typedef struct {
 	DWORD	        rgbResult;
 	LPDWORD         lpCustColors;
 	DWORD 		Flags;
-	DWORD		lCustData;
+	LPARAM		lCustData;
         LPCCHOOKPROC    lpfnHook;
 	LPCSTR 		lpTemplateName;
 } CHOOSECOLORA;
@@ -196,7 +196,7 @@ typedef struct {
 	DWORD	        rgbResult;
 	LPDWORD         lpCustColors;
 	DWORD 		Flags;
-	DWORD		lCustData;
+	LPARAM		lCustData;
         LPCCHOOKPROC    lpfnHook;
 	LPCWSTR 	lpTemplateName;
 } CHOOSECOLORW;
-- 
2.11.0 (Apple Git-81)




More information about the wine-patches mailing list