From cd67446d8f43efb84ea8a32aa829047f84514168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Sun, 17 Sep 2017 10:48:14 +0200 Subject: [PATCH] include: CHOOSECOLOR.lCustData is an LPARAM. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Dösinger Signed-off-by: Alexandre Julliard --- include/commdlg.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/commdlg.h b/include/commdlg.h index df56c143c08..c059b19ec86 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;