=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: include: CHOOSECOLOR.lCustData is an LPARAM.
Alexandre Julliard
julliard at winehq.org
Mon Sep 18 14:43:48 CDT 2017
Module: wine
Branch: master
Commit: cd67446d8f43efb84ea8a32aa829047f84514168
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cd67446d8f43efb84ea8a32aa829047f84514168
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Sun Sep 17 10:48:14 2017 +0200
include: CHOOSECOLOR.lCustData is an LPARAM.
Signed-off-by: Stefan Dösinger <stefan at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/commdlg.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/commdlg.h b/include/commdlg.h
index df56c14..c059b19 100644
--- a/include/commdlg.h
+++ b/include/commdlg.h
@@ -180,10 +180,10 @@ typedef struct {
DWORD lStructSize;
HWND hwndOwner;
HWND hInstance; /* Should be an HINSTANCE but MS made a typo */
- DWORD rgbResult;
- LPDWORD lpCustColors;
+ COLORREF rgbResult;
+ COLORREF *lpCustColors;
DWORD Flags;
- DWORD lCustData;
+ LPARAM lCustData;
LPCCHOOKPROC lpfnHook;
LPCSTR lpTemplateName;
} CHOOSECOLORA;
@@ -193,10 +193,10 @@ typedef struct {
DWORD lStructSize;
HWND hwndOwner;
HWND hInstance; /* Should be an HINSTANCE but MS made a typo */
- DWORD rgbResult;
- LPDWORD lpCustColors;
+ COLORREF rgbResult;
+ COLORREF *lpCustColors;
DWORD Flags;
- DWORD lCustData;
+ LPARAM lCustData;
LPCCHOOKPROC lpfnHook;
LPCWSTR lpTemplateName;
} CHOOSECOLORW;
More information about the wine-cvs
mailing list