IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

ResourceList Event

Fires once for each resource returned when listing resources.

Syntax

ANSI (Cross Platform)
virtual int FireResourceList(AzureFileResourceListEventParams *e);
typedef struct {
const char *Name;
const char *Path;
const char *Share;
int ResourceType;
const char *ModifiedTime;
int64 Size;
const char *ETag; int reserved; } AzureFileResourceListEventParams; Unicode (Windows) virtual INT FireResourceList(AzureFileResourceListEventParams *e);
typedef struct {
LPCWSTR Name;
LPCWSTR Path;
LPCWSTR Share;
INT ResourceType;
LPCWSTR ModifiedTime;
LONG64 Size;
LPCWSTR ETag; INT reserved; } AzureFileResourceListEventParams;
- (void)onResourceList:(NSString*)name :(NSString*)path :(NSString*)share :(int)resourceType :(NSString*)modifiedTime :(long long)size :(NSString*)ETag;
#define EID_AZUREFILE_RESOURCELIST 7

virtual INT IPWORKSCLOUD_CALL FireResourceList(LPSTR &lpszName, LPSTR &lpszPath, LPSTR &lpszShare, INT &iResourceType, LPSTR &lpszModifiedTime, LONG64 &lSize, LPSTR &lpszETag);

Remarks

This event fires once for each resource returned when ListResources, GetFileInfo, or GetFolderInfo is called.

Name is the name of the resource.

Path is the full path of the resource (not including the share).

Share is the name of the share the resource resides in.

ResourceType reflects the resource's type. Possible values are:

0 (afrtFile) A file.
1 (afrtFolder) A folder.

ModifiedTime is the last modified time of the resource, formatted according to RFC 1123. (Note: this parameter is not populated by calls to ListResources.)

Size is the size of the file. Always 0 for folders.

ETag is the ETag of the resource. (Note: this parameter is not populated by calls to ListResources.)

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