pub struct ITTAPI2(/* private fields */);
Implementations§
§impl ITTAPI2
impl ITTAPI2
pub unsafe fn Initialize(&self) -> Result<()>
pub unsafe fn Shutdown(&self) -> Result<()>
pub unsafe fn Addresses(&self) -> Result<VARIANT>
pub unsafe fn EnumerateAddresses(&self) -> Result<IEnumAddress>
pub unsafe fn RegisterCallNotifications<P0, P1, P2>( &self, paddress: P0, fmonitor: P1, fowner: P2, lmediatypes: i32, lcallbackinstance: i32 ) -> Result<i32>
pub unsafe fn UnregisterNotifications(&self, lregister: i32) -> Result<()>
pub unsafe fn CallHubs(&self) -> Result<VARIANT>
pub unsafe fn EnumerateCallHubs(&self) -> Result<IEnumCallHub>
pub unsafe fn SetCallHubTracking<P0, P1>(
&self,
paddresses: P0,
btracking: P1
) -> Result<()>where
P0: IntoParam<VARIANT>,
P1: IntoParam<VARIANT_BOOL>,
pub unsafe fn EnumeratePrivateTAPIObjects(&self) -> Result<IEnumUnknown>
pub unsafe fn PrivateTAPIObjects(&self) -> Result<VARIANT>
pub unsafe fn RegisterRequestRecipient<P0>(
&self,
lregistrationinstance: i32,
lrequestmode: i32,
fenable: P0
) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn SetAssistedTelephonyPriority<P0, P1>(
&self,
pappfilename: P0,
fpriority: P1
) -> Result<()>where
P0: IntoParam<BSTR>,
P1: IntoParam<VARIANT_BOOL>,
pub unsafe fn SetApplicationPriority<P0, P1>(
&self,
pappfilename: P0,
lmediatype: i32,
fpriority: P1
) -> Result<()>where
P0: IntoParam<BSTR>,
P1: IntoParam<VARIANT_BOOL>,
pub unsafe fn SetEventFilter(&self, lfiltermask: i32) -> Result<()>
pub unsafe fn EventFilter(&self) -> Result<i32>
pub unsafe fn Phones(&self) -> Result<VARIANT>
pub unsafe fn EnumeratePhones(&self) -> Result<IEnumPhone>
pub unsafe fn CreateEmptyCollectionObject(&self) -> Result<ITCollection2>
Trait Implementations§
§impl Interface for ITTAPI2
impl Interface for ITTAPI2
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read moreimpl Eq for ITTAPI2
impl StructuralPartialEq for ITTAPI2
Auto Trait Implementations§
impl RefUnwindSafe for ITTAPI2
impl !Send for ITTAPI2
impl !Sync for ITTAPI2
impl Unpin for ITTAPI2
impl UnwindSafe for ITTAPI2
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more