IRedbookDiscMaster::GetTotalAudioBlocks method (imapi.h)

Retrieves the total number of blocks available for staging audio tracks. The total includes all block types, including blocks that may need to be allocated for track gaps.


HRESULT GetTotalAudioBlocks(
  [out] long *pnBlocks


[out] pnBlocks

Total number of audio blocks available on a disc.

Return value

S_OK is returned on success, but other success codes may be returned as a result of implementation. The following error codes are commonly returned on operation failure, but do not represent the only possible error values:


Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header imapi.h
Library Uuid.lib
DLL Actxprxy.dll

See also