Struct ntapi::winsta::USERCONFIG

source ·
#[repr(C)]
pub struct USERCONFIG {
Show 20 fields pub Bitfields: ULONG, pub Bitfields2: ULONG, pub UserName: [WCHAR; 21], pub Domain: [WCHAR; 18], pub Password: [WCHAR; 15], pub WorkDirectory: [WCHAR; 257], pub InitialProgram: [WCHAR; 257], pub CallbackNumber: [WCHAR; 51], pub Callback: CALLBACKCLASS, pub Shadow: SHADOWCLASS, pub MaxConnectionTime: ULONG, pub MaxDisconnectionTime: ULONG, pub MaxIdleTime: ULONG, pub KeyboardLayout: ULONG, pub MinEncryptionLevel: BYTE, pub NWLogonServer: [WCHAR; 48], pub PublishedName: [WCHAR; 65], pub WFProfilePath: [WCHAR; 257], pub WFHomeDir: [WCHAR; 257], pub WFHomeDirDrive: [WCHAR; 4],
}

Fields§

§Bitfields: ULONG§Bitfields2: ULONG§UserName: [WCHAR; 21]§Domain: [WCHAR; 18]§Password: [WCHAR; 15]§WorkDirectory: [WCHAR; 257]§InitialProgram: [WCHAR; 257]§CallbackNumber: [WCHAR; 51]§Callback: CALLBACKCLASS§Shadow: SHADOWCLASS§MaxConnectionTime: ULONG§MaxDisconnectionTime: ULONG§MaxIdleTime: ULONG§KeyboardLayout: ULONG§MinEncryptionLevel: BYTE§NWLogonServer: [WCHAR; 48]§PublishedName: [WCHAR; 65]§WFProfilePath: [WCHAR; 257]§WFHomeDir: [WCHAR; 257]§WFHomeDirDrive: [WCHAR; 4]

Implementations§

source§

impl USERCONFIG

source

pub const fn fInheritAutoLogon(&self) -> ULONG

source

pub fn set_fInheritAutoLogon(&mut self, val: ULONG)

source

pub const fn fInheritResetBroken(&self) -> ULONG

source

pub fn set_fInheritResetBroken(&mut self, val: ULONG)

source

pub const fn fInheritReconnectSame(&self) -> ULONG

source

pub fn set_fInheritReconnectSame(&mut self, val: ULONG)

source

pub const fn fInheritInitialProgram(&self) -> ULONG

source

pub fn set_fInheritInitialProgram(&mut self, val: ULONG)

source

pub const fn fInheritCallback(&self) -> ULONG

source

pub fn set_fInheritCallback(&mut self, val: ULONG)

source

pub const fn fInheritCallbackNumber(&self) -> ULONG

source

pub fn set_fInheritCallbackNumber(&mut self, val: ULONG)

source

pub const fn fInheritShadow(&self) -> ULONG

source

pub fn set_fInheritShadow(&mut self, val: ULONG)

source

pub const fn fInheritMaxSessionTime(&self) -> ULONG

source

pub fn set_fInheritMaxSessionTime(&mut self, val: ULONG)

source

pub const fn fInheritMaxDisconnectionTime(&self) -> ULONG

source

pub fn set_fInheritMaxDisconnectionTime(&mut self, val: ULONG)

source

pub const fn fInheritMaxIdleTime(&self) -> ULONG

source

pub fn set_fInheritMaxIdleTime(&mut self, val: ULONG)

source

pub const fn fInheritAutoClient(&self) -> ULONG

source

pub fn set_fInheritAutoClient(&mut self, val: ULONG)

source

pub const fn fInheritSecurity(&self) -> ULONG

source

pub fn set_fInheritSecurity(&mut self, val: ULONG)

source

pub const fn fPromptForPassword(&self) -> ULONG

source

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

source

pub const fn fResetBroken(&self) -> ULONG

source

pub fn set_fResetBroken(&mut self, val: ULONG)

source

pub const fn fReconnectSame(&self) -> ULONG

source

