windows::Win32::System::ComponentServices

Trait IComAppEvents_Impl

pub trait IComAppEvents_Impl: IUnknownImpl {
    // Required methods
    fn OnAppActivation(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        guidapp: &GUID,
    ) -> Result<()>;
    fn OnAppShutdown(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        guidapp: &GUID,
    ) -> Result<()>;
    fn OnAppForceShutdown(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        guidapp: &GUID,
    ) -> Result<()>;
}

Required Methods§

fn OnAppActivation( &self, pinfo: *const COMSVCSEVENTINFO, guidapp: &GUID, ) -> Result<()>

fn OnAppShutdown( &self, pinfo: *const COMSVCSEVENTINFO, guidapp: &GUID, ) -> Result<()>

fn OnAppForceShutdown( &self, pinfo: *const COMSVCSEVENTINFO, guidapp: &GUID, ) -> 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.

Implementors§