mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
Added FIXME message in PostMessage32x if parameters are truncated
when calling PostMessage16.
This commit is contained in:
parent
4a546903a7
commit
54ae47358c
1 changed files with 12 additions and 4 deletions
|
@ -1113,8 +1113,12 @@ BOOL16 WINAPI PostMessage16( HWND16 hwnd, UINT16 message, WPARAM16 wParam,
|
|||
BOOL32 WINAPI PostMessage32A( HWND32 hwnd, UINT32 message, WPARAM32 wParam,
|
||||
LPARAM lParam )
|
||||
{
|
||||
/* FIXME */
|
||||
return PostMessage16( hwnd, message, wParam, lParam );
|
||||
/* FIXME */
|
||||
if (message&0xffff0000)
|
||||
FIXME(msg,"message is truncated from %d to %d\n", message, message&0xffff);
|
||||
if (wParam&0xffff0000)
|
||||
FIXME(msg,"wParam is truncated from %d to %d\n", wParam, wParam&0xffff);
|
||||
return PostMessage16( hwnd, message, wParam, lParam );
|
||||
}
|
||||
|
||||
|
||||
|
@ -1124,8 +1128,12 @@ BOOL32 WINAPI PostMessage32A( HWND32 hwnd, UINT32 message, WPARAM32 wParam,
|
|||
BOOL32 WINAPI PostMessage32W( HWND32 hwnd, UINT32 message, WPARAM32 wParam,
|
||||
LPARAM lParam )
|
||||
{
|
||||
/* FIXME */
|
||||
return PostMessage16( hwnd, message, wParam, lParam );
|
||||
/* FIXME */
|
||||
if (message&0xffff0000)
|
||||
FIXME(msg,"message is truncated from %d to %d\n", message, message&0xffff);
|
||||
if (wParam&0xffff0000)
|
||||
FIXME(msg,"wParam is truncated from %d to %d\n", wParam, wParam&0xffff);
|
||||
return PostMessage16( hwnd, message, wParam, lParam );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue