Contents

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