IBandSite::AddBand method (shobjidl_core.h)

Adds a band to a band site object.

Syntax

HRESULT AddBand(
  [in] IUnknown *punk
);

Parameters

[in] punk

Type: IUnknown*

The interface of a band site object.

Return value

Type: HRESULT

Returns the band ID in ShortFromResult(hresult).

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shldisp.h)
DLL Shell32.dll (version 4.71 or later)

See also

IBandSite

IDeskBand