[PATCH] user32: Fix RealGetWindowClass() to return what it's supposed to for same process windows (try3)

Alexandre Julliard julliard at winehq.org
Wed Feb 19 14:47:58 CST 2014


Nikolay Sivov <nsivov at codeweavers.com> writes:

> @@ -1098,22 +1098,81 @@ INT WINAPI GetClassNameW( HWND hwnd, LPWSTR buffer, INT count )
>      return ret;
>  }
>  
> +static const struct builtin_class_descr *builtin_classes[] =
> +{
> +    &BUTTON_builtin_class,
> +    &COMBO_builtin_class,
> +    &DIALOG_builtin_class,
> +    &EDIT_builtin_class,
> +    &LISTBOX_builtin_class,
> +    &MDICLIENT_builtin_class,
> +    &SCROLL_builtin_class,
> +    &STATIC_builtin_class
> +};

There's no need to add this either, you can simply store the pointer.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list