Trait windows::Win32::System::RemoteDesktop::ITSGPolicyEngine_Impl
pub trait ITSGPolicyEngine_Impl: Sized {
// Required methods
fn AuthorizeConnection(
&self,
mainsessionid: &GUID,
username: &BSTR,
authtype: AAAuthSchemes,
clientmachineip: &BSTR,
clientmachinename: &BSTR,
sohdata: *const u8,
numsohbytes: u32,
cookiedata: *const u8,
numcookiebytes: u32,
usertoken: HANDLE_PTR,
psink: Option<&ITSGAuthorizeConnectionSink>,
) -> Result<()>;
fn AuthorizeResource(
&self,
mainsessionid: &GUID,
subsessionid: i32,
username: &BSTR,
resourcenames: *const BSTR,
numresources: u32,
alternateresourcenames: *const BSTR,
numalternateresourcename: u32,
portnumber: u32,
operation: &BSTR,
cookie: *const u8,
numbytesincookie: u32,
psink: Option<&ITSGAuthorizeResourceSink>,
) -> Result<()>;
fn Refresh(&self) -> Result<()>;
fn IsQuarantineEnabled(&self) -> Result<BOOL>;
}
Required Methods§
fn AuthorizeConnection( &self, mainsessionid: &GUID, username: &BSTR, authtype: AAAuthSchemes, clientmachineip: &BSTR, clientmachinename: &BSTR, sohdata: *const u8, numsohbytes: u32, cookiedata: *const u8, numcookiebytes: u32, usertoken: HANDLE_PTR, psink: Option<&ITSGAuthorizeConnectionSink>, ) -> Result<()>
fn AuthorizeResource( &self, mainsessionid: &GUID, subsessionid: i32, username: &BSTR, resourcenames: *const BSTR, numresources: u32, alternateresourcenames: *const BSTR, numalternateresourcename: u32, portnumber: u32, operation: &BSTR, cookie: *const u8, numbytesincookie: u32, psink: Option<&ITSGAuthorizeResourceSink>, ) -> Result<()>
fn Refresh(&self) -> Result<()>
fn IsQuarantineEnabled(&self) -> Result<BOOL>
Object Safety§
This trait is not object safe.