DriveType Property
The drive's type.
Syntax
ANSI (Cross Platform) int GetDriveType(int iDriveIndex); Unicode (Windows) INT GetDriveType(INT iDriveIndex);
Possible Values
ODDT_PERSONAL(0),
ODDT_BUSINESS(1),
ODDT_DOCUMENT_LIBRARY(2)
- (int)driveType:(int)driveIndex;
Possible Values
ODDT_PERSONAL(0),
ODDT_BUSINESS(1),
ODDT_DOCUMENT_LIBRARY(2)
#define PID_ONEDRIVE_DRIVETYPE 18 IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_OneDrive_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_OneDrive_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
The drive's type.
This property 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. |
The DriveIndex parameter specifies the index of the item in the array. The size of the array is controlled by the DriveCount property.
This property is read-only and not available at design time.
Data Type
Integer