Commit 1300cbcb authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

wow64win: Support GCLP_MENUNAME in NtUserSetClassLongPtr thunk.

parent ab6df634
......@@ -3297,6 +3297,16 @@ NTSTATUS WINAPI wow64_NtUserSetClassLongPtr( UINT *args )
LONG_PTR newval = get_ulong( &args );
BOOL ansi = get_ulong( &args );
if (offset == GCLP_MENUNAME)
{
struct client_menu_name menu_name;
struct client_menu_name32 *menu_name32 = UlongToPtr( newval );
NtUserSetClassLong( hwnd, offset,
(UINT_PTR)client_menu_name_32to64( &menu_name, menu_name32 ), ansi );
client_menu_name_64to32( &menu_name, menu_name32 );
return 0;
}
return NtUserSetClassLongPtr( hwnd, offset, newval, ansi );
}
......
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