Gets state information for a band object.
HRESULT GetBandInfo( DWORD dwBandID, DWORD dwViewMode, DESKBANDINFO *pdbi );
The identifier of the band, assigned by the container. The band object can retain this value if it is required.
The view mode of the band object. One of the following values:
The band object is being displayed in a horizontal band.
The band object is being displayed in a vertical band.
The band object is being displayed in a floating band.
The band object is being displayed in a transparent band.
Pointer to a DESKBANDINFO structure that receives the band information for the object. The dwMask member of this structure indicates the specific information that is being requested.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
|Minimum supported client||Windows 2000 Professional, Windows XP [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||shobjidl_core.h (include Shlobj.h)|
|DLL||Shell32.dll (version 4.71 or later)|