IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 C++ Edition - Version 20.0 [Build 8265]