Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Syntax


HRESULT SetToolbar(
  [in] LPTOOLBAR pToolbar
);

Parameters

pToolbar [in]

A pointer to the IToolbar interface.

Return value

This method can return one of these values.

S_OK

The toolbar was successfully set.

E_UNEXPECTED

An unexpected error occurred.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

DLL

Mmcndmgr.dll

See also

IConsole3
IConsole2
IToolbar

 

 

Show: