Function SCPreferencesUnscheduleFromRunLoop

Source
pub unsafe extern "C-unwind" fn SCPreferencesUnscheduleFromRunLoop(
    prefs: &SCPreferences,
    run_loop: &CFRunLoop,
    run_loop_mode: &CFString,
) -> bool
Available on crate feature SCPreferences only.
Expand description

Unschedule commit and apply notifications for the specified preferences session from the specified run loop and mode.

Parameter prefs: The preferences session.

Parameter runLoop: A reference to a run loop from which the notification should be unscheduled. Must be non-NULL.

Parameter runLoopMode: The mode on which to unschedule the notification. Must be non-NULL.

Returns: Returns TRUE if the notifications are successfully unscheduled; FALSE otherwise.