Struct IMbnDeviceServicesEvents_Vtbl
#[repr(C)]pub struct IMbnDeviceServicesEvents_Vtbl {
pub base__: IUnknown_Vtbl,
pub OnQuerySupportedCommandsComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const SAFEARRAY, _: HRESULT, _: u32) -> HRESULT,
pub OnOpenCommandSessionComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: HRESULT, _: u32) -> HRESULT,
pub OnCloseCommandSessionComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: HRESULT, _: u32) -> HRESULT,
pub OnSetCommandComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const SAFEARRAY, _: HRESULT, _: u32) -> HRESULT,
pub OnQueryCommandComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const SAFEARRAY, _: HRESULT, _: u32) -> HRESULT,
pub OnEventNotification: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const SAFEARRAY) -> HRESULT,
pub OnOpenDataSessionComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: HRESULT, _: u32) -> HRESULT,
pub OnCloseDataSessionComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: HRESULT, _: u32) -> HRESULT,
pub OnWriteDataComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: HRESULT, _: u32) -> HRESULT,
pub OnReadData: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const SAFEARRAY) -> HRESULT,
pub OnInterfaceStateChange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: MBN_DEVICE_SERVICES_INTERFACE_STATE) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§OnQuerySupportedCommandsComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const SAFEARRAY, _: HRESULT, _: u32) -> HRESULT
§OnOpenCommandSessionComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: HRESULT, _: u32) -> HRESULT
§OnCloseCommandSessionComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: HRESULT, _: u32) -> HRESULT
§OnSetCommandComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const SAFEARRAY, _: HRESULT, _: u32) -> HRESULT
§OnQueryCommandComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const SAFEARRAY, _: HRESULT, _: u32) -> HRESULT
§OnEventNotification: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const SAFEARRAY) -> HRESULT
§OnOpenDataSessionComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: HRESULT, _: u32) -> HRESULT
§OnCloseDataSessionComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: HRESULT, _: u32) -> HRESULT
§OnWriteDataComplete: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: HRESULT, _: u32) -> HRESULT
§OnReadData: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const SAFEARRAY) -> HRESULT
§OnInterfaceStateChange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: MBN_DEVICE_SERVICES_INTERFACE_STATE) -> HRESULT
Implementations§
§impl IMbnDeviceServicesEvents_Vtbl
impl IMbnDeviceServicesEvents_Vtbl
pub const fn new<Identity: IMbnDeviceServicesEvents_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IMbnDeviceServicesEvents_Vtbl
impl RefUnwindSafe for IMbnDeviceServicesEvents_Vtbl
impl Send for IMbnDeviceServicesEvents_Vtbl
impl Sync for IMbnDeviceServicesEvents_Vtbl
impl Unpin for IMbnDeviceServicesEvents_Vtbl
impl UnwindSafe for IMbnDeviceServicesEvents_Vtbl
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