pub type POWER_SETTING_CALLBACK = Option<unsafe extern "system" fn(settingguid: *const GUID, value: *const c_void, valuelength: u32, context: *mut c_void) -> NTSTATUS>;
Expand description

Required features: "Win32_Foundation"

Aliased Type§

enum POWER_SETTING_CALLBACK {
    None,
    Some(unsafe extern "system" fn(_: *const GUID, _: *const c_void, _: u32, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(_: *const GUID, _: *const c_void, _: u32, _: *mut c_void) -> i32)

Some value of type T.