DriveState Property
The state of the drive space.
Syntax
int GetDriveState();
Possible Values
QS_NORMAL(0), QS_NEARING(1), QS_CRITICAL(2), QS_EXCEEDED(3)
Default Value
0
Remarks
This property holds the state of the drive space. This provides a way to easily determine when a drive is running out of space. Possible values are:
0 (qsNormal) | Drive has sufficient space left. |
1 (qsNearing) | Remaining space is less than 10% of quota. |
2 (qsCritical) | Remaining space is less than 1% of quota. |
3 (qsExceeded) | The quota has been exceeded. Existing files or folders must be deleted before adding new data. |
This property is read-only and not available at design time.
Data Type
Integer