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

Nikolay Sivov bunglehead at gmail.com
Sun Sep 17 04:48:10 CDT 2017


On 17.09.2017 11:48, Stefan Dösinger wrote:
> 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;
> 

Another difference, not near as important, is that SDK and mingw are
using COLORREFs for color fields.



More information about the wine-devel mailing list