#[repr(C)]
pub struct WTS_CLIENT_DATA {
Show 55 fields pub fDisableCtrlAltDel: BOOLEAN, pub fDoubleClickDetect: BOOLEAN, pub fEnableWindowsKey: BOOLEAN, pub fHideTitleBar: BOOLEAN, pub fInheritAutoLogon: BOOL, pub fPromptForPassword: BOOLEAN, pub fUsingSavedCreds: BOOLEAN, pub Domain: [u16; 256], pub UserName: [u16; 256], pub Password: [u16; 256], pub fPasswordIsScPin: BOOLEAN, pub fInheritInitialProgram: BOOL, pub WorkDirectory: [u16; 257], pub InitialProgram: [u16; 257], pub fMaximizeShell: BOOLEAN, pub EncryptionLevel: u8, pub PerformanceFlags: u32, pub ProtocolName: [u16; 9], pub ProtocolType: u16, pub fInheritColorDepth: BOOL, pub HRes: u16, pub VRes: u16, pub ColorDepth: u16, pub DisplayDriverName: [u16; 9], pub DisplayDeviceName: [u16; 20], pub fMouse: BOOLEAN, pub KeyboardLayout: u32, pub KeyboardType: u32, pub KeyboardSubType: u32, pub KeyboardFunctionKey: u32, pub imeFileName: [u16; 33], pub ActiveInputLocale: u32, pub fNoAudioPlayback: BOOLEAN, pub fRemoteConsoleAudio: BOOLEAN, pub AudioDriverName: [u16; 9], pub ClientTimeZone: WTS_TIME_ZONE_INFORMATION, pub ClientName: [u16; 21], pub SerialNumber: u32, pub ClientAddressFamily: u32, pub ClientAddress: [u16; 31], pub ClientSockAddress: WTS_SOCKADDR, pub ClientDirectory: [u16; 257], pub ClientBuildNumber: u32, pub ClientProductId: u16, pub OutBufCountHost: u16, pub OutBufCountClient: u16, pub OutBufLength: u16, pub ClientSessionId: u32, pub ClientDigProductId: [u16; 33], pub fDisableCpm: BOOLEAN, pub fDisableCdm: BOOLEAN, pub fDisableCcm: BOOLEAN, pub fDisableLPT: BOOLEAN, pub fDisableClip: BOOLEAN, pub fDisablePNP: BOOLEAN,
}
Expand description

Required features: "Win32_Foundation"

Fields§

§fDisableCtrlAltDel: BOOLEAN§fDoubleClickDetect: BOOLEAN§fEnableWindowsKey: BOOLEAN§fHideTitleBar: BOOLEAN§fInheritAutoLogon: BOOL§fPromptForPassword: BOOLEAN§fUsingSavedCreds: BOOLEAN§Domain: [u16; 256]§UserName: [u16; 256]§Password: [u16; 256]§fPasswordIsScPin: BOOLEAN§fInheritInitialProgram: BOOL§WorkDirectory: [u16; 257]§InitialProgram: [u16; 257]§fMaximizeShell: BOOLEAN§EncryptionLevel: u8§PerformanceFlags: u32§ProtocolName: [u16; 9]§ProtocolType: u16§fInheritColorDepth: BOOL§HRes: u16§VRes: u16§ColorDepth: u16§DisplayDriverName: [u16; 9]§DisplayDeviceName: [u16; 20]§fMouse: BOOLEAN§KeyboardLayout: u32§KeyboardType: u32§KeyboardSubType: u32§KeyboardFunctionKey: u32§imeFileName: [u16; 33]§ActiveInputLocale: u32§fNoAudioPlayback: BOOLEAN§fRemoteConsoleAudio: BOOLEAN§AudioDriverName: [u16; 9]§ClientTimeZone: WTS_TIME_ZONE_INFORMATION§ClientName: [u16; 21]§SerialNumber: u32§ClientAddressFamily: u32§ClientAddress: [u16; 31]§ClientSockAddress: WTS_SOCKADDR§ClientDirectory: [u16; 257]§ClientBuildNumber: u32§ClientProductId: u16§OutBufCountHost: u16§OutBufCountClient: u16§OutBufLength: u16§ClientSessionId: u32§ClientDigProductId: [u16; 33]§fDisableCpm: BOOLEAN§fDisableCdm: BOOLEAN§fDisableCcm: BOOLEAN§fDisableLPT: BOOLEAN§fDisableClip: BOOLEAN§fDisablePNP: BOOLEAN

Trait Implementations§

§

impl Clone for WTS_CLIENT_DATA

§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for WTS_CLIENT_DATA

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.