Trait windows::Win32::System::RemoteDesktop::IWTSSBPlugin_Impl
pub trait IWTSSBPlugin_Impl: Sized {
// Required methods
fn Initialize(&self) -> Result<u32>;
fn WTSSBX_MachineChangeNotification(
&self,
notificationtype: WTSSBX_NOTIFICATION_TYPE,
machineid: i32,
pmachineinfo: *const WTSSBX_MACHINE_INFO,
) -> Result<()>;
fn WTSSBX_SessionChangeNotification(
&self,
notificationtype: WTSSBX_NOTIFICATION_TYPE,
machineid: i32,
numofsessions: u32,
sessioninfo: *const WTSSBX_SESSION_INFO,
) -> Result<()>;
fn WTSSBX_GetMostSuitableServer(
&self,
username: &PCWSTR,
domainname: &PCWSTR,
applicationtype: &PCWSTR,
farmname: &PCWSTR,
pmachineid: *mut i32,
) -> Result<()>;
fn Terminated(&self) -> Result<()>;
fn WTSSBX_GetUserExternalSession(
&self,
username: &PCWSTR,
domainname: &PCWSTR,
applicationtype: &PCWSTR,
redirectorinternalip: *const WTSSBX_IP_ADDRESS,
psessionid: *mut u32,
pmachineconnectinfo: *mut WTSSBX_MACHINE_CONNECT_INFO,
) -> Result<()>;
}
Required Methods§
fn Initialize(&self) -> Result<u32>
fn WTSSBX_MachineChangeNotification( &self, notificationtype: WTSSBX_NOTIFICATION_TYPE, machineid: i32, pmachineinfo: *const WTSSBX_MACHINE_INFO, ) -> Result<()>
fn WTSSBX_SessionChangeNotification( &self, notificationtype: WTSSBX_NOTIFICATION_TYPE, machineid: i32, numofsessions: u32, sessioninfo: *const WTSSBX_SESSION_INFO, ) -> Result<()>
fn WTSSBX_GetMostSuitableServer( &self, username: &PCWSTR, domainname: &PCWSTR, applicationtype: &PCWSTR, farmname: &PCWSTR, pmachineid: *mut i32, ) -> Result<()>
fn Terminated(&self) -> Result<()>
fn WTSSBX_GetUserExternalSession( &self, username: &PCWSTR, domainname: &PCWSTR, applicationtype: &PCWSTR, redirectorinternalip: *const WTSSBX_IP_ADDRESS, psessionid: *mut u32, pmachineconnectinfo: *mut WTSSBX_MACHINE_CONNECT_INFO, ) -> Result<()>
Object Safety§
This trait is not object safe.