Geoff Chappell - Software Analyst
IID_ICommandBarState | {DDEFF51C-B112-44D0-A5EB-676073FFCE9E} |
The ICommandBarState methods are (as ordered in the virtual function table after the IUnknown methods):
Offset | Method |
---|---|
0x0C | SetCommandTarget |
0x10 | AddButtons |
0x14 | AddString |
0x18 | SetState |
0x1C | SetImageListSmall |
0x20 | SetImageListLarge |
0x24 | GetSnapshot |
with prototypes:
HRESULT SetCommandTarget (IUnknown *, GUID const *, ULONG);
HRESULT AddButtons (GUID const *, UINT, TBBUTTON const *);
HRESULT AddString (GUID const *, UINT, UINT, LONG *);
HRESULT SetState (GUID const *, UINT, UINT);
HRESULT SetImageListSmall (GUID const *, HIMAGELIST, HIMAGELIST, HIMAGELIST);
HRESULT SetImageListLarge (GUID const *, HIMAGELIST, HIMAGELIST, HIMAGELIST);
HREUSLT GetSnapshot (ICommandBarStateSnapshot **);
in which ICommandBarStateSnapshot is an undocumented interface.
The ICommandBarState interface is implemented in IEFRAME version 7.0 only.
This interface is not documented by Microsoft as late as the January 2007 edition of the Software Development Kit (SDK) for Windows Vista.