[USER32] Sync spy.c with Wine Staging 1.7.55. CORE-10536

svn path=/trunk/; revision=70184
This commit is contained in:
Amine Khaldi 2015-11-28 16:29:14 +00:00
parent b4abe066d4
commit e927e91575
2 changed files with 5 additions and 4 deletions

View file

@ -318,7 +318,7 @@ User32 -
reactos/win32ss/user/user32/windows/menu.c # Forked
reactos/win32ss/user/user32/windows/messagebox.c # Forked
reactos/win32ss/user/user32/windows/rect.c # Forked (uitools.c)
reactos/win32ss/user/user32/windows/spy.c # Synced to WineStaging-1.7.37
reactos/win32ss/user/user32/windows/spy.c # Synced to WineStaging-1.7.55
reactos/win32ss/user/user32/windows/text.c # Forked (lstr.c)
reactos/win32ss/user/user32/windows/winpos.c # Forked

View file

@ -1555,8 +1555,9 @@ static const USER_MSG toolbar_array[] = {
USM(TB_MAPACCELERATORW ,0),
USM(TB_GETSTRINGW ,0),
USM(TB_GETSTRINGA ,0),
USM(TB_UNKWN45D ,8),
USM(TB_SETBOUNDINGSIZE ,8),
USM(TB_SETHOTITEM2 ,0),
USM(TB_HASACCELERATOR ,0),
USM(TB_SETLISTGAP ,0),
USM(TB_GETIMAGELISTCOUNT ,0),
USM(TB_GETIDEALSIZE ,8),
@ -2099,7 +2100,7 @@ const char *SPY_GetClassLongOffsetName( INT offset )
{
INT index;
if (offset < 0 && offset % 2 == 0 && ((index = -(offset + 8) / 2) <
sizeof(ClassLongOffsetNames) / sizeof(*ClassLongOffsetNames)))
sizeof(ClassLongOffsetNames) / sizeof(*ClassLongOffsetNames)))
{
return ClassLongOffsetNames[index];
}
@ -2516,10 +2517,10 @@ static void SPY_DumpStructure(const SPY_INSTANCE *sp_e, BOOL enter)
TRACE("NMHDR hwndFrom=%p idFrom=0x%08lx code=0x%08x\n",
pnmh->hwndFrom, pnmh->idFrom, pnmh->code);
}
break;
default:
if (sp_e->data_len > 0)
SPY_DumpMem ("MSG lParam", (UINT *)sp_e->lParam, sp_e->data_len);
break;
}
}