windows::Win32::System::EventNotificationService

Trait ISensLogon2_Impl

pub trait ISensLogon2_Impl: IDispatch_Impl {
    // Required methods
    fn Logon(&self, bstrusername: &BSTR, dwsessionid: u32) -> Result<()>;
    fn Logoff(&self, bstrusername: &BSTR, dwsessionid: u32) -> Result<()>;
    fn SessionDisconnect(
        &self,
        bstrusername: &BSTR,
        dwsessionid: u32,
    ) -> Result<()>;
    fn SessionReconnect(
        &self,
        bstrusername: &BSTR,
        dwsessionid: u32,
    ) -> Result<()>;
    fn PostShell(&self, bstrusername: &BSTR, dwsessionid: u32) -> Result<()>;
}

Required Methods§

fn Logon(&self, bstrusername: &BSTR, dwsessionid: u32) -> Result<()>

fn Logoff(&self, bstrusername: &BSTR, dwsessionid: u32) -> Result<()>

fn SessionDisconnect(&self, bstrusername: &BSTR, dwsessionid: u32) -> Result<()>

fn SessionReconnect(&self, bstrusername: &BSTR, dwsessionid: u32) -> Result<()>

fn PostShell(&self, bstrusername: &BSTR, dwsessionid: u32) -> 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§