user32: Implement support for getting class data GCLP_HBRBACKGROUND on other process window

Alexandre Julliard julliard at winehq.org
Mon Sep 20 08:04:24 CDT 2010


Aleksey Bragin <aleksey at reactos.org> writes:

> diff --git a/server/class.c b/server/class.c
> index 0e402ba..90ab436 100644
> --- a/server/class.c
> +++ b/server/class.c
> @@ -47,6 +47,7 @@ struct window_class
>      int             local;           /* local class? */
>      atom_t          atom;            /* class atom */
>      mod_handle_t    instance;        /* module instance */
> +    user_handle_t   background;      /* background brush handle */
>      unsigned int    style;           /* class style */
>      int             win_extra;       /* number of window extra bytes */
>      client_ptr_t    client_ptr;      /* pointer to class in client address space */

Brushes are not user handles, and it doesn't make much sense to share
them since the handles are process-local currently.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list