Gets the information for a band object.
HRESULT retVal = object.GetBandInfo(dwBandID, dwViewMode, pdbi);
The identifier of the band. The container assigns this identifier. The band object can keep this value if it is required.
The view mode of the band object. This is one of the following values.
A pointer to a DESKBANDINFO structure that receives the band information for the object. The dwMask member of this structure indicates what information is requested.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.