pub trait IComActivityEvents_Impl: Sized {
// Required methods
fn OnActivityCreate(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidactivity: *const GUID
) -> Result<()>;
fn OnActivityDestroy(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidactivity: *const GUID
) -> Result<()>;
fn OnActivityEnter(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidcurrent: *const GUID,
guidentered: *const GUID,
dwthread: u32
) -> Result<()>;
fn OnActivityTimeout(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidcurrent: *const GUID,
guidentered: *const GUID,
dwthread: u32,
dwtimeout: u32
) -> Result<()>;
fn OnActivityReenter(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidcurrent: *const GUID,
dwthread: u32,
dwcalldepth: u32
) -> Result<()>;
fn OnActivityLeave(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidcurrent: *const GUID,
guidleft: *const GUID
) -> Result<()>;
fn OnActivityLeaveSame(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidcurrent: *const GUID,
dwcalldepth: u32
) -> Result<()>;
}
Required Methods§
fn OnActivityCreate( &self, pinfo: *const COMSVCSEVENTINFO, guidactivity: *const GUID ) -> Result<()>
fn OnActivityDestroy( &self, pinfo: *const COMSVCSEVENTINFO, guidactivity: *const GUID ) -> Result<()>
fn OnActivityEnter( &self, pinfo: *const COMSVCSEVENTINFO, guidcurrent: *const GUID, guidentered: *const GUID, dwthread: u32 ) -> Result<()>
fn OnActivityTimeout( &self, pinfo: *const COMSVCSEVENTINFO, guidcurrent: *const GUID, guidentered: *const GUID, dwthread: u32, dwtimeout: u32 ) -> Result<()>
fn OnActivityReenter( &self, pinfo: *const COMSVCSEVENTINFO, guidcurrent: *const GUID, dwthread: u32, dwcalldepth: u32 ) -> Result<()>
fn OnActivityLeave( &self, pinfo: *const COMSVCSEVENTINFO, guidcurrent: *const GUID, guidleft: *const GUID ) -> Result<()>
fn OnActivityLeaveSame( &self, pinfo: *const COMSVCSEVENTINFO, guidcurrent: *const GUID, dwcalldepth: u32 ) -> Result<()>
Object Safety§
This trait is not object safe.