Trait windows::Win32::System::RemoteDesktop::ITsSbSession_Impl
pub trait ITsSbSession_Impl: Sized {
Show 17 methods
// Required methods
fn SessionId(&self) -> Result<u32>;
fn TargetName(&self) -> Result<BSTR>;
fn SetTargetName(&self, targetname: &BSTR) -> Result<()>;
fn Username(&self) -> Result<BSTR>;
fn Domain(&self) -> Result<BSTR>;
fn State(&self) -> Result<TSSESSION_STATE>;
fn SetState(&self, state: TSSESSION_STATE) -> Result<()>;
fn CreateTime(&self) -> Result<FILETIME>;
fn SetCreateTime(&self, time: &FILETIME) -> Result<()>;
fn DisconnectTime(&self) -> Result<FILETIME>;
fn SetDisconnectTime(&self, time: &FILETIME) -> Result<()>;
fn InitialProgram(&self) -> Result<BSTR>;
fn SetInitialProgram(&self, application: &BSTR) -> Result<()>;
fn ClientDisplay(&self) -> Result<CLIENT_DISPLAY>;
fn SetClientDisplay(&self, pclientdisplay: &CLIENT_DISPLAY) -> Result<()>;
fn ProtocolType(&self) -> Result<u32>;
fn SetProtocolType(&self, val: u32) -> Result<()>;
}
Required Methods§
fn SessionId(&self) -> Result<u32>
fn TargetName(&self) -> Result<BSTR>
fn SetTargetName(&self, targetname: &BSTR) -> Result<()>
fn Username(&self) -> Result<BSTR>
fn Domain(&self) -> Result<BSTR>
fn State(&self) -> Result<TSSESSION_STATE>
fn SetState(&self, state: TSSESSION_STATE) -> Result<()>
fn CreateTime(&self) -> Result<FILETIME>
fn SetCreateTime(&self, time: &FILETIME) -> Result<()>
fn DisconnectTime(&self) -> Result<FILETIME>
fn SetDisconnectTime(&self, time: &FILETIME) -> Result<()>
fn InitialProgram(&self) -> Result<BSTR>
fn SetInitialProgram(&self, application: &BSTR) -> Result<()>
fn ClientDisplay(&self) -> Result<CLIENT_DISPLAY>
fn SetClientDisplay(&self, pclientdisplay: &CLIENT_DISPLAY) -> Result<()>
fn ProtocolType(&self) -> Result<u32>
fn SetProtocolType(&self, val: u32) -> Result<()>
Object Safety§
This trait is not object safe.