pub fn set_fReconnectSame(&mut self, val: ULONG)

source

pub const fn fLogonDisabled(&self) -> ULONG

source

pub fn set_fLogonDisabled(&mut self, val: ULONG)

source

pub const fn fWallPaperDisabled(&self) -> ULONG

source

pub fn set_fWallPaperDisabled(&mut self, val: ULONG)

source

pub const fn fAutoClientDrives(&self) -> ULONG

source

pub fn set_fAutoClientDrives(&mut self, val: ULONG)

source

pub const fn fAutoClientLpts(&self) -> ULONG

source

pub fn set_fAutoClientLpts(&mut self, val: ULONG)

source

pub const fn fForceClientLptDef(&self) -> ULONG

source

pub fn set_fForceClientLptDef(&mut self, val: ULONG)

source

pub const fn fRequireEncryption(&self) -> ULONG

source

pub fn set_fRequireEncryption(&mut self, val: ULONG)

source

pub const fn fDisableEncryption(&self) -> ULONG

source

pub fn set_fDisableEncryption(&mut self, val: ULONG)

source

pub const fn fUnused1(&self) -> ULONG

source

pub fn set_fUnused1(&mut self, val: ULONG)

source

pub const fn fHomeDirectoryMapRoot(&self) -> ULONG

source

pub fn set_fHomeDirectoryMapRoot(&mut self, val: ULONG)

source

pub const fn fUseDefaultGina(&self) -> ULONG

source

pub fn set_fUseDefaultGina(&mut self, val: ULONG)

source

pub const fn fCursorBlinkDisabled(&self) -> ULONG

source

pub fn set_fCursorBlinkDisabled(&mut self, val: ULONG)

source

pub const fn fPublishedApp(&self) -> ULONG

source

pub fn set_fPublishedApp(&mut self, val: ULONG)

source

pub const fn fHideTitleBar(&self) -> ULONG

source

pub fn set_fHideTitleBar(&mut self, val: ULONG)

source

pub const fn fMaximize(&self) -> ULONG

source

pub fn set_fMaximize(&mut self, val: ULONG)

source

pub const fn fDisableCpm(&self) -> ULONG

source

pub fn set_fDisableCpm(&mut self, val: ULONG)

source

pub const fn fDisableCdm(&self) -> ULONG

source

pub fn set_fDisableCdm(&mut self, val: ULONG)

source

pub const fn fDisableCcm(&self) -> ULONG

source

pub fn set_fDisableCcm(&mut self, val: ULONG)

source§

impl USERCONFIG

source

pub const fn fDisableLPT(&self) -> ULONG

source

pub fn set_fDisableLPT(&mut self, val: ULONG)

source

pub const fn fDisableClip(&self) -> ULONG

source

pub fn set_fDisableClip(&mut self, val: ULONG)

source

pub const fn fDisableExe(&self) -> ULONG

source

pub fn set_fDisableExe(&mut self, val: ULONG)

source

pub const fn fDisableCam(&self) -> ULONG

source

pub fn set_fDisableCam(&mut self, val: ULONG)

source

pub const fn fDisableAutoReconnect(&self) -> ULONG

source

pub fn set_fDisableAutoReconnect(&mut self, val: ULONG)

source

pub const fn ColorDepth(&self) -> ULONG

source

pub fn set_ColorDepth(&mut self, val: ULONG)

source

pub const fn fInheritColorDepth(&self) -> ULONG

source

pub fn set_fInheritColorDepth(&mut self, val: ULONG)

source

pub const fn fErrorInvalidProfile(&self) -> ULONG

source

pub fn set_fErrorInvalidProfile(&mut self, val: ULONG)

source

pub const fn fPasswordIsScPin(&self) -> ULONG

source

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

source

pub const fn fDisablePNPRedir(&self) -> ULONG

source

pub fn set_fDisablePNPRedir(&mut self, val: ULONG)

Trait Implementations§

source§

impl Clone for USERCONFIG

source§

fn clone(&self) -> USERCONFIG

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
source§

impl Copy for USERCONFIG

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.