#[repr(C)]
#[repr(packed(4))]
pub struct KUSER_SHARED_DATA {
Show 77 fields pub TickCountLowDeprecated: ULONG, pub TickCountMultiplier: ULONG, pub InterruptTime: KSYSTEM_TIME, pub SystemTime: KSYSTEM_TIME, pub TimeZoneBias: KSYSTEM_TIME, pub ImageNumberLow: USHORT, pub ImageNumberHigh: USHORT, pub NtSystemRoot: [WCHAR; 260], pub MaxStackTraceDepth: ULONG, pub CryptoExponent: ULONG, pub TimeZoneId: ULONG, pub LargePageMinimum: ULONG, pub AitSamplingValue: ULONG, pub AppCompatFlag: ULONG, pub RNGSeedVersion: ULONGLONG, pub GlobalValidationRunlevel: ULONG, pub TimeZoneBiasStamp: LONG, pub NtBuildNumber: ULONG, pub NtProductType: NT_PRODUCT_TYPE, pub ProductTypeIsValid: BOOLEAN, pub Reserved0: [UCHAR; 1], pub NativeProcessorArchitecture: USHORT, pub NtMajorVersion: ULONG, pub NtMinorVersion: ULONG, pub ProcessorFeatures: [BOOLEAN; 64], pub Reserved1: ULONG, pub Reserved3: ULONG, pub TimeSlip: ULONG, pub AlternativeArchitecture: ALTERNATIVE_ARCHITECTURE_TYPE, pub BootId: ULONG, pub SystemExpirationDate: LARGE_INTEGER, pub SuiteMask: ULONG, pub KdDebuggerEnabled: BOOLEAN, pub MitigationPolicies: UCHAR, pub Reserved6: [UCHAR; 2], pub ActiveConsoleId: ULONG, pub DismountCount: ULONG, pub ComPlusPackage: ULONG, pub LastSystemRITEventTickCount: ULONG, pub NumberOfPhysicalPages: ULONG, pub SafeBootMode: BOOLEAN, pub VirtualizationFlags: UCHAR, pub Reserved12: [UCHAR; 2], pub SharedDataFlags: ULONG, pub DataFlagsPad: [ULONG; 1], pub TestRetInstruction: ULONGLONG, pub QpcFrequency: LONGLONG, pub SystemCall: ULONG, pub SystemCallPad0: ULONG, pub SystemCallPad: [ULONGLONG; 2], pub u: KUSER_SHARED_DATA_u, pub Cookie: ULONG, pub CookiePad: [ULONG; 1], pub ConsoleSessionForegroundProcessId: LONGLONG, pub TimeUpdateLock: ULONGLONG, pub BaselineSystemTimeQpc: ULONGLONG, pub BaselineInterruptTimeQpc: ULONGLONG, pub QpcSystemTimeIncrement: ULONGLONG, pub QpcInterruptTimeIncrement: ULONGLONG, pub QpcSystemTimeIncrementShift: UCHAR, pub QpcInterruptTimeIncrementShift: UCHAR, pub UnparkedProcessorCount: USHORT, pub EnclaveFeatureMask: [ULONG; 4], pub TelemetryCoverageRound: ULONG, pub UserModeGlobalLogger: [USHORT; 16], pub ImageFileExecutionOptions: ULONG, pub LangGenerationCount: ULONG, pub Reserved4: ULONGLONG, pub InterruptTimeBias: ULONG64, pub QpcBias: ULONG64, pub ActiveProcessorCount: ULONG, pub ActiveGroupCount: UCHAR, pub Reserved9: UCHAR, pub QpcData: UCHAR, pub TimeZoneBiasEffectiveStart: LARGE_INTEGER, pub TimeZoneBiasEffectiveEnd: LARGE_INTEGER, pub XState: XSTATE_CONFIGURATION,
}

Fields§

