Struct windows::Win32::Devices::Tapi::ITAutomatedPhoneControl_Vtbl

#[repr(C)]
pub struct ITAutomatedPhoneControl_Vtbl {
Show 33 fields pub base__: IDispatch_Vtbl, pub StartTone: unsafe extern "system" fn(_: *mut c_void, _: PHONE_TONE, _: i32) -> HRESULT, pub StopTone: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Tone: unsafe extern "system" fn(_: *mut c_void, _: *mut PHONE_TONE) -> HRESULT, pub StartRinger: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT, pub StopRinger: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Ringer: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetPhoneHandlingEnabled: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub PhoneHandlingEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetAutoEndOfNumberTimeout: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub AutoEndOfNumberTimeout: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetAutoDialtone: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub AutoDialtone: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetAutoStopTonesOnOnHook: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub AutoStopTonesOnOnHook: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetAutoStopRingOnOffHook: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub AutoStopRingOnOffHook: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetAutoKeypadTones: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub AutoKeypadTones: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetAutoKeypadTonesMinimumDuration: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub AutoKeypadTonesMinimumDuration: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetAutoVolumeControl: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub AutoVolumeControl: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetAutoVolumeControlStep: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub AutoVolumeControlStep: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetAutoVolumeControlRepeatDelay: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub AutoVolumeControlRepeatDelay: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetAutoVolumeControlRepeatPeriod: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub AutoVolumeControlRepeatPeriod: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SelectCall: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub UnselectCall: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub EnumerateSelectedCalls: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SelectedCalls: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT,
}

Fields§

§base__: IDispatch_Vtbl§StartTone: unsafe extern "system" fn(_: *mut c_void, _: PHONE_TONE, _: i32) -> HRESULT§StopTone: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Tone: unsafe extern "system" fn(_: *mut c_void, _: *mut PHONE_TONE) -> HRESULT§StartRinger: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT§StopRinger: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Ringer: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetPhoneHandlingEnabled: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§PhoneHandlingEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetAutoEndOfNumberTimeout: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§AutoEndOfNumberTimeout: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetAutoDialtone: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§AutoDialtone: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetAutoStopTonesOnOnHook: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§AutoStopTonesOnOnHook: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetAutoStopRingOnOffHook: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§AutoStopRingOnOffHook: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetAutoKeypadTones: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§AutoKeypadTones: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetAutoKeypadTonesMinimumDuration: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§AutoKeypadTonesMinimumDuration: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetAutoVolumeControl: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§AutoVolumeControl: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetAutoVolumeControlStep: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§AutoVolumeControlStep: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetAutoVolumeControlRepeatDelay: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§AutoVolumeControlRepeatDelay: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetAutoVolumeControlRepeatPeriod: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§AutoVolumeControlRepeatPeriod: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SelectCall: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: VARIANT_BOOL) -> HRESULT§UnselectCall: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§EnumerateSelectedCalls: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SelectedCalls: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT

Implementations§

§

impl ITAutomatedPhoneControl_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> ITAutomatedPhoneControl_Vtbl
where Identity: ITAutomatedPhoneControl_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

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, 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.