Contents

DARegisterDiskAppearedCallback(_:_:_:_:)

Registers a callback function to be called whenever a disk has appeared.

Declaration

func DARegisterDiskAppearedCallback(_ session: DASession, _ match: CFDictionary?, _ callback: DADiskAppearedCallback, _ context: UnsafeMutableRawPointer?)

Parameters

  • session:

    The session object.

  • match:

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

  • callback:

    The callback function to call when a disk has appeared.

  • context:

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

See Also

Miscellaneous