Struct windows::Wdk::System::SystemServices::PO_FX_DEVICE_V3
#[repr(C)]pub struct PO_FX_DEVICE_V3 {Show 14 fields
pub Version: u32,
pub Flags: u64,
pub ComponentActiveConditionCallback: PPO_FX_COMPONENT_ACTIVE_CONDITION_CALLBACK,
pub ComponentIdleConditionCallback: PPO_FX_COMPONENT_IDLE_CONDITION_CALLBACK,
pub ComponentIdleStateCallback: PPO_FX_COMPONENT_IDLE_STATE_CALLBACK,
pub DevicePowerRequiredCallback: PPO_FX_DEVICE_POWER_REQUIRED_CALLBACK,
pub DevicePowerNotRequiredCallback: PPO_FX_DEVICE_POWER_NOT_REQUIRED_CALLBACK,
pub PowerControlCallback: PPO_FX_POWER_CONTROL_CALLBACK,
pub DirectedPowerUpCallback: PPO_FX_DIRECTED_POWER_UP_CALLBACK,
pub DirectedPowerDownCallback: PPO_FX_DIRECTED_POWER_DOWN_CALLBACK,
pub DirectedFxTimeoutInSeconds: u32,
pub DeviceContext: *mut c_void,
pub ComponentCount: u32,
pub Components: [PO_FX_COMPONENT_V2; 1],
}
Fields§
§Version: u32
§Flags: u64
§ComponentActiveConditionCallback: PPO_FX_COMPONENT_ACTIVE_CONDITION_CALLBACK
§ComponentIdleConditionCallback: PPO_FX_COMPONENT_IDLE_CONDITION_CALLBACK
§ComponentIdleStateCallback: PPO_FX_COMPONENT_IDLE_STATE_CALLBACK
§DevicePowerRequiredCallback: PPO_FX_DEVICE_POWER_REQUIRED_CALLBACK
§DevicePowerNotRequiredCallback: PPO_FX_DEVICE_POWER_NOT_REQUIRED_CALLBACK
§PowerControlCallback: PPO_FX_POWER_CONTROL_CALLBACK
§DirectedPowerUpCallback: PPO_FX_DIRECTED_POWER_UP_CALLBACK
§DirectedPowerDownCallback: PPO_FX_DIRECTED_POWER_DOWN_CALLBACK
§DirectedFxTimeoutInSeconds: u32
§DeviceContext: *mut c_void
§ComponentCount: u32
§Components: [PO_FX_COMPONENT_V2; 1]
Trait Implementations§
§impl Clone for PO_FX_DEVICE_V3
impl Clone for PO_FX_DEVICE_V3
§fn clone(&self) -> PO_FX_DEVICE_V3
fn clone(&self) -> PO_FX_DEVICE_V3
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for PO_FX_DEVICE_V3
impl Debug for PO_FX_DEVICE_V3
§impl Default for PO_FX_DEVICE_V3
impl Default for PO_FX_DEVICE_V3
impl Copy for PO_FX_DEVICE_V3
Auto Trait Implementations§
impl Freeze for PO_FX_DEVICE_V3
impl RefUnwindSafe for PO_FX_DEVICE_V3
impl !Send for PO_FX_DEVICE_V3
impl !Sync for PO_FX_DEVICE_V3
impl Unpin for PO_FX_DEVICE_V3
impl UnwindSafe for PO_FX_DEVICE_V3
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)