pub trait IMbnConnection_Impl: Sized {
    // Required methods
    fn ConnectionID(&self) -> Result<BSTR>;
    fn InterfaceID(&self) -> Result<BSTR>;
    fn Connect(
        &self,
        connectionmode: MBN_CONNECTION_MODE,
        strprofile: &PCWSTR
    ) -> Result<u32>;
    fn Disconnect(&self) -> Result<u32>;
    fn GetConnectionState(
        &self,
        connectionstate: *mut MBN_ACTIVATION_STATE,
        profilename: *mut BSTR
    ) -> Result<()>;
    fn GetVoiceCallState(&self) -> Result<MBN_VOICE_CALL_STATE>;
    fn GetActivationNetworkError(&self) -> Result<u32>;
}

Required Methods§

fn ConnectionID(&self) -> Result<BSTR>

fn InterfaceID(&self) -> Result<BSTR>

fn Connect( &self, connectionmode: MBN_CONNECTION_MODE, strprofile: &PCWSTR ) -> Result<u32>

fn Disconnect(&self) -> Result<u32>

fn GetConnectionState( &self, connectionstate: *mut MBN_ACTIVATION_STATE, profilename: *mut BSTR ) -> Result<()>

fn GetVoiceCallState(&self) -> Result<MBN_VOICE_CALL_STATE>

fn GetActivationNetworkError(&self) -> Result<u32>

Object Safety§

This trait is not object safe.

Implementors§