IConsole2::SetToolbar method
The IConsole2::SetToolbar method sets the toolbar interface to be used for this instance of IComponent. Be aware that this is used only by instances of IComponent.
HRESULT SetToolbar(
[in] LPTOOLBAR pToolbar
);
- pToolbar [in]
A pointer to the IToolbar interface.
This method can return one of these values.
S_OK
The toolbar was successfully set.E_UNEXPECTED
An unexpected error occurred.
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
Mmc.h |
DLL |
Mmcndmgr.dll |