IShellBrowser::SetToolbarItems method
[This method has no effect on Windows Vista or later operating systems.]
Adds toolbar items to Windows Explorer's toolbar.
Syntax
HRESULT SetToolbarItems( LPTBBUTTONSB lpButtons, UINT nButtons, UINT uFlags );
Parameters
- lpButtons
-
Type: LPTBBUTTONSB
The address of an array of TBBUTTON structures.
- nButtons
-
Type: UINT
The number of TBBUTTON structures in the lpButtons array.
- uFlags
-
Type: UINT
Flags specifying where the toolbar buttons should go. This parameter can be one or more of the following values.
Return value
Type: HRESULT
Returns S_OK if successful, or a COM-defined error value otherwise.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
Show: