#[repr(C)]pub struct IMbnConnection_Vtbl {
pub base__: IUnknown_Vtbl,
pub ConnectionID: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT,
pub InterfaceID: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT,
pub Connect: unsafe extern "system" fn(_: *mut c_void, _: MBN_CONNECTION_MODE, _: PCWSTR, _: *mut u32) -> HRESULT,
pub Disconnect: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub GetConnectionState: unsafe extern "system" fn(_: *mut c_void, _: *mut MBN_ACTIVATION_STATE, _: *mut MaybeUninit<BSTR>) -> HRESULT,
pub GetVoiceCallState: unsafe extern "system" fn(_: *mut c_void, _: *mut MBN_VOICE_CALL_STATE) -> HRESULT,
pub GetActivationNetworkError: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§ConnectionID: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT
§InterfaceID: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT
§Connect: unsafe extern "system" fn(_: *mut c_void, _: MBN_CONNECTION_MODE, _: PCWSTR, _: *mut u32) -> HRESULT
§Disconnect: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§GetConnectionState: unsafe extern "system" fn(_: *mut c_void, _: *mut MBN_ACTIVATION_STATE, _: *mut MaybeUninit<BSTR>) -> HRESULT
§GetVoiceCallState: unsafe extern "system" fn(_: *mut c_void, _: *mut MBN_VOICE_CALL_STATE) -> HRESULT
§GetActivationNetworkError: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
Implementations§
§impl IMbnConnection_Vtbl
impl IMbnConnection_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IMbnConnection_Vtblwhere
Identity: IMbnConnection_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IMbnConnection_Vtbl
impl RefUnwindSafe for IMbnConnection_Vtbl
impl Send for IMbnConnection_Vtbl
impl Sync for IMbnConnection_Vtbl
impl Unpin for IMbnConnection_Vtbl
impl UnwindSafe for IMbnConnection_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