windows::Win32::System::RemoteDesktop

Trait ITSGAuthenticateUserSink_Impl

pub trait ITSGAuthenticateUserSink_Impl: IUnknownImpl {
    // Required methods
    fn OnUserAuthenticated(
        &self,
        username: &BSTR,
        userdomain: &BSTR,
        context: usize,
        usertoken: HANDLE_PTR,
    ) -> Result<()>;
    fn OnUserAuthenticationFailed(
        &self,
        context: usize,
        genericerrorcode: HRESULT,
        specificerrorcode: HRESULT,
    ) -> Result<()>;
    fn ReauthenticateUser(&self, context: usize) -> Result<()>;
    fn DisconnectUser(&self, context: usize) -> Result<()>;
}

Required Methods§

fn OnUserAuthenticated( &self, username: &BSTR, userdomain: &BSTR, context: usize, usertoken: HANDLE_PTR, ) -> Result<()>

fn OnUserAuthenticationFailed( &self, context: usize, genericerrorcode: HRESULT, specificerrorcode: HRESULT, ) -> Result<()>

fn ReauthenticateUser(&self, context: usize) -> Result<()>

fn DisconnectUser(&self, context: usize) -> 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§