#[repr(C)]
pub struct WINSTATIONCLIENT {
Show 35 fields pub padding_0: u16, pub ClientName: [u16; 21], pub Domain: [u16; 18], pub UserName: [u16; 21], pub Password: [u16; 15], pub WorkDirectory: [u16; 257], pub InitialProgram: [u16; 257], pub SerialNumber: u32, pub EncryptionLevel: u8, pub ClientAddressFamily: u32, pub ClientAddress: [u16; 31], pub HRes: u16, pub VRes: u16, pub ColorDepth: u16, pub ProtocolType: u16, pub KeyboardLayout: u32, pub KeyboardType: u32, pub KeyboardSubType: u32, pub KeyboardFunctionKey: u32, pub ImeFileName: [u16; 33], pub ClientDirectory: [u16; 257], pub ClientLicense: [u16; 33], pub ClientModem: [u16; 41], pub ClientBuildNumber: u32, pub ClientHardwareId: u32, pub ClientProductId: u16, pub OutBufCountHost: u16, pub OutBufCountClient: u16, pub OutBufLength: u16, pub AudioDriverName: [u16; 9], pub ClientTimeZone: RTL_TIME_ZONE_INFORMATION, pub ClientSessionId: u32, pub ClientDigProductId: [u16; 32], pub PerformanceFlags: u32, pub ActiveInputLocale: u32, /* private fields */
}

Fieldsยง

ยงpadding_0: u16ยงClientName: [u16; 21]ยงDomain: [u16; 18]ยงUserName: [u16; 21]ยงPassword: [u16; 15]ยงWorkDirectory: [u16; 257]ยงInitialProgram: [u16; 257]ยงSerialNumber: u32ยงEncryptionLevel: u8ยงClientAddressFamily: u32ยงClientAddress: [u16; 31]ยงHRes: u16ยงVRes: u16ยงColorDepth: u16ยงProtocolType: u16ยงKeyboardLayout: u32ยงKeyboardType: u32ยงKeyboardSubType: u32ยงKeyboardFunctionKey: u32ยงImeFileName: [u16; 33]ยงClientDirectory: [u16; 257]ยงClientLicense: [u16; 33]ยงClientModem: [u16; 41]ยงClientBuildNumber: u32ยงClientHardwareId: u32ยงClientProductId: u16ยงOutBufCountHost: u16ยงOutBufCountClient: u16ยงOutBufLength: u16ยงAudioDriverName: [u16; 9]ยงClientTimeZone: RTL_TIME_ZONE_INFORMATIONยงClientSessionId: u32ยงClientDigProductId: [u16; 32]ยงPerformanceFlags: u32ยงActiveInputLocale: u32

Implementationsยง

sourceยง

impl WINSTATIONCLIENT

source

pub fn fTextOnly(&self) -> u32

source

pub fn set_fTextOnly(&mut self, val: u32)

source

pub fn fDisableCtrlAltDel(&self) -> u32

source

pub fn set_fDisableCtrlAltDel(&mut self, val: u32)

source

pub fn fMouse(&self) -> u32

source

pub fn set_fMouse(&mut self, val: u32)

source

pub fn fDoubleClickDetect(&self) -> u32

source

pub fn set_fDoubleClickDetect(&mut self, val: u32)

source

pub fn fINetClient(&self) -> u32

source

pub fn set_fINetClient(&mut self, val: u32)

source

pub fn fPromptForPassword(&self) -> u32

source

pub fn set_fPromptForPassword(&mut self, val: u32)

source

pub fn fMaximizeShell(&self) -> u32

source

pub fn set_fMaximizeShell(&mut self, val: u32)

source

pub fn fEnableWindowsKey(&self) -> u32

source

pub fn set_fEnableWindowsKey(&mut self, val: u32)

source

pub fn fRemoteConsoleAudio(&self) -> u32

source

pub fn set_fRemoteConsoleAudio(&mut self, val: u32)

source

pub fn fPasswordIsScPin(&self) -> u32

source

pub fn set_fPasswordIsScPin(&mut self, val: u32)

source

pub fn fNoAudioPlayback(&self) -> u32

source

pub fn set_fNoAudioPlayback(&mut self, val: u32)

source

pub fn fUsingSavedCreds(&self) -> u32

source

pub fn set_fUsingSavedCreds(&mut self, val: u32)

source

pub fn new_bitfield_1( fTextOnly: u32, fDisableCtrlAltDel: u32, fMouse: u32, fDoubleClickDetect: u32, fINetClient: u32, fPromptForPassword: u32, fMaximizeShell: u32, fEnableWindowsKey: u32, fRemoteConsoleAudio: u32, fPasswordIsScPin: u32, fNoAudioPlayback: u32, fUsingSavedCreds: u32 ) -> BitfieldUnit<[u8; 2]>

Trait Implementationsยง

sourceยง

impl Debug for WINSTATIONCLIENT

sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
sourceยง

impl Default for WINSTATIONCLIENT

sourceยง

fn default() -> Self

Returns the โ€œdefault valueโ€ for a type. Read more

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.