Struct windows_sys::Win32::Devices::Usb::USB_POWER_INFO
#[repr(C, packed(1))]pub struct USB_POWER_INFO {
pub SystemState: WDMUSB_POWER_STATE,
pub HcDevicePowerState: WDMUSB_POWER_STATE,
pub HcDeviceWake: WDMUSB_POWER_STATE,
pub HcSystemWake: WDMUSB_POWER_STATE,
pub RhDevicePowerState: WDMUSB_POWER_STATE,
pub RhDeviceWake: WDMUSB_POWER_STATE,
pub RhSystemWake: WDMUSB_POWER_STATE,
pub LastSystemSleepState: WDMUSB_POWER_STATE,
pub CanWakeup: BOOLEAN,
pub IsPowered: BOOLEAN,
}
Expand description
Required features: "Win32_Devices_Usb"
, "Win32_Foundation"
Fields§
§SystemState: WDMUSB_POWER_STATE
§HcDevicePowerState: WDMUSB_POWER_STATE
§HcDeviceWake: WDMUSB_POWER_STATE
§HcSystemWake: WDMUSB_POWER_STATE
§RhDevicePowerState: WDMUSB_POWER_STATE
§RhDeviceWake: WDMUSB_POWER_STATE
§RhSystemWake: WDMUSB_POWER_STATE
§LastSystemSleepState: WDMUSB_POWER_STATE
§CanWakeup: BOOLEAN
§IsPowered: BOOLEAN