IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

DriveList Event

Fires once for each drive returned when listing drives.

Syntax

ANSI (Cross Platform)
virtual int FireDriveList(OneDriveDriveListEventParams *e);
typedef struct {
const char *Id;
const char *Name;
const char *Description;
int DriveType;
const char *OwnerId;
const char *OwnerName; int reserved; } OneDriveDriveListEventParams; Unicode (Windows) virtual INT FireDriveList(OneDriveDriveListEventParams *e);
typedef struct {
LPCWSTR Id;
LPCWSTR Name;
LPCWSTR Description;
INT DriveType;
LPCWSTR OwnerId;
LPCWSTR OwnerName; INT reserved; } OneDriveDriveListEventParams;
- (void)onDriveList:(NSString*)id :(NSString*)name :(NSString*)description :(int)driveType :(NSString*)ownerId :(NSString*)ownerName;
#define EID_ONEDRIVE_DRIVELIST 1

virtual INT IPWORKSCLOUD_CALL FireDriveList(LPSTR &lpszId, LPSTR &lpszName, LPSTR &lpszDescription, INT &iDriveType, LPSTR &lpszOwnerId, LPSTR &lpszOwnerName);

Remarks

This event fires once for each drives returned when ListDrives or GetDriveInfo is called.

Id is the Id of the drive.

Name is the name of the drive.

Description holds the description of the drive.

DriveType reflects the drive's type. Possible values are:

0 (oddtPersonal) A OneDrive Personal drive.
1 (oddtBusiness) A OneDrive for Business drive.
2 (oddtDocumentLibrary) A SharePoint Online document library.

OwnerId is the Id of the drive's owner.

OwnerName is the name of the drive's owner.

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