windows::Win32::System::ComponentServices

Trait IComMethod2Events_Impl

pub trait IComMethod2Events_Impl: IUnknownImpl {
    // Required methods
    fn OnMethodCall2(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        oid: u64,
        guidcid: *const GUID,
        guidrid: *const GUID,
        dwthread: u32,
        imeth: u32,
    ) -> Result<()>;
    fn OnMethodReturn2(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        oid: u64,
        guidcid: *const GUID,
        guidrid: *const GUID,
        dwthread: u32,
        imeth: u32,
        hresult: HRESULT,
    ) -> Result<()>;
    fn OnMethodException2(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        oid: u64,
        guidcid: *const GUID,
        guidrid: *const GUID,
        dwthread: u32,
        imeth: u32,
    ) -> Result<()>;
}

Required Methods§

fn OnMethodCall2( &self, pinfo: *const COMSVCSEVENTINFO, oid: u64, guidcid: *const GUID, guidrid: *const GUID, dwthread: u32, imeth: u32, ) -> Result<()>

fn OnMethodReturn2( &self, pinfo: *const COMSVCSEVENTINFO, oid: u64, guidcid: *const GUID, guidrid: *const GUID, dwthread: u32, imeth: u32, hresult: HRESULT, ) -> Result<()>

fn OnMethodException2( &self, pinfo: *const COMSVCSEVENTINFO, oid: u64, guidcid: *const GUID, guidrid: *const GUID, dwthread: u32, imeth: u32, ) -> 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§