#[repr(C)]
#[repr(align(16))]
pub struct RTL_UMS_CONTEXT { pub Link: SINGLE_LIST_ENTRY, pub padding_0: u64, pub Context: CONTEXT, pub Teb: *mut c_void, pub UserContext: *mut c_void, pub Flags: i32, pub ContextLock: u64, pub PrimaryUmsContext: *mut RTL_UMS_CONTEXT, pub SwitchCount: u32, pub KernelYieldCount: u32, pub MixedYieldCount: u32, pub YieldCount: u32, /* private fields */ }

Fieldsยง

ยงLink: SINGLE_LIST_ENTRYยงpadding_0: u64ยงContext: CONTEXTยงTeb: *mut c_voidยงUserContext: *mut c_voidยงFlags: i32ยงContextLock: u64ยงPrimaryUmsContext: *mut RTL_UMS_CONTEXTยงSwitchCount: u32ยงKernelYieldCount: u32ยงMixedYieldCount: u32ยงYieldCount: u32

Implementationsยง

sourceยง

impl RTL_UMS_CONTEXT

source

pub fn ScheduledThread(&self) -> u32

source

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

source

pub fn Suspended(&self) -> u32

source

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

source

pub fn VolatileContext(&self) -> u32

source

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

source

pub fn Terminated(&self) -> u32

source

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

source

pub fn DebugActive(&self) -> u32

source

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

source

pub fn RunningOnSelfThread(&self) -> u32

source

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

source

pub fn DenyRunningOnSelfThread(&self) -> u32

source

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

source

pub fn new_bitfield_1( ScheduledThread: u32, Suspended: u32, VolatileContext: u32, Terminated: u32, DebugActive: u32, RunningOnSelfThread: u32, DenyRunningOnSelfThread: u32 ) -> BitfieldUnit<[u8; 1]>

source

pub fn KernelUpdateLock(&self) -> u64

source

pub fn set_KernelUpdateLock(&mut self, val: u64)

source

pub fn PrimaryClientID(&self) -> u64

source

pub fn set_PrimaryClientID(&mut self, val: u64)

source

pub fn new_bitfield_2( KernelUpdateLock: u64, PrimaryClientID: u64 ) -> BitfieldUnit<[u8; 8]>

Trait Implementationsยง

sourceยง

impl Debug for RTL_UMS_CONTEXT

sourceยง

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

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

impl Default for RTL_UMS_CONTEXT

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.