§TickCountLowDeprecated: ULONG§TickCountMultiplier: ULONG§InterruptTime: KSYSTEM_TIME§SystemTime: KSYSTEM_TIME§TimeZoneBias: KSYSTEM_TIME§ImageNumberLow: USHORT§ImageNumberHigh: USHORT§NtSystemRoot: [WCHAR; 260]§MaxStackTraceDepth: ULONG§CryptoExponent: ULONG§TimeZoneId: ULONG§LargePageMinimum: ULONG§AitSamplingValue: ULONG§AppCompatFlag: ULONG§RNGSeedVersion: ULONGLONG§GlobalValidationRunlevel: ULONG§TimeZoneBiasStamp: LONG§NtBuildNumber: ULONG§NtProductType: NT_PRODUCT_TYPE§ProductTypeIsValid: BOOLEAN§Reserved0: [UCHAR; 1]§NativeProcessorArchitecture: USHORT§NtMajorVersion: ULONG§NtMinorVersion: ULONG§ProcessorFeatures: [BOOLEAN; 64]§Reserved1: ULONG§Reserved3: ULONG§TimeSlip: ULONG§AlternativeArchitecture: ALTERNATIVE_ARCHITECTURE_TYPE§BootId: ULONG§SystemExpirationDate: LARGE_INTEGER§SuiteMask: ULONG§KdDebuggerEnabled: BOOLEAN§MitigationPolicies: UCHAR§Reserved6: [UCHAR; 2]§ActiveConsoleId: ULONG§DismountCount: ULONG§ComPlusPackage: ULONG§LastSystemRITEventTickCount: ULONG§NumberOfPhysicalPages: ULONG§SafeBootMode: BOOLEAN§VirtualizationFlags: UCHAR§Reserved12: [UCHAR; 2]§SharedDataFlags: ULONG§DataFlagsPad: [ULONG; 1]§TestRetInstruction: ULONGLONG§QpcFrequency: LONGLONG§SystemCall: ULONG§SystemCallPad0: ULONG§SystemCallPad: [ULONGLONG; 2]§u: KUSER_SHARED_DATA_u§Cookie: ULONG§CookiePad: [ULONG; 1]§ConsoleSessionForegroundProcessId: LONGLONG§TimeUpdateLock: ULONGLONG§BaselineSystemTimeQpc: ULONGLONG§BaselineInterruptTimeQpc: ULONGLONG§QpcSystemTimeIncrement: ULONGLONG§QpcInterruptTimeIncrement: ULONGLONG§QpcSystemTimeIncrementShift: UCHAR§QpcInterruptTimeIncrementShift: UCHAR§UnparkedProcessorCount: USHORT§EnclaveFeatureMask: [ULONG; 4]§TelemetryCoverageRound: ULONG§UserModeGlobalLogger: [USHORT; 16]§ImageFileExecutionOptions: ULONG§LangGenerationCount: ULONG§Reserved4: ULONGLONG§InterruptTimeBias: ULONG64§QpcBias: ULONG64§ActiveProcessorCount: ULONG§ActiveGroupCount: UCHAR§Reserved9: UCHAR§QpcData: UCHAR§TimeZoneBiasEffectiveStart: LARGE_INTEGER§TimeZoneBiasEffectiveEnd: LARGE_INTEGER§XState: XSTATE_CONFIGURATION

Implementations§

source§

impl KUSER_SHARED_DATA

source

pub const fn NXSupportPolicy(&self) -> UCHAR

source

pub fn set_NXSupportPolicy(&mut self, val: UCHAR)

source

pub const fn SEHValidationPolicy(&self) -> UCHAR

source

pub fn set_SEHValidationPolicy(&mut self, val: UCHAR)

source

pub const fn CurDirDevicesSkippedForDlls(&self) -> UCHAR

source

pub fn set_CurDirDevicesSkippedForDlls(&mut self, val: UCHAR)

source

pub const fn Reserved(&self) -> UCHAR

source

pub fn set_Reserved(&mut self, val: UCHAR)

source§

impl KUSER_SHARED_DATA

source

pub const fn DbgErrorPortPresent(&self) -> ULONG

source

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

source

pub const fn DbgElevationEnabled(&self) -> ULONG

source

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

source

pub const fn DbgVirtEnabled(&self) -> ULONG

source

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

source

pub const fn DbgInstallerDetectEnabled(&self) -> ULONG

source

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

source

pub const fn DbgLkgEnabled(&self) -> ULONG

source

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

source

pub const fn DbgDynProcessorEnabled(&self) -> ULONG

source

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

source

pub const fn DbgConsoleBrokerEnabled(&self) -> ULONG

source

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

source

pub const fn DbgSecureBootEnabled(&self) -> ULONG

source

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

source

pub const fn DbgMultiSessionSku(&self) -> ULONG

source

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

source

pub const fn DbgMultiUsersInSessionSku(&self) -> ULONG

source

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

source

pub const fn DbgStateSeparationEnabled(&self) -> ULONG

source

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

source

pub const fn SpareBits(&self) -> ULONG

source

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

source§

impl KUSER_SHARED_DATA

source

pub const fn QpcBypassEnabled(&self) -> UCHAR

source

pub fn set_QpcBypassEnabled(&mut self, val: UCHAR)

source

pub const fn QpcShift(&self) -> UCHAR

source

pub fn set_QpcShift(&mut self, val: UCHAR)

Trait Implementations§

source§

impl Clone for KUSER_SHARED_DATA

source§

fn clone(&self) -> KUSER_SHARED_DATA

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 KUSER_SHARED_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.