BlockList Event
Fires once for each block returned when listing blocks.
Syntax
ANSI (Cross Platform) virtual int FireBlockList(AzureBlobBlockListEventParams *e);
typedef struct {
const char *Id;
int BlockType;
int Size; int reserved; } AzureBlobBlockListEventParams; Unicode (Windows) virtual INT FireBlockList(AzureBlobBlockListEventParams *e);
typedef struct {
LPCWSTR Id;
INT BlockType;
INT Size; INT reserved; } AzureBlobBlockListEventParams;
- (void)onBlockList:(NSString*)id :(int)blockType :(int)size;
#define EID_AZUREBLOB_BLOCKLIST 2 virtual INT IPWORKSCLOUD_CALL FireBlockList(LPSTR &lpszId, INT &iBlockType, INT &iSize);
Remarks
This event fires once for each block returned when ListBlocks is called.
Id is the Id of the block.
BlockType reflects the block's type; possible values are:
- abktCommitted (0)
- abktUncommitted (1)
Size reflects the size of the block, in bytes.