SECBandImpl::GetBandInfo

HRESULTSECBandImpl::GetBandInfo(DWORDdwBandID, DWORDdwViewMode, DESKBANDINFO*pdbi)

See IDeskBand::GetBandInfo in Win32 SDK for details. The default implementation calls GetBandSize method to get the proper request size of the band and calls GetBandTitle method to get a title string and calls GetBandModeFlag method to get the band mode flag and then place all this information in the given pointer to DESKBANDINFO structure pdbi according to the dwMask information in the pdbi argument.

Defined in: SECBand.h

Return Value

HRESULT Return S_OK if pdbi is not NULL, otherwise return E_INVALIDARG.

Parameters

dwBandID

Band ID assigned by the site of the band. It is not saved in this method. If you need to use it, you should override this method.

dwViewMode

The view mode of the band. It is not saved in this method. If you need to use it, you should override this method.

pdbi

Structure to obtain requested information of the band.