IBandSite::GetBandObject method (shobjidl_core.h)
Gets a specified band object from a band site.
Syntax
HRESULT GetBandObject(
[in] DWORD dwBandID,
[in] REFIID riid,
[out] void **ppv
);
Parameters
[in] dwBandID
Type: DWORD
The ID of the band object to get.
[in] riid
Type: REFIID
The IID of the object to obtain.
[out] ppv
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
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) |