pub trait IWRdsProtocolManager_Impl: Sized {
    // Required methods
    fn Initialize(
        &self,
        piwrdssettings: Option<&IWRdsProtocolSettings>,
        pwrdssettings: *const WRDS_SETTINGS,
    ) -> Result<()>;
    fn CreateListener(
        &self,
        wszlistenername: &PCWSTR,
    ) -> Result<IWRdsProtocolListener>;
    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<()>;
    fn NotifySettingsChange(
        &self,
        pwrdssettings: *const WRDS_SETTINGS,
    ) -> Result<()>;
    fn Uninitialize(&self) -> Result<()>;
}

Required Methods§

fn Initialize( &self, piwrdssettings: Option<&IWRdsProtocolSettings>, pwrdssettings: *const WRDS_SETTINGS, ) -> Result<()>

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

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<()>

fn NotifySettingsChange( &self, pwrdssettings: *const WRDS_SETTINGS, ) -> Result<()>

fn Uninitialize(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§