IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

DriveState Property

The drive's storage quota state.

Syntax

ANSI (Cross Platform)
int GetDriveState(int iDriveIndex);

Unicode (Windows)
INT GetDriveState(INT iDriveIndex);

Possible Values

DS_NORMAL(0), 
DS_NEARING(1),
DS_CRITICAL(2),
DS_EXCEEDED(3)
- (int)driveState:(int)driveIndex;

Possible Values

DS_NORMAL(0), 
DS_NEARING(1),
DS_CRITICAL(2),
DS_EXCEEDED(3)
#define PID_ONEDRIVE_DRIVESTATE 16

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 storage quota state.

This property reflects the drive's current storage quota state. Possible values are:

0 (dsNormal) The drive has >= 10% free space remaining.
1 (dsNearing) The drive has < 10% free space remaining.
2 (dsCritical) The drive has < 1% free space remaining.
3 (dsExceeded) The drive has reached or exceeded its storage quota.

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

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