windows::Win32::System::RemoteDesktop

Trait IWTSProtocolManager_Impl

pub trait IWTSProtocolManager_Impl: IUnknownImpl {
    // Required methods
    fn CreateListener(
        &self,
        wszlistenername: &PCWSTR,
    ) -> Result<IWTSProtocolListener>;
    fn NotifyServiceStateChange(
        &self,
        ptsservicestatechange: *const WTS_SERVICE_STATE,
    ) -> Result<()>;
    fn NotifySessionOfServiceStart(
        &self,
        sessionid: *const WTS_SESSION_ID,
    ) -> Result<()>;
    fn NotifySessionOfServiceStop(
        &self,
        sessionid: *const WTS_SESSION_ID,
    ) -> Result<()>;
    fn NotifySessionStateChange(
        &self,
        sessionid: *const WTS_SESSION_ID,
        eventid: u32,
    ) -> Result<()>;
}

Required Methods§

fn CreateListener( &self, wszlistenername: &PCWSTR, ) -> Result<IWTSProtocolListener>

fn NotifyServiceStateChange( &self, ptsservicestatechange: *const WTS_SERVICE_STATE, ) -> Result<()>

fn NotifySessionOfServiceStart( &self, sessionid: *const WTS_SESSION_ID, ) -> Result<()>

fn NotifySessionOfServiceStop( &self, sessionid: *const WTS_SESSION_ID, ) -> Result<()>

fn NotifySessionStateChange( &self, sessionid: *const WTS_SESSION_ID, eventid: 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§