windows::Win32::System::Power

Function GetDevicePowerState

pub unsafe fn GetDevicePowerState(hdevice: HANDLE, pfon: *mut BOOL) -> BOOL