#[repr(C, packed(1))]
pub struct PHONECAPS {
Show 46 fields pub dwTotalSize: u32, pub dwNeededSize: u32, pub dwUsedSize: u32, pub dwProviderInfoSize: u32, pub dwProviderInfoOffset: u32, pub dwPhoneInfoSize: u32, pub dwPhoneInfoOffset: u32, pub dwPermanentPhoneID: u32, pub dwPhoneNameSize: u32, pub dwPhoneNameOffset: u32, pub dwStringFormat: u32, pub dwPhoneStates: u32, pub dwHookSwitchDevs: u32, pub dwHandsetHookSwitchModes: u32, pub dwSpeakerHookSwitchModes: u32, pub dwHeadsetHookSwitchModes: u32, pub dwVolumeFlags: u32, pub dwGainFlags: u32, pub dwDisplayNumRows: u32, pub dwDisplayNumColumns: u32, pub dwNumRingModes: u32, pub dwNumButtonLamps: u32, pub dwButtonModesSize: u32, pub dwButtonModesOffset: u32, pub dwButtonFunctionsSize: u32, pub dwButtonFunctionsOffset: u32, pub dwLampModesSize: u32, pub dwLampModesOffset: u32, pub dwNumSetData: u32, pub dwSetDataSize: u32, pub dwSetDataOffset: u32, pub dwNumGetData: u32, pub dwGetDataSize: u32, pub dwGetDataOffset: u32, pub dwDevSpecificSize: u32, pub dwDevSpecificOffset: u32, pub dwDeviceClassesSize: u32, pub dwDeviceClassesOffset: u32, pub dwPhoneFeatures: u32, pub dwSettableHandsetHookSwitchModes: u32, pub dwSettableSpeakerHookSwitchModes: u32, pub dwSettableHeadsetHookSwitchModes: u32, pub dwMonitoredHandsetHookSwitchModes: u32, pub dwMonitoredSpeakerHookSwitchModes: u32, pub dwMonitoredHeadsetHookSwitchModes: u32, pub PermanentPhoneGuid: GUID,
}

Fields§

§dwTotalSize: u32§dwNeededSize: u32§dwUsedSize: u32§dwProviderInfoSize: u32§dwProviderInfoOffset: u32§dwPhoneInfoSize: u32§dwPhoneInfoOffset: u32§dwPermanentPhoneID: u32§dwPhoneNameSize: u32§dwPhoneNameOffset: u32§dwStringFormat: u32§dwPhoneStates: u32§dwHookSwitchDevs: u32§dwHandsetHookSwitchModes: u32§dwSpeakerHookSwitchModes: u32§dwHeadsetHookSwitchModes: u32§dwVolumeFlags: u32§dwGainFlags: u32§dwDisplayNumRows: u32§dwDisplayNumColumns: u32§dwNumRingModes: u32§dwNumButtonLamps: u32§dwButtonModesSize: u32§dwButtonModesOffset: u32§dwButtonFunctionsSize: u32§dwButtonFunctionsOffset: u32§dwLampModesSize: u32§dwLampModesOffset: u32§dwNumSetData: u32§dwSetDataSize: u32§dwSetDataOffset: u32§dwNumGetData: u32§dwGetDataSize: u32§dwGetDataOffset: u32§dwDevSpecificSize: u32§dwDevSpecificOffset: u32§dwDeviceClassesSize: u32§dwDeviceClassesOffset: u32§dwPhoneFeatures: u32§dwSettableHandsetHookSwitchModes: u32§dwSettableSpeakerHookSwitchModes: u32§dwSettableHeadsetHookSwitchModes: u32§dwMonitoredHandsetHookSwitchModes: u32§dwMonitoredSpeakerHookSwitchModes: u32§dwMonitoredHeadsetHookSwitchModes: u32§PermanentPhoneGuid: GUID

Trait Implementations§

§

impl Clone for PHONECAPS

§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Default for PHONECAPS

§

fn default() -> Self

Returns the “default value” for a type. Read more
§

impl Copy for PHONECAPS

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.