Home |
Function RTFCheckDiskBufferSize Function RTFCreateMasterBootRecord |
Function RTFCheckDiskBufferSizeRTFCheckDiskBufferSize calculates the amount of temporary storage RTFCheckDisk requires for a specific logical drive: int RTFCheckDiskBufferSize(const char * DriveName); ParametersDriveNamePointer to a valid file name (e.g., a root directory such as "C:\"). Only the name's drive information is evaluated. return valueIf the function succeeds, the return value is the number of bytes RTFCheckDisk will need. If it fails, the return value is a negative error code. The return value is approximately 100 plus the disk's sector size plus the disk's total number of clusters divided by 8. Function RTFCreateMasterBootRecord
|