Return Values
The disk status is returned in combinatin of following flags.
- STA_NOINIT
- Indicates that the disk drive has not been initialiezed. This flag is set when power-on, occurrence of disk removal or disk_initialize() failed and cleared when disk_initialize() succeeded.
- STA_NODISK
- Indicates that no disk in the drive. It is always cleared on non-removable drive.
- STA_PROTECTED
- Indicates that the disk is write protected. It is always cleared on the disk that has not write protect notch.