[][src]Struct CCODE::SYSTEM_POWER_CAPABILITIES

#[repr(C)]pub struct SYSTEM_POWER_CAPABILITIES {
    pub PowerButtonPresent: BOOLEAN,
    pub SleepButtonPresent: BOOLEAN,
    pub LidPresent: BOOLEAN,
    pub SystemS1: BOOLEAN,
    pub SystemS2: BOOLEAN,
    pub SystemS3: BOOLEAN,
    pub SystemS4: BOOLEAN,
    pub SystemS5: BOOLEAN,
    pub HiberFilePresent: BOOLEAN,
    pub FullWake: BOOLEAN,
    pub VideoDimPresent: BOOLEAN,
    pub ApmPresent: BOOLEAN,
    pub UpsPresent: BOOLEAN,
    pub ThermalControl: BOOLEAN,
    pub ProcessorThrottle: BOOLEAN,
    pub ProcessorMinThrottle: BYTE,
    pub ProcessorMaxThrottle: BYTE,
    pub FastSystemS4: BOOLEAN,
    pub Hiberboot: BOOLEAN,
    pub WakeAlarmPresent: BOOLEAN,
    pub AoAc: BOOLEAN,
    pub DiskSpinDown: BOOLEAN,
    pub HiberFileType: BYTE,
    pub AoAcConnectivitySupported: BOOLEAN,
    pub spare3: [BYTE; 6],
    pub SystemBatteriesPresent: BOOLEAN,
    pub BatteriesAreShortTerm: BOOLEAN,
    pub BatteryScale: [BATTERY_REPORTING_SCALE; 3],
    pub AcOnLineWake: SYSTEM_POWER_STATE,
    pub SoftLidWake: SYSTEM_POWER_STATE,
    pub RtcWake: SYSTEM_POWER_STATE,
    pub MinDeviceWakeState: SYSTEM_POWER_STATE,
    pub DefaultLowLatencyWake: SYSTEM_POWER_STATE,
}

Fields

PowerButtonPresent: BOOLEANSleepButtonPresent: BOOLEANLidPresent: BOOLEANSystemS1: BOOLEANSystemS2: BOOLEANSystemS3: BOOLEANSystemS4: BOOLEANSystemS5: BOOLEANHiberFilePresent: BOOLEANFullWake: BOOLEANVideoDimPresent: BOOLEANApmPresent: BOOLEANUpsPresent: BOOLEANThermalControl: BOOLEANProcessorThrottle: BOOLEANProcessorMinThrottle: BYTEProcessorMaxThrottle: BYTEFastSystemS4: BOOLEANHiberboot: BOOLEANWakeAlarmPresent: BOOLEANAoAc: BOOLEANDiskSpinDown: BOOLEANHiberFileType: BYTEAoAcConnectivitySupported: BOOLEANspare3: [BYTE; 6]SystemBatteriesPresent: BOOLEANBatteriesAreShortTerm: BOOLEANBatteryScale: [BATTERY_REPORTING_SCALE; 3]AcOnLineWake: SYSTEM_POWER_STATESoftLidWake: SYSTEM_POWER_STATERtcWake: SYSTEM_POWER_STATEMinDeviceWakeState: SYSTEM_POWER_STATEDefaultLowLatencyWake: SYSTEM_POWER_STATE

Trait Implementations

impl Clone for SYSTEM_POWER_CAPABILITIES[src]

impl Copy for SYSTEM_POWER_CAPABILITIES[src]

impl Debug for SYSTEM_POWER_CAPABILITIES[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.