Trait windows::Win32::Devices::Tapi::ITLegacyCallMediaControl2_Impl
pub trait ITLegacyCallMediaControl2_Impl: Sized + ITLegacyCallMediaControl_Impl {
// Required methods
fn GenerateDigits2(
&self,
pdigits: &BSTR,
digitmode: i32,
lduration: i32,
) -> Result<()>;
fn GatherDigits(
&self,
digitmode: i32,
lnumdigits: i32,
pterminationdigits: &BSTR,
lfirstdigittimeout: i32,
linterdigittimeout: i32,
) -> Result<()>;
fn DetectTones(
&self,
ptonelist: *const TAPI_DETECTTONE,
lnumtones: i32,
) -> Result<()>;
fn DetectTonesByCollection(
&self,
pdetecttonecollection: Option<&ITCollection2>,
) -> Result<()>;
fn GenerateTone(
&self,
tonemode: TAPI_TONEMODE,
lduration: i32,
) -> Result<()>;
fn GenerateCustomTones(
&self,
ptonelist: *const TAPI_CUSTOMTONE,
lnumtones: i32,
lduration: i32,
) -> Result<()>;
fn GenerateCustomTonesByCollection(
&self,
pcustomtonecollection: Option<&ITCollection2>,
lduration: i32,
) -> Result<()>;
fn CreateDetectToneObject(&self) -> Result<ITDetectTone>;
fn CreateCustomToneObject(&self) -> Result<ITCustomTone>;
fn GetIDAsVariant(&self, bstrdeviceclass: &BSTR) -> Result<VARIANT>;
}
Required Methods§
fn GenerateDigits2( &self, pdigits: &BSTR, digitmode: i32, lduration: i32, ) -> Result<()>
fn GatherDigits( &self, digitmode: i32, lnumdigits: i32, pterminationdigits: &BSTR, lfirstdigittimeout: i32, linterdigittimeout: i32, ) -> Result<()>
fn DetectTones( &self, ptonelist: *const TAPI_DETECTTONE, lnumtones: i32, ) -> Result<()>
fn DetectTonesByCollection( &self, pdetecttonecollection: Option<&ITCollection2>, ) -> Result<()>
fn GenerateTone(&self, tonemode: TAPI_TONEMODE, lduration: i32) -> Result<()>
fn GenerateCustomTones( &self, ptonelist: *const TAPI_CUSTOMTONE, lnumtones: i32, lduration: i32, ) -> Result<()>
fn GenerateCustomTonesByCollection( &self, pcustomtonecollection: Option<&ITCollection2>, lduration: i32, ) -> Result<()>
fn CreateDetectToneObject(&self) -> Result<ITDetectTone>
fn CreateCustomToneObject(&self) -> Result<ITCustomTone>
fn GetIDAsVariant(&self, bstrdeviceclass: &BSTR) -> Result<VARIANT>
Object Safety§
This trait is not object safe.