Function

DADiskSetOptions(_:_:_:)

Sets the options for the specified disk.

Declaration

func DADiskSetOptions(_ disk: DADisk, _ options: DADiskOptions, _ value: Bool) -> DAReturn

Parameters

disk

The disk object for which to set the options.

options

The options to set or clear.

value

Pass TRUE to set options; otherwise pass FALSE to clear options.

Return Value

A result code.

See Also

Miscellaneous

func DADiskGetOptions(DADisk) -> DADiskOptions

Obtains the options for the specified disk.

func DADiskIsClaimed(DADisk) -> Bool

Reports whether or not the disk is claimed.

func DADiskUnclaim(DADisk)

Unclaims the specified disk object.

func DARegisterDiskPeekCallback(DASession, CFDictionary?, CFIndex, DADiskPeekCallback, UnsafeMutableRawPointer?)

Registers a callback function to be called whenever a disk has been probed.