![]() |
| Home |
|
|
Function GetDiskGeometryDriver function GetDiskGeometry is called by RTFiles-32 to inquire the size and other characteristics of a disk:
int RTFAPI GetDiskGeometry(void * DriveData,
RTFPartitionRecord * DiskGeometry,
BYTE * MediaDescriptor);
ParametersDriveDataPointer to the DeviceData found in the device list for the device. DiskGeometryPointer to an RTFPartitionRecord record to be returned. MediaDescriptorPointer to a media descriptor to be returned. return valueIf the function succeeds, it returns RTF_NO_ERROR. If it fails, the return value is a negative error code.
|