Home |
Function RTFSetVolumeLabel Function RTFCheckDiskBufferSize Function RTFCreateMasterBootRecord |
Function RTFSetVolumeLabelRTFSetVolumeLabel writes or removes a volume label to/from a drive: int RTFSetVolumeLabel(const char * DriveName, const char * Label); ParametersDriveNameMust be a valid file name (e.g., a root directory such as "C:\"). Only the name's drive information is evaluated. LabelPointer to the new label or NULL to remove any existing label. return valueIf the function succeeds, the return value is RTF_NO_ERROR. If it fails, the return value is a negative error code. On exFAT volumes, the label may not have more than 15 characters. For best compatibility with other systems, it is recommend to use labels with no more than 11 upper case characters on FAT volumes.
|