Trait IWRdsProtocolManager_Impl
pub trait IWRdsProtocolManager_Impl: IUnknownImpl {
// Required methods
fn Initialize(
&self,
piwrdssettings: Ref<'_, 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: Ref<'_, 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<()>
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.