user32: LB_SETITEMDATA should return 1 on success, not 0

Alexandre Julliard julliard at winehq.org
Tue Aug 14 06:39:28 CDT 2007


Peter Verthez <peter.verthez at advalvas.be> writes:

> diff --git a/include/winuser.h b/include/winuser.h
> index 4297a8d..97363e0 100644
> --- a/include/winuser.h
> +++ b/include/winuser.h
> @@ -2428,6 +2428,7 @@ typedef struct tagSCROLLBARINFO
>  
>  /* Listbox message return values */
>  #define LB_OKAY             0
> +#define LB_SETITEMDATA_OKAY 1    /* undoc. OK return for LB_SETITEMDATA */

Please don't invent constants that don't exist on Windows. In this
case TRUE would work just as well.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list