Struct windows::Win32::Devices::Fax::IFaxDevice
pub struct IFaxDevice(/* private fields */);
Implementations§
§impl IFaxDevice
impl IFaxDevice
pub unsafe fn Id(&self) -> Result<i32>
pub unsafe fn DeviceName(&self) -> Result<BSTR>
pub unsafe fn ProviderUniqueName(&self) -> Result<BSTR>
pub unsafe fn PoweredOff(&self) -> Result<VARIANT_BOOL>
pub unsafe fn ReceivingNow(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SendingNow(&self) -> Result<VARIANT_BOOL>
pub unsafe fn UsedRoutingMethods(&self) -> Result<VARIANT>
pub unsafe fn Description(&self) -> Result<BSTR>
pub unsafe fn SetDescription<P0>(&self, bstrdescription: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn SendEnabled(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetSendEnabled<P0>(&self, bsendenabled: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn ReceiveMode(&self) -> Result<FAX_DEVICE_RECEIVE_MODE_ENUM>
pub unsafe fn SetReceiveMode( &self, receivemode: FAX_DEVICE_RECEIVE_MODE_ENUM ) -> Result<()>
pub unsafe fn RingsBeforeAnswer(&self) -> Result<i32>
pub unsafe fn SetRingsBeforeAnswer(&self, lringsbeforeanswer: i32) -> Result<()>
pub unsafe fn CSID(&self) -> Result<BSTR>
pub unsafe fn SetCSID<P0>(&self, bstrcsid: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn TSID(&self) -> Result<BSTR>
pub unsafe fn SetTSID<P0>(&self, bstrtsid: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Refresh(&self) -> Result<()>
pub unsafe fn Save(&self) -> Result<()>
pub unsafe fn GetExtensionProperty<P0>(&self, bstrguid: P0) -> Result<VARIANT>where
P0: IntoParam<BSTR>,
pub unsafe fn SetExtensionProperty<P0, P1>( &self, bstrguid: P0, vproperty: P1 ) -> Result<()>
pub unsafe fn UseRoutingMethod<P0, P1>(
&self,
bstrmethodguid: P0,
buse: P1
) -> Result<()>where
P0: IntoParam<BSTR>,
P1: IntoParam<VARIANT_BOOL>,
pub unsafe fn RingingNow(&self) -> Result<VARIANT_BOOL>
pub unsafe fn AnswerCall(&self) -> Result<()>
Trait Implementations§
§impl Clone for IFaxDevice
impl Clone for IFaxDevice
§fn clone(&self) -> IFaxDevice
fn clone(&self) -> IFaxDevice
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IFaxDevice
impl Debug for IFaxDevice
§impl From<&IFaxDevice> for &IDispatch
impl From<&IFaxDevice> for &IDispatch
§fn from(value: &IFaxDevice) -> Self
fn from(value: &IFaxDevice) -> Self
Converts to this type from the input type.
§impl From<&IFaxDevice> for &IUnknown
impl From<&IFaxDevice> for &IUnknown
§fn from(value: &IFaxDevice) -> Self
fn from(value: &IFaxDevice) -> Self
Converts to this type from the input type.
§impl From<IFaxDevice> for IDispatch
impl From<IFaxDevice> for IDispatch
§fn from(value: IFaxDevice) -> Self
fn from(value: IFaxDevice) -> Self
Converts to this type from the input type.
§impl From<IFaxDevice> for IUnknown
impl From<IFaxDevice> for IUnknown
§fn from(value: IFaxDevice) -> Self
fn from(value: IFaxDevice) -> Self
Converts to this type from the input type.
§impl Interface for IFaxDevice
impl Interface for IFaxDevice
§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 more§impl PartialEq for IFaxDevice
impl PartialEq for IFaxDevice
§fn eq(&self, other: &IFaxDevice) -> bool
fn eq(&self, other: &IFaxDevice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IFaxDevice
impl StructuralPartialEq for IFaxDevice
Auto Trait Implementations§
impl RefUnwindSafe for IFaxDevice
impl !Send for IFaxDevice
impl !Sync for IFaxDevice
impl Unpin for IFaxDevice
impl UnwindSafe for IFaxDevice
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