#[repr(C)]pub struct IMbnDeviceServicesContext_Vtbl {
pub base__: IUnknown_Vtbl,
pub EnumerateDeviceServices: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut SAFEARRAY) -> HRESULT,
pub GetDeviceService: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *mut *mut c_void) -> HRESULT,
pub MaxCommandSize: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub MaxDataSize: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§EnumerateDeviceServices: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut SAFEARRAY) -> HRESULT
§GetDeviceService: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *mut *mut c_void) -> HRESULT
§MaxCommandSize: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§MaxDataSize: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
Implementations§
§impl IMbnDeviceServicesContext_Vtbl
impl IMbnDeviceServicesContext_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IMbnDeviceServicesContext_Vtblwhere
Identity: IMbnDeviceServicesContext_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IMbnDeviceServicesContext_Vtbl
impl RefUnwindSafe for IMbnDeviceServicesContext_Vtbl
impl Send for IMbnDeviceServicesContext_Vtbl
impl Sync for IMbnDeviceServicesContext_Vtbl
impl Unpin for IMbnDeviceServicesContext_Vtbl
impl UnwindSafe for IMbnDeviceServicesContext_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