pub type PDXGK_POWER_NOTIFICATION = Option<unsafe extern "system" fn(graphicsdevicehandle: *mut c_void, newgrfxpowerstate: DEVICE_POWER_STATE, prenotification: BOOLEAN, privatehandle: *mut c_void)>;
Expand description

Required features: "Win32_Foundation", "Win32_System_Power"

Aliased Type§

enum PDXGK_POWER_NOTIFICATION {
    None,
    Some(unsafe extern "system" fn(_: *mut c_void, _: i32, _: u8, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(_: *mut c_void, _: i32, _: u8, _: *mut c_void))

Some value of type T.