DriveList Event
Fired for each drive when ListDrives is called.
Syntax
typedef void __fastcall (__closure *TicsOneDriveDriveListEvent)(System::TObject* Sender, TicsOneDriveDriveListEventParams *e);__property TicsOneDriveDriveListEvent OnDriveList = {read=FOnDriveList, write=FOnDriveList};
typedef struct {
String Id;
int DriveType;
String OwnerId;
String OwnerName;
} TicsOneDriveDriveListEventParams;
Remarks
This event fires for each drive returned when ListDrives is called.
Id is the unique identifier of the drive.
DriveType indicates whether the drive is personal or business. Possible values are:
- 0 (personal)
- 1 (business)
OwnerId: is the Id of the drive owner.
OwnerName: is the name of the drive owner.