pub trait IWRdsProtocolConnection_Impl: Sized {
Show 24 methods
// Required methods
fn GetLogonErrorRedirector(
&self,
) -> Result<IWRdsProtocolLogonErrorRedirector>;
fn AcceptConnection(&self) -> Result<()>;
fn GetClientData(&self, pclientdata: *mut WTS_CLIENT_DATA) -> Result<()>;
fn GetClientMonitorData(
&self,
pnummonitors: *mut u32,
pprimarymonitor: *mut u32,
) -> Result<()>;
fn GetUserCredentials(
&self,
pusercreds: *mut WTS_USER_CREDENTIAL,
) -> Result<()>;
fn GetLicenseConnection(&self) -> Result<IWRdsProtocolLicenseConnection>;
fn AuthenticateClientToSession(
&self,
sessionid: *mut WTS_SESSION_ID,
) -> Result<()>;
fn NotifySessionId(
&self,
sessionid: *const WTS_SESSION_ID,
sessionhandle: HANDLE_PTR,
) -> Result<()>;
fn GetInputHandles(
&self,
pkeyboardhandle: *mut HANDLE_PTR,
pmousehandle: *mut HANDLE_PTR,
pbeephandle: *mut HANDLE_PTR,
) -> Result<()>;
fn GetVideoHandle(&self) -> Result<HANDLE_PTR>;
fn ConnectNotify(&self, sessionid: u32) -> Result<()>;
fn IsUserAllowedToLogon(
&self,
sessionid: u32,
usertoken: HANDLE_PTR,
pdomainname: &PCWSTR,
pusername: &PCWSTR,
) -> Result<()>;
fn SessionArbitrationEnumeration(
&self,
husertoken: HANDLE_PTR,
bsinglesessionperuserenabled: BOOL,
psessionidarray: *mut u32,
pdwsessionidentifiercount: *mut u32,
) -> Result<()>;
fn LogonNotify(
&self,
hclienttoken: HANDLE_PTR,
wszusername: &PCWSTR,
wszdomainname: &PCWSTR,
sessionid: *const WTS_SESSION_ID,
pwrdsconnectionsettings: *mut WRDS_CONNECTION_SETTINGS,
) -> Result<()>;
fn PreDisconnect(&self, disconnectreason: u32) -> Result<()>;
fn DisconnectNotify(&self) -> Result<()>;
fn Close(&self) -> Result<()>;
fn GetProtocolStatus(
&self,
pprotocolstatus: *mut WTS_PROTOCOL_STATUS,
) -> Result<()>;
fn GetLastInputTime(&self) -> Result<u64>;
fn SetErrorInfo(&self, ulerror: u32) -> Result<()>;
fn CreateVirtualChannel(
&self,
szendpointname: &PCSTR,
bstatic: BOOL,
requestedpriority: u32,
) -> Result<usize>;
fn QueryProperty(
&self,
querytype: &GUID,
ulnumentriesin: u32,
ulnumentriesout: u32,
ppropertyentriesin: *const WTS_PROPERTY_VALUE,
ppropertyentriesout: *mut WTS_PROPERTY_VALUE,
) -> Result<()>;
fn GetShadowConnection(&self) -> Result<IWRdsProtocolShadowConnection>;
fn NotifyCommandProcessCreated(&self, sessionid: u32) -> Result<()>;
}
Required Methods§
fn GetLogonErrorRedirector(&self) -> Result<IWRdsProtocolLogonErrorRedirector>
fn AcceptConnection(&self) -> Result<()>
fn GetClientData(&self, pclientdata: *mut WTS_CLIENT_DATA) -> Result<()>
fn GetClientMonitorData( &self, pnummonitors: *mut u32, pprimarymonitor: *mut u32, ) -> Result<()>
fn GetUserCredentials(&self, pusercreds: *mut WTS_USER_CREDENTIAL) -> Result<()>
fn GetLicenseConnection(&self) -> Result<IWRdsProtocolLicenseConnection>
fn AuthenticateClientToSession( &self, sessionid: *mut WTS_SESSION_ID, ) -> Result<()>
fn NotifySessionId( &self, sessionid: *const WTS_SESSION_ID, sessionhandle: HANDLE_PTR, ) -> Result<()>
fn GetInputHandles( &self, pkeyboardhandle: *mut HANDLE_PTR, pmousehandle: *mut HANDLE_PTR, pbeephandle: *mut HANDLE_PTR, ) -> Result<()>
fn GetVideoHandle(&self) -> Result<HANDLE_PTR>
fn ConnectNotify(&self, sessionid: u32) -> Result<()>
fn IsUserAllowedToLogon( &self, sessionid: u32, usertoken: HANDLE_PTR, pdomainname: &PCWSTR, pusername: &PCWSTR, ) -> Result<()>
fn SessionArbitrationEnumeration( &self, husertoken: HANDLE_PTR, bsinglesessionperuserenabled: BOOL, psessionidarray: *mut u32, pdwsessionidentifiercount: *mut u32, ) -> Result<()>
fn LogonNotify( &self, hclienttoken: HANDLE_PTR, wszusername: &PCWSTR, wszdomainname: &PCWSTR, sessionid: *const WTS_SESSION_ID, pwrdsconnectionsettings: *mut WRDS_CONNECTION_SETTINGS, ) -> Result<()>
fn PreDisconnect(&self, disconnectreason: u32) -> Result<()>
fn DisconnectNotify(&self) -> Result<()>
fn Close(&self) -> Result<()>
fn GetProtocolStatus( &self, pprotocolstatus: *mut WTS_PROTOCOL_STATUS, ) -> Result<()>
fn GetLastInputTime(&self) -> Result<u64>
fn SetErrorInfo(&self, ulerror: u32) -> Result<()>
fn CreateVirtualChannel( &self, szendpointname: &PCSTR, bstatic: BOOL, requestedpriority: u32, ) -> Result<usize>
fn QueryProperty( &self, querytype: &GUID, ulnumentriesin: u32, ulnumentriesout: u32, ppropertyentriesin: *const WTS_PROPERTY_VALUE, ppropertyentriesout: *mut WTS_PROPERTY_VALUE, ) -> Result<()>
fn GetShadowConnection(&self) -> Result<IWRdsProtocolShadowConnection>
fn NotifyCommandProcessCreated(&self, sessionid: u32) -> Result<()>
Object Safety§
This trait is not object safe.