DARegisterDiskDescriptionChangedCallback

Function DARegisterDiskDescriptionChangedCallback 

Source
pub unsafe extern "C" fn DARegisterDiskDescriptionChangedCallback(
    session: DASessionRef,
    match_: CFDictionaryRef,
    watch: CFArrayRef,
    callback: DADiskDescriptionChangedCallback,
    context: *mut c_void,
)
Expand description

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

ยง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.