Function DiskType() Foundation
Determines the type of a disk or diskette.
DiskType( [<cDrive>] ; // Default: CurDrive()
) --> nDiskType
Possible return values correspond to #define constants found in XBTDISK.CH
Constant | Description |
---|---|
DT_NO_DISK | No disk available |
DT_DS_SEC_8 | Double sided, 8 sectors |
DT_SS_SEC_8 | Single sided, 8 sectors |
DT_DS_SEC_9 | Double sided, 9 sectors |
DT_SS_SEC_9 | Single sided, 9 sectors |
DT_DS_SEC_15 | Double sided, 15 sectors (HD-Diskette) |
DT_35_SEC_9 | Double sided, 3,5", 9 sectors (= 5,25 HD) |
DT_35_SEC_18 | Double sided, 3,5", 18 sectors |
DT_HARDDISK | Harddisk |
DT_CDROM | CD-ROM drive |
<cDrive> defaults to the current drive. It can be specified as a drive letter without a colon.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.