windows::Win32::Devices::Tapi

Trait ITMSPAddress_Impl

pub trait ITMSPAddress_Impl: IUnknownImpl {
    // Required methods
    fn Initialize(&self, hevent: *const i32) -> Result<()>;
    fn Shutdown(&self) -> Result<()>;
    fn CreateMSPCall(
        &self,
        hcall: *const i32,
        dwreserved: u32,
        dwmediatype: u32,
        pouterunknown: Ref<'_, IUnknown>,
    ) -> Result<IUnknown>;
    fn ShutdownMSPCall(&self, pstreamcontrol: Ref<'_, IUnknown>) -> Result<()>;
    fn ReceiveTSPData(
        &self,
        pmspcall: Ref<'_, IUnknown>,
        pbuffer: *const u8,
        dwsize: u32,
    ) -> Result<()>;
    fn GetEvent(&self, pdwsize: *mut u32, peventbuffer: *mut u8) -> Result<()>;
}

Required Methods§

fn Initialize(&self, hevent: *const i32) -> Result<()>

fn Shutdown(&self) -> Result<()>

fn CreateMSPCall( &self, hcall: *const i32, dwreserved: u32, dwmediatype: u32, pouterunknown: Ref<'_, IUnknown>, ) -> Result<IUnknown>

fn ShutdownMSPCall(&self, pstreamcontrol: Ref<'_, IUnknown>) -> Result<()>

fn ReceiveTSPData( &self, pmspcall: Ref<'_, IUnknown>, pbuffer: *const u8, dwsize: u32, ) -> Result<()>

fn GetEvent(&self, pdwsize: *mut u32, peventbuffer: *mut u8) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§