Contents

DARegisterDiskDescriptionChangedCallback(_:_:_:_:_:)

Registers a callback function to be called whenever a disk description has changed.

Declaration

func DARegisterDiskDescriptionChangedCallback(_ session: DASession, _ match: CFDictionary?, _ watch: CFArray?, _ callback: DADiskDescriptionChangedCallback, _ context: UnsafeMutableRawPointer?)

Parameters

  • session:

    The session object.

  • match:

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

  • watch:

    The disk description keys to watch. Pass NULL for all keys.

  • callback:

    The callback function to call when a watched key changes.

  • context:

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

See Also

Miscellaneous