2 instantiations of NTSTATUS
Microsoft.VisualStudio.Extensibility.Testing.Xunit (2)
Windows.Win32.NTSTATUS.g.cs (2)
32 public static explicit operator NTSTATUS(int value) => new NTSTATUS(value); 48 public static explicit operator NTSTATUS(uint value) => new NTSTATUS((int)value);
15 references to NTSTATUS
Microsoft.VisualStudio.Extensibility.Testing.Xunit (15)
src\VisualStudio\IntegrationTest\Harness\XUnitShared\Harness\VisualStudioInstance.cs (1)
177var status = Windows.Wdk.PInvoke.NtQueryInformationProcess((HANDLE)process.Handle, PROCESSINFOCLASS.ProcessBasicInformation, &pbi, (uint)Marshal.SizeOf<PROCESS_BASIC_INFORMATION>(), &returnLength);
Windows.Wdk.PInvoke.ntdll.dll.g.cs (3)
27 internal static unsafe global::Windows.Win32.Foundation.NTSTATUS NtQueryInformationProcess(global::Windows.Win32.Foundation.HANDLE ProcessHandle, winmdroot.System.Threading.PROCESSINFOCLASS ProcessInformationClass, void* ProcessInformation, uint ProcessInformationLength, ref uint ReturnLength) 31 global::Windows.Win32.Foundation.NTSTATUS __result = PInvoke.NtQueryInformationProcess(ProcessHandle, ProcessInformationClass, ProcessInformation, ProcessInformationLength, ReturnLengthLocal); 51 internal static extern unsafe global::Windows.Win32.Foundation.NTSTATUS NtQueryInformationProcess(global::Windows.Win32.Foundation.HANDLE ProcessHandle, winmdroot.System.Threading.PROCESSINFOCLASS ProcessInformationClass, void* ProcessInformation, uint ProcessInformationLength, uint* ReturnLength);
Windows.Win32.NTSTATUS.g.cs (11)
24 : IEquatable<NTSTATUS> 30 public static implicit operator int(NTSTATUS value) => value.Value; 32 public static explicit operator NTSTATUS(int value) => new NTSTATUS(value); 34 public static bool operator ==(NTSTATUS left, NTSTATUS right) => left.Value == right.Value; 36 public static bool operator !=(NTSTATUS left, NTSTATUS right) => !(left == right); 38 public bool Equals(NTSTATUS other) => this.Value == other.Value; 40 public override bool Equals(object obj) => obj is NTSTATUS other && this.Equals(other); 46 public static implicit operator uint(NTSTATUS value) => (uint)value.Value; 48 public static explicit operator NTSTATUS(uint value) => new NTSTATUS((int)value);