pub trait IComObjectEvents_Impl: Sized {
    // Required methods
    fn OnObjectActivate(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        ctxtid: u64,
        objectid: u64
    ) -> Result<()>;
    fn OnObjectDeactivate(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        ctxtid: u64,
        objectid: u64
    ) -> Result<()>;
    fn OnDisableCommit(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        ctxtid: u64
    ) -> Result<()>;
    fn OnEnableCommit(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        ctxtid: u64
    ) -> Result<()>;
    fn OnSetComplete(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        ctxtid: u64
    ) -> Result<()>;
    fn OnSetAbort(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        ctxtid: u64
    ) -> Result<()>;
}

Required Methods§

fn OnObjectActivate( &self, pinfo: *const COMSVCSEVENTINFO, ctxtid: u64, objectid: u64 ) -> Result<()>

fn OnObjectDeactivate( &self, pinfo: *const COMSVCSEVENTINFO, ctxtid: u64, objectid: u64 ) -> Result<()>

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

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

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

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

Object Safety§

This trait is not object safe.

Implementors§