pub trait IComThreadEvents_Impl: Sized {
    // Required methods
    fn OnThreadStart(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        threadid: u64,
        dwthread: u32,
        dwtheadcnt: u32
    ) -> Result<()>;
    fn OnThreadTerminate(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        threadid: u64,
        dwthread: u32,
        dwtheadcnt: u32
    ) -> Result<()>;
    fn OnThreadBindToApartment(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        threadid: u64,
        aptid: u64,
        dwactcnt: u32,
        dwlowcnt: u32
    ) -> Result<()>;
    fn OnThreadUnBind(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        threadid: u64,
        aptid: u64,
        dwactcnt: u32
    ) -> Result<()>;
    fn OnThreadWorkEnque(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        threadid: u64,
        msgworkid: u64,
        queuelen: u32
    ) -> Result<()>;
    fn OnThreadWorkPrivate(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        threadid: u64,
        msgworkid: u64
    ) -> Result<()>;
    fn OnThreadWorkPublic(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        threadid: u64,
        msgworkid: u64,
        queuelen: u32
    ) -> Result<()>;
    fn OnThreadWorkRedirect(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        threadid: u64,
        msgworkid: u64,
        queuelen: u32,
        threadnum: u64
    ) -> Result<()>;
    fn OnThreadWorkReject(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        threadid: u64,
        msgworkid: u64,
        queuelen: u32
    ) -> Result<()>;
    fn OnThreadAssignApartment(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        guidactivity: *const GUID,
        aptid: u64
    ) -> Result<()>;
    fn OnThreadUnassignApartment(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        aptid: u64
    ) -> Result<()>;
}

Required Methods§

fn OnThreadStart( &self, pinfo: *const COMSVCSEVENTINFO, threadid: u64, dwthread: u32, dwtheadcnt: u32 ) -> Result<()>

fn OnThreadTerminate( &self, pinfo: *const COMSVCSEVENTINFO, threadid: u64, dwthread: u32, dwtheadcnt: u32 ) -> Result<()>

fn OnThreadBindToApartment( &self, pinfo: *const COMSVCSEVENTINFO, threadid: u64, aptid: u64, dwactcnt: u32, dwlowcnt: u32 ) -> Result<()>

fn OnThreadUnBind( &self, pinfo: *const COMSVCSEVENTINFO, threadid: u64, aptid: u64, dwactcnt: u32 ) -> Result<()>

fn OnThreadWorkEnque( &self, pinfo: *const COMSVCSEVENTINFO, threadid: u64, msgworkid: u64, queuelen: u32 ) -> Result<()>

fn OnThreadWorkPrivate( &self, pinfo: *const COMSVCSEVENTINFO, threadid: u64, msgworkid: u64 ) -> Result<()>

fn OnThreadWorkPublic( &self, pinfo: *const COMSVCSEVENTINFO, threadid: u64, msgworkid: u64, queuelen: u32 ) -> Result<()>

fn OnThreadWorkRedirect( &self, pinfo: *const COMSVCSEVENTINFO, threadid: u64, msgworkid: u64, queuelen: u32, threadnum: u64 ) -> Result<()>

fn OnThreadWorkReject( &self, pinfo: *const COMSVCSEVENTINFO, threadid: u64, msgworkid: u64, queuelen: u32 ) -> Result<()>

fn OnThreadAssignApartment( &self, pinfo: *const COMSVCSEVENTINFO, guidactivity: *const GUID, aptid: u64 ) -> Result<()>

fn OnThreadUnassignApartment( &self, pinfo: *const COMSVCSEVENTINFO, aptid: u64 ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§