Trait windows::Win32::Devices::Tapi::ITAutomatedPhoneControl_Impl
pub trait ITAutomatedPhoneControl_Impl: Sized + IDispatch_Impl {
Show 32 methods
// Required methods
fn StartTone(&self, tone: PHONE_TONE, lduration: i32) -> Result<()>;
fn StopTone(&self) -> Result<()>;
fn Tone(&self) -> Result<PHONE_TONE>;
fn StartRinger(&self, lringmode: i32, lduration: i32) -> Result<()>;
fn StopRinger(&self) -> Result<()>;
fn Ringer(&self) -> Result<VARIANT_BOOL>;
fn SetPhoneHandlingEnabled(&self, fenabled: VARIANT_BOOL) -> Result<()>;
fn PhoneHandlingEnabled(&self) -> Result<VARIANT_BOOL>;
fn SetAutoEndOfNumberTimeout(&self, ltimeout: i32) -> Result<()>;
fn AutoEndOfNumberTimeout(&self) -> Result<i32>;
fn SetAutoDialtone(&self, fenabled: VARIANT_BOOL) -> Result<()>;
fn AutoDialtone(&self) -> Result<VARIANT_BOOL>;
fn SetAutoStopTonesOnOnHook(&self, fenabled: VARIANT_BOOL) -> Result<()>;
fn AutoStopTonesOnOnHook(&self) -> Result<VARIANT_BOOL>;
fn SetAutoStopRingOnOffHook(&self, fenabled: VARIANT_BOOL) -> Result<()>;
fn AutoStopRingOnOffHook(&self) -> Result<VARIANT_BOOL>;
fn SetAutoKeypadTones(&self, fenabled: VARIANT_BOOL) -> Result<()>;
fn AutoKeypadTones(&self) -> Result<VARIANT_BOOL>;
fn SetAutoKeypadTonesMinimumDuration(&self, lduration: i32) -> Result<()>;
fn AutoKeypadTonesMinimumDuration(&self) -> Result<i32>;
fn SetAutoVolumeControl(&self, fenabled: VARIANT_BOOL) -> Result<()>;
fn AutoVolumeControl(&self) -> Result<VARIANT_BOOL>;
fn SetAutoVolumeControlStep(&self, lstepsize: i32) -> Result<()>;
fn AutoVolumeControlStep(&self) -> Result<i32>;
fn SetAutoVolumeControlRepeatDelay(&self, ldelay: i32) -> Result<()>;
fn AutoVolumeControlRepeatDelay(&self) -> Result<i32>;
fn SetAutoVolumeControlRepeatPeriod(&self, lperiod: i32) -> Result<()>;
fn AutoVolumeControlRepeatPeriod(&self) -> Result<i32>;
fn SelectCall(
&self,
pcall: Option<&ITCallInfo>,
fselectdefaultterminals: VARIANT_BOOL,
) -> Result<()>;
fn UnselectCall(&self, pcall: Option<&ITCallInfo>) -> Result<()>;
fn EnumerateSelectedCalls(&self) -> Result<IEnumCall>;
fn SelectedCalls(&self) -> Result<VARIANT>;
}
Required Methods§
fn StartTone(&self, tone: PHONE_TONE, lduration: i32) -> Result<()>
fn StopTone(&self) -> Result<()>
fn Tone(&self) -> Result<PHONE_TONE>
fn StartRinger(&self, lringmode: i32, lduration: i32) -> Result<()>
fn StopRinger(&self) -> Result<()>
fn Ringer(&self) -> Result<VARIANT_BOOL>
fn SetPhoneHandlingEnabled(&self, fenabled: VARIANT_BOOL) -> Result<()>
fn PhoneHandlingEnabled(&self) -> Result<VARIANT_BOOL>
fn SetAutoEndOfNumberTimeout(&self, ltimeout: i32) -> Result<()>
fn AutoEndOfNumberTimeout(&self) -> Result<i32>
fn SetAutoDialtone(&self, fenabled: VARIANT_BOOL) -> Result<()>
fn AutoDialtone(&self) -> Result<VARIANT_BOOL>
fn SetAutoStopTonesOnOnHook(&self, fenabled: VARIANT_BOOL) -> Result<()>
fn AutoStopTonesOnOnHook(&self) -> Result<VARIANT_BOOL>
fn SetAutoStopRingOnOffHook(&self, fenabled: VARIANT_BOOL) -> Result<()>
fn AutoStopRingOnOffHook(&self) -> Result<VARIANT_BOOL>
fn SetAutoKeypadTones(&self, fenabled: VARIANT_BOOL) -> Result<()>
fn AutoKeypadTones(&self) -> Result<VARIANT_BOOL>
fn SetAutoKeypadTonesMinimumDuration(&self, lduration: i32) -> Result<()>
fn AutoKeypadTonesMinimumDuration(&self) -> Result<i32>
fn SetAutoVolumeControl(&self, fenabled: VARIANT_BOOL) -> Result<()>
fn AutoVolumeControl(&self) -> Result<VARIANT_BOOL>
fn SetAutoVolumeControlStep(&self, lstepsize: i32) -> Result<()>
fn AutoVolumeControlStep(&self) -> Result<i32>
fn SetAutoVolumeControlRepeatDelay(&self, ldelay: i32) -> Result<()>
fn AutoVolumeControlRepeatDelay(&self) -> Result<i32>
fn SetAutoVolumeControlRepeatPeriod(&self, lperiod: i32) -> Result<()>
fn AutoVolumeControlRepeatPeriod(&self) -> Result<i32>
fn SelectCall( &self, pcall: Option<&ITCallInfo>, fselectdefaultterminals: VARIANT_BOOL, ) -> Result<()>
fn UnselectCall(&self, pcall: Option<&ITCallInfo>) -> Result<()>
fn EnumerateSelectedCalls(&self) -> Result<IEnumCall>
fn SelectedCalls(&self) -> Result<VARIANT>
Object Safety§
This trait is not object safe.