pub struct IMbnDeviceServicesEvents(/* private fields */);
Implementations§
§impl IMbnDeviceServicesEvents
impl IMbnDeviceServicesEvents
pub unsafe fn OnQuerySupportedCommandsComplete<P0>(
&self,
deviceservice: P0,
commandidlist: *const SAFEARRAY,
status: HRESULT,
requestid: u32
) -> Result<()>where
P0: Param<IMbnDeviceService>,
pub unsafe fn OnOpenCommandSessionComplete<P0>(
&self,
deviceservice: P0,
status: HRESULT,
requestid: u32
) -> Result<()>where
P0: Param<IMbnDeviceService>,
pub unsafe fn OnCloseCommandSessionComplete<P0>(
&self,
deviceservice: P0,
status: HRESULT,
requestid: u32
) -> Result<()>where
P0: Param<IMbnDeviceService>,
pub unsafe fn OnSetCommandComplete<P0>(
&self,
deviceservice: P0,
responseid: u32,
deviceservicedata: *const SAFEARRAY,
status: HRESULT,
requestid: u32
) -> Result<()>where
P0: Param<IMbnDeviceService>,
pub unsafe fn OnQueryCommandComplete<P0>(
&self,
deviceservice: P0,
responseid: u32,
deviceservicedata: *const SAFEARRAY,
status: HRESULT,
requestid: u32
) -> Result<()>where
P0: Param<IMbnDeviceService>,
pub unsafe fn OnEventNotification<P0>(
&self,
deviceservice: P0,
eventid: u32,
deviceservicedata: *const SAFEARRAY
) -> Result<()>where
P0: Param<IMbnDeviceService>,
pub unsafe fn OnOpenDataSessionComplete<P0>(
&self,
deviceservice: P0,
status: HRESULT,
requestid: u32
) -> Result<()>where
P0: Param<IMbnDeviceService>,
pub unsafe fn OnCloseDataSessionComplete<P0>(
&self,
deviceservice: P0,
status: HRESULT,
requestid: u32
) -> Result<()>where
P0: Param<IMbnDeviceService>,
pub unsafe fn OnWriteDataComplete<P0>(
&self,
deviceservice: P0,
status: HRESULT,
requestid: u32
) -> Result<()>where
P0: Param<IMbnDeviceService>,
pub unsafe fn OnReadData<P0>(
&self,
deviceservice: P0,
deviceservicedata: *const SAFEARRAY
) -> Result<()>where
P0: Param<IMbnDeviceService>,
pub unsafe fn OnInterfaceStateChange<P0>(
&self,
interfaceid: P0,
statechange: MBN_DEVICE_SERVICES_INTERFACE_STATE
) -> Result<()>where
P0: Param<BSTR>,
Trait Implementations§
§impl Clone for IMbnDeviceServicesEvents
impl Clone for IMbnDeviceServicesEvents
§fn clone(&self) -> IMbnDeviceServicesEvents
fn clone(&self) -> IMbnDeviceServicesEvents
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 IMbnDeviceServicesEvents
impl Debug for IMbnDeviceServicesEvents
§impl Deref for IMbnDeviceServicesEvents
impl Deref for IMbnDeviceServicesEvents
§impl From<&IMbnDeviceServicesEvents> for &IUnknown
impl From<&IMbnDeviceServicesEvents> for &IUnknown
§fn from(value: &IMbnDeviceServicesEvents) -> Self
fn from(value: &IMbnDeviceServicesEvents) -> Self
Converts to this type from the input type.
§impl From<IMbnDeviceServicesEvents> for IUnknown
impl From<IMbnDeviceServicesEvents> for IUnknown
§fn from(value: IMbnDeviceServicesEvents) -> Self
fn from(value: IMbnDeviceServicesEvents) -> Self
Converts to this type from the input type.
§impl Interface for IMbnDeviceServicesEvents
impl Interface for IMbnDeviceServicesEvents
§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 IMbnDeviceServicesEvents
impl PartialEq for IMbnDeviceServicesEvents
§fn eq(&self, other: &IMbnDeviceServicesEvents) -> bool
fn eq(&self, other: &IMbnDeviceServicesEvents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMbnDeviceServicesEvents
impl StructuralPartialEq for IMbnDeviceServicesEvents
Auto Trait Implementations§
impl Freeze for IMbnDeviceServicesEvents
impl RefUnwindSafe for IMbnDeviceServicesEvents
impl !Send for IMbnDeviceServicesEvents
impl !Sync for IMbnDeviceServicesEvents
impl Unpin for IMbnDeviceServicesEvents
impl UnwindSafe for IMbnDeviceServicesEvents
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