IBandSite::GetBandObject method

Gets a specified band object from a band site.

Syntax


HRESULT GetBandObject(
  [in]  DWORD  dwBandID,
  [in]  REFIID riid,
  [out] VOID*  *ppv
);

Parameters

dwBandID [in]

Type: DWORD

The ID of the band object to get.

riid [in]

Type: REFIID

The IID of the object to obtain.

ppv [out]

Type: VOID**

The address of a pointer variable that receives a pointer to the object requested.

Return value

Type: HRESULT

Returns S_OK if successful, or a COM-defined error code otherwise.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shldisp.h

IDL

Shldisp.idl

DLL

Shell32.dll (version 4.71 or later)

See also

IBandSite
IDeskBand

 

 

Show: