#[repr(C)]
pub struct SW_DEVICE_CREATE_INFO { pub cbSize: u32, pub pszInstanceId: PCWSTR, pub pszzHardwareIds: PCWSTR, pub pszzCompatibleIds: PCWSTR, pub pContainerId: *const GUID, pub CapabilityFlags: u32, pub pszDeviceDescription: PCWSTR, pub pszDeviceLocation: PCWSTR, pub pSecurityDescriptor: *const SECURITY_DESCRIPTOR, }
Expand description

Required features: "Win32_Devices_Enumeration_Pnp", "Win32_Foundation", "Win32_Security"

Fields§

§cbSize: u32§pszInstanceId: PCWSTR§pszzHardwareIds: PCWSTR§pszzCompatibleIds: PCWSTR§pContainerId: *const GUID§CapabilityFlags: u32§pszDeviceDescription: PCWSTR§pszDeviceLocation: PCWSTR§pSecurityDescriptor: *const SECURITY_DESCRIPTOR

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.