Function libCZI_TryGetSubBlockInfoForIndex#
Defined in File libCZIApi.h
Function Documentation#
-
LibCZIApiErrorCode libCZI_TryGetSubBlockInfoForIndex(CziReaderObjectHandle reader_object, std::int32_t index, SubBlockInfoInterop *sub_block_info_interop)#
Get information about the sub-block with the specified index. The information is put into the ‘sub_block_info_interop’ structure. If the index is not valid, then the function returns ‘LibCZIApi_ErrorCode_IndexOutOfRange’.
- Parameters:
reader_object – The reader object.
index – The index of the attachment to query information for.
sub_block_info_interop – [out] If successful, the retrieved information is put here.
- Returns:
An error-code indicating success or failure of the operation.