DADiskRename

Function DADiskRename 

Source
pub unsafe extern "C" fn DADiskRename(
    disk: DADiskRef,
    name: CFStringRef,
    options: DADiskRenameOptions,
    callback: DADiskRenameCallback,
    context: *mut c_void,
)
Expand description

Renames the volume at the specified disk object.

ยงParameters

  • disk - The disk object.
  • options - The rename options.
  • callback - The callback function to call once the rename completes.
  • context - The user-defined context parameter to pass to the callback function.