Function

DARegisterDiskPeekCallback(_:_:_:_:_:)

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

Declaration

func DARegisterDiskPeekCallback(_ session: DASession, _ match: CFDictionary?, _ order: CFIndex, _ callback: DADiskPeekCallback, _ context: UnsafeMutableRawPointer?)

Parameters

session

The session object.

match

The disk description keys to match. Pass NULL for all disk objects.

order

The callback order, from lowest to highest. Pass 0 for the default.

callback

The callback function to call when a disk has been probed.

context

The user-defined context parameter to pass to the callback function.

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.