Trait windows::Win32::System::RemoteDesktop::ITsSbTarget_Impl
pub trait ITsSbTarget_Impl: Sized {
Show 19 methods
// Required methods
fn TargetName(&self) -> Result<BSTR>;
fn SetTargetName(&self, val: &BSTR) -> Result<()>;
fn FarmName(&self) -> Result<BSTR>;
fn SetFarmName(&self, val: &BSTR) -> Result<()>;
fn TargetFQDN(&self) -> Result<BSTR>;
fn SetTargetFQDN(&self, val: &BSTR) -> Result<()>;
fn TargetNetbios(&self) -> Result<BSTR>;
fn SetTargetNetbios(&self, val: &BSTR) -> Result<()>;
fn get_IpAddresses(
&self,
sockaddr: *mut TSSD_ConnectionPoint,
numaddresses: *mut u32,
) -> Result<()>;
fn put_IpAddresses(
&self,
sockaddr: *const TSSD_ConnectionPoint,
numaddresses: u32,
) -> Result<()>;
fn TargetState(&self) -> Result<TARGET_STATE>;
fn SetTargetState(&self, state: TARGET_STATE) -> Result<()>;
fn TargetPropertySet(&self) -> Result<ITsSbTargetPropertySet>;
fn SetTargetPropertySet(
&self,
pval: Option<&ITsSbTargetPropertySet>,
) -> Result<()>;
fn EnvironmentName(&self) -> Result<BSTR>;
fn SetEnvironmentName(&self, val: &BSTR) -> Result<()>;
fn NumSessions(&self) -> Result<u32>;
fn NumPendingConnections(&self) -> Result<u32>;
fn TargetLoad(&self) -> Result<u32>;
}
Required Methods§
fn TargetName(&self) -> Result<BSTR>
fn SetTargetName(&self, val: &BSTR) -> Result<()>
fn FarmName(&self) -> Result<BSTR>
fn SetFarmName(&self, val: &BSTR) -> Result<()>
fn TargetFQDN(&self) -> Result<BSTR>
fn SetTargetFQDN(&self, val: &BSTR) -> Result<()>
fn TargetNetbios(&self) -> Result<BSTR>
fn SetTargetNetbios(&self, val: &BSTR) -> Result<()>
fn get_IpAddresses( &self, sockaddr: *mut TSSD_ConnectionPoint, numaddresses: *mut u32, ) -> Result<()>
fn put_IpAddresses( &self, sockaddr: *const TSSD_ConnectionPoint, numaddresses: u32, ) -> Result<()>
fn TargetState(&self) -> Result<TARGET_STATE>
fn SetTargetState(&self, state: TARGET_STATE) -> Result<()>
fn TargetPropertySet(&self) -> Result<ITsSbTargetPropertySet>
fn SetTargetPropertySet( &self, pval: Option<&ITsSbTargetPropertySet>, ) -> Result<()>
fn EnvironmentName(&self) -> Result<BSTR>
fn SetEnvironmentName(&self, val: &BSTR) -> Result<()>
fn NumSessions(&self) -> Result<u32>
fn NumPendingConnections(&self) -> Result<u32>
fn TargetLoad(&self) -> Result<u32>
Object Safety§
This trait is not object safe.