pub unsafe extern "C-unwind" fn IOPMCancelScheduledPowerEvent(
time_to_wake: Option<&CFDate>,
my_id: Option<&CFString>,
type: Option<&CFString>,
) -> IOReturnAvailable on crate feature
pwr_mgt only.Expand description
Cancel a previously scheduled power event.
Arguments mirror those to IOPMSchedulePowerEvent. All arguments must match the original arguments from when the power on was scheduled. Must be called as root.
Parameter time_to_wake: Cancel entry with this date and time.
Parameter my_id: Cancel entry with this name.
Parameter type: Type to cancel
Returns: kIOReturnSuccess on success, otherwise on failure
ยงSafety
time_to_wakemight not allowNone.my_idmight not allowNone.typemight not allowNone.