Module: wine Branch: master Commit: cd67446d8f43efb84ea8a32aa829047f84514168 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cd67446d8f43efb84ea8a32aa8... Author: Stefan Dösinger <stefan(a)codeweavers.com> Date: Sun Sep 17 10:48:14 2017 +0200 include: CHOOSECOLOR.lCustData is an LPARAM. Signed-off-by: Stefan Dösinger <stefan(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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;