IControlbar::Attach method (mmc.h)
The IControlbar::Attach method allows the snap-in to associate a control with a control bar.
Syntax
HRESULT Attach(
[in] MMC_CONTROL_TYPE nType,
[in] LPUNKNOWN lpUnknown
);
Parameters
[in] nType
A value that specifies the type of control to be associated with the control bar, taken from the MMC_CONTROL_TYPE enumeration.
[in] lpUnknown
A pointer to the IUnknown interface on the control object to be inserted.
Return value
This method can return one of these values.
Remarks
Although COMBOBOXBAR appears in Mmc.idl in connection with the nType parameter, it is not implemented.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for