Contents

DADiskPeekCallback

Type of the callback function used by DARegisterDiskPeekCallback().

Declaration

typealias DADiskPeekCallback = (DADisk, UnsafeMutableRawPointer?) -> Void

Parameters

  • disk:

    A disk object.

  • context:

    The user-defined context parameter given to the registration function.

Discussion

The peek callback functions are called in a specific order, from lowest order to highest order. DADiskClaim() could be used here to claim the disk object and DADiskSetOptions() could be used here to set up options on the disk object.

See Also

Callbacks