Contents

DADiskRename(_:_:_:_:_:)

Renames the volume at the specified disk object.

Declaration

func DADiskRename(_ disk: DADisk, _ name: CFString, _ options: DADiskRenameOptions, _ callback: DADiskRenameCallback?, _ context: UnsafeMutableRawPointer?)

Parameters

  • disk:

    The disk object.

  • name:

    The new volume name.

  • 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.

See Also

Miscellaneous