DriveList Event
Fired for each drive when ListDrives is called.
Syntax
type TDriveListEvent = procedure DriveList(Sender: TObject; const Id: String; DriveType: Integer; const OwnerId: String; const OwnerName: String) of object;property OnDriveList: TDriveListEvent read FOnDriveList write FOnDriveList;
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.