pub trait IComResourceEvents_Impl: Sized {
// Required methods
fn OnResourceCreate(
&self,
pinfo: *const COMSVCSEVENTINFO,
objectid: u64,
psztype: &PCWSTR,
resid: u64,
enlisted: BOOL,
) -> Result<()>;
fn OnResourceAllocate(
&self,
pinfo: *const COMSVCSEVENTINFO,
objectid: u64,
psztype: &PCWSTR,
resid: u64,
enlisted: BOOL,
numrated: u32,
rating: u32,
) -> Result<()>;
fn OnResourceRecycle(
&self,
pinfo: *const COMSVCSEVENTINFO,
objectid: u64,
psztype: &PCWSTR,
resid: u64,
) -> Result<()>;
fn OnResourceDestroy(
&self,
pinfo: *const COMSVCSEVENTINFO,
objectid: u64,
hr: HRESULT,
psztype: &PCWSTR,
resid: u64,
) -> Result<()>;
fn OnResourceTrack(
&self,
pinfo: *const COMSVCSEVENTINFO,
objectid: u64,
psztype: &PCWSTR,
resid: u64,
enlisted: BOOL,
) -> Result<()>;
}
Required Methods§
fn OnResourceCreate( &self, pinfo: *const COMSVCSEVENTINFO, objectid: u64, psztype: &PCWSTR, resid: u64, enlisted: BOOL, ) -> Result<()>
fn OnResourceAllocate( &self, pinfo: *const COMSVCSEVENTINFO, objectid: u64, psztype: &PCWSTR, resid: u64, enlisted: BOOL, numrated: u32, rating: u32, ) -> Result<()>
fn OnResourceRecycle( &self, pinfo: *const COMSVCSEVENTINFO, objectid: u64, psztype: &PCWSTR, resid: u64, ) -> Result<()>
fn OnResourceDestroy( &self, pinfo: *const COMSVCSEVENTINFO, objectid: u64, hr: HRESULT, psztype: &PCWSTR, resid: u64, ) -> Result<()>
fn OnResourceTrack( &self, pinfo: *const COMSVCSEVENTINFO, objectid: u64, psztype: &PCWSTR, resid: u64, enlisted: BOOL, ) -> Result<()>
Object Safety§
This trait is not object safe.