3 instantiations of NTSTATUS
System.Private.Windows.Core (3)
Windows.Win32.NTSTATUS.g.cs (2)
33
public static explicit operator NTSTATUS(int value) => new
NTSTATUS
(value);
49
public static explicit operator NTSTATUS(uint value) => new
NTSTATUS
((int)value);
Windows\Win32\Foundation\HRESULT.cs (1)
39
return new
NTSTATUS
(Value & ~(int)FACILITY_CODE.FACILITY_NT_BIT);
24 references to NTSTATUS
System.Private.Windows.Core (21)
Windows.Win32.NTSTATUS.g.cs (19)
25
: IEquatable<
NTSTATUS
>
31
public static implicit operator int(
NTSTATUS
value) => value.Value;
33
public static explicit operator
NTSTATUS
(int value) => new NTSTATUS(value);
35
public static bool operator ==(
NTSTATUS
left,
NTSTATUS
right) => left.Value == right.Value;
37
public static bool operator !=(
NTSTATUS
left,
NTSTATUS
right) => !(left == right);
39
public bool Equals(
NTSTATUS
other) => this.Value == other.Value;
41
public override bool Equals(object obj) => obj is
NTSTATUS
other && this.Equals(other);
47
public static implicit operator uint(
NTSTATUS
value) => (uint)value.Value;
49
public static explicit operator
NTSTATUS
(uint value) => new NTSTATUS((int)value);
63
internal static readonly winmdroot.Foundation.
NTSTATUS
STATUS_NO_MEMORY = (winmdroot.Foundation.
NTSTATUS
)(-1073741801);
65
internal static readonly winmdroot.Foundation.
NTSTATUS
STATUS_PENDING = (winmdroot.Foundation.
NTSTATUS
)(259);
67
internal static readonly winmdroot.Foundation.
NTSTATUS
STATUS_SUCCESS = (winmdroot.Foundation.
NTSTATUS
)(0);
69
internal static readonly winmdroot.Foundation.
NTSTATUS
STILL_ACTIVE = (winmdroot.Foundation.
NTSTATUS
)(259);
Windows\Win32\Foundation\HRESULT.cs (2)
34
/// Extracts the <see cref="
NTSTATUS
"/> code. Check <see cref="IsNtStatus"/> before calling this method.
36
public
NTSTATUS
ToNtStatus()
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (1)
3586
if ((returnValue && exitCode !=
NTSTATUS
.STILL_ACTIVE)
System\Windows\Forms\NativeWindow.cs (2)
115
if (!AppDomain.CurrentDomain.IsFinalizingForUnload() && (
NTSTATUS
)exitCode ==
NTSTATUS
.STATUS_PENDING)