win32u: Return client menu name from NtUserUnregisterClass.
Spotted by Esme Povirk. Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
67b43b58bd
commit
f1d1d88c9e
|
@ -481,6 +481,7 @@ BOOL WINAPI NtUserUnregisterClass( UNICODE_STRING *name, HINSTANCE instance,
|
|||
list_remove( &class->entry );
|
||||
if (class->hbrBackground > (HBRUSH)(COLOR_GRADIENTINACTIVECAPTION + 1))
|
||||
NtGdiDeleteObjectApp( class->hbrBackground );
|
||||
*client_menu_name = class->menu_name;
|
||||
NtUserDestroyCursor( class->hIconSmIntern, 0 );
|
||||
free( class );
|
||||
user_unlock();
|
||||
|
|
Loading…
Reference in New Issue