Table of Contents

Struct CRITICAL_SECTION

Namespace
SkyrimForge.Game.W32
Assembly
SkyrimForge.dll

A view over REX::W32::CRITICAL_SECTION. It stores the address and nothing else, and its members are extensions.

public readonly struct CRITICAL_SECTION : IEquatable<CRITICAL_SECTION>
Implements
Inherited Members

Properties

Exists

Whether the view has an address. A view from default, from new, or passed by the game to a replaced function can have none.

public bool Exists { get; }

Property Value

bool

Methods

Equals(CRITICAL_SECTION)

public bool Equals(CRITICAL_SECTION other)

Parameters

other CRITICAL_SECTION

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(CRITICAL_SECTION, CRITICAL_SECTION)

Whether both views are over one address.

public static bool operator ==(CRITICAL_SECTION left, CRITICAL_SECTION right)

Parameters

left CRITICAL_SECTION
right CRITICAL_SECTION

Returns

bool

operator !=(CRITICAL_SECTION, CRITICAL_SECTION)

Whether the views are over different addresses.

public static bool operator !=(CRITICAL_SECTION left, CRITICAL_SECTION right)

Parameters

left CRITICAL_SECTION
right CRITICAL_SECTION

Returns

bool