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

wow64win: Fix returning strings in NtUserGetIconInfo thunk.

parent c2accdb1
......@@ -1981,8 +1981,16 @@ NTSTATUS WINAPI wow64_NtUserGetIconInfo( UINT *args )
info32->yHotspot = info.yHotspot;
info32->hbmMask = HandleToUlong( info.hbmMask );
info32->hbmColor = HandleToUlong( info.hbmColor );
if (module32) module32->Length = module.Length;
if (res_name32) res_name32->Length = res_name.Length;
if (module32)
{
module32->Buffer = PtrToUlong( module.Buffer );
module32->Length = module.Length;
}
if (res_name32)
{
res_name32->Buffer = PtrToUlong( res_name.Buffer );
res_name32->Length = res_name.Length;
}
return TRUE;
}
......
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