IShellMenu::SetMenuToolbar method
Adds a menu to the menuband.
Syntax
HRESULT SetMenuToolbar( [in] IUnknown *punk, [in] DWORD dwFlags );
Parameters
- punk [in]
-
Type: IUnknown*
A pointer to an object that supports CLSID_MenuToolbarBase in its QueryInterface method.
- dwFlags [in]
-
Type: DWORD
Flags that control how the menu operates.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows XP with SP2 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|
Show: