Commit f1d1d88c authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

win32u: Return client menu name from NtUserUnregisterClass.

Spotted by Esme Povirk. Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 67b43b58
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment