IToolbar::AddButtons method (mmc.h)

The IToolbar::AddButtons method enables a snap-in to add an array of buttons to the toolbar.

Syntax

HRESULT AddButtons(
  [in] int         nButtons,
  [in] LPMMCBUTTON lpButtons
);

Parameters

[in] nButtons

The number of buttons in the array.

[in] lpButtons

A pointer to the MMCBUTTON structure that contains information necessary for creating a button on the toolbar.

Return value

This method can return one of these values.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h
DLL Mmcndmgr.dll

See also

IToolbar