Trait IComObjectEvents_Impl
pub trait IComObjectEvents_Impl: IUnknownImpl {
// 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<()>
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.