2 instantiations of HANDLE
Microsoft.VisualStudio.Extensibility.Testing.Xunit (2)
Windows.Win32.HANDLE.g.cs (1)
36 public static explicit operator HANDLE(IntPtr value) => new HANDLE(value);
Windows.Win32.HWND.g.cs (1)
50 public static implicit operator HANDLE(HWND value) => new HANDLE(value.Value);
16 references to HANDLE
Microsoft.VisualStudio.Extensibility.Testing.Xunit (16)
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)
26 /// <inheritdoc cref="NtQueryInformationProcess(global::Windows.Win32.Foundation.HANDLE, winmdroot.System.Threading.PROCESSINFOCLASS, void*, uint, uint*)"/> 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) 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.HANDLE.g.cs (10)
24 : IEquatable<HANDLE> 30 internal static HANDLE Null => default; 34 public static implicit operator IntPtr(HANDLE value) => value.Value; 36 public static explicit operator HANDLE(IntPtr value) => new HANDLE(value); 38 public static bool operator ==(HANDLE left, HANDLE right) => left.Value == right.Value; 40 public static bool operator !=(HANDLE left, HANDLE right) => !(left == right); 42 public bool Equals(HANDLE other) => this.Value == other.Value; 44 public override bool Equals(object obj) => obj is HANDLE other && this.Equals(other);
Windows.Win32.HWND.g.cs (1)
50 public static implicit operator HANDLE(HWND value) => new HANDLE(value.Value);
Windows.Win32.PInvoke.KERNEL32.dll.g.cs (1)
64 internal static extern winmdroot.Foundation.BOOL CloseHandle(winmdroot.Foundation.HANDLE hObject);