IJolietDiscMaster::GetUsedDataBlocks method (imapi.h)

Retrieves the total number of data blocks that are in use. The data returned from this method is valid only after a SetActiveDiscRecorder call, especially in a multi-session burn.

Syntax

HRESULT GetUsedDataBlocks(
  [out] long *pnBlocks
);

Parameters

[out] pnBlocks

Total number of data blocks in use in the staged image.

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:

Requirements

Requirement Value
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

IJolietDiscMaster