6 instantiations of HANDLE
Microsoft.Private.Windows.Core (6)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Windows.Win32.HANDLE.g.cs (3)
41
public static explicit operator HANDLE(void* value) => new
HANDLE
(value);
57
public static explicit operator HANDLE(IntPtr value) => new
HANDLE
((void*)value.ToPointer());
59
public static explicit operator HANDLE(UIntPtr value) => new
HANDLE
((void*)value.ToPointer());
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Windows.Win32.HWND.g.cs (1)
61
public static implicit operator HANDLE(HWND value) => new
HANDLE
(value.Value);
Windows\Win32\UI\WindowsAndMessaging\HCURSOR.cs (1)
12
public static implicit operator HANDLE(HCURSOR handle) =>
new
((nint)handle);
Windows\Win32\UI\WindowsAndMessaging\HICON.cs (1)
12
public static implicit operator HANDLE(HICON handle) =>
new
((nint)handle);
34 references to HANDLE
Microsoft.Private.Windows.Core (34)
Generated\361d1da7f942c932\Windows.Win32.PInvokeCore.KERNEL32.dll.g.cs (1)
39
internal static extern winmdroot.Foundation.BOOL CloseHandle(winmdroot.Foundation.
HANDLE
hObject);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Windows.Win32.HANDLE.g.cs (13)
25
: IEquatable<
HANDLE
>
35
internal static
HANDLE
Null => default;
39
public static implicit operator void*(
HANDLE
value) => value.Value;
41
public static explicit operator
HANDLE
(void* value) => new HANDLE(value);
43
public static bool operator ==(
HANDLE
left,
HANDLE
right) => left.Value == right.Value;
45
public static bool operator !=(
HANDLE
left,
HANDLE
right) => !(left == right);
47
public bool Equals(
HANDLE
other) => this.Value == other.Value;
49
public override bool Equals(object obj) => obj is
HANDLE
other && this.Equals(other);
55
public static implicit operator IntPtr(
HANDLE
value) => new IntPtr(value.Value);
57
public static explicit operator
HANDLE
(IntPtr value) => new HANDLE((void*)value.ToPointer());
59
public static explicit operator
HANDLE
(UIntPtr value) => new HANDLE((void*)value.ToPointer());
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Windows.Win32.HWND.g.cs (1)
61
public static implicit operator
HANDLE
(HWND value) => new HANDLE(value.Value);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Windows.Win32.PInvokeCore.GDI32.dll.g.cs (3)
195
/// <inheritdoc cref="CreateDIBSection(winmdroot.Graphics.Gdi.HDC, winmdroot.Graphics.Gdi.BITMAPINFO*, winmdroot.Graphics.Gdi.DIB_USAGE, void**, winmdroot.Foundation.
HANDLE
, uint)"/>
198
internal static unsafe winmdroot.Graphics.Gdi.HBITMAP CreateDIBSection([Optional] winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Graphics.Gdi.BITMAPINFO* pbmi, winmdroot.Graphics.Gdi.DIB_USAGE usage, out void* ppvBits, [Optional] winmdroot.Foundation.
HANDLE
hSection, uint offset)
231
internal static extern unsafe winmdroot.Graphics.Gdi.HBITMAP CreateDIBSection([Optional] winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Graphics.Gdi.BITMAPINFO* pbmi, winmdroot.Graphics.Gdi.DIB_USAGE usage, void** ppvBits, [Optional] winmdroot.Foundation.
HANDLE
hSection, uint offset);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Windows.Win32.PInvokeCore.OLE32.dll.g.cs (2)
113
internal static extern winmdroot.Foundation.
HANDLE
OleDuplicateData(winmdroot.Foundation.
HANDLE
hSrc, winmdroot.System.Ole.CLIPBOARD_FORMAT cfFormat, winmdroot.System.Memory.GLOBAL_ALLOC_FLAGS uiFlags);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Windows.Win32.PInvokeCore.USER32.dll.g.cs (7)
111
internal static extern winmdroot.Foundation.
HANDLE
CopyImage(winmdroot.Foundation.
HANDLE
h, winmdroot.UI.WindowsAndMessaging.GDI_IMAGE_TYPE type, int cx, int cy, winmdroot.UI.WindowsAndMessaging.IMAGE_FLAGS flags);
457
internal static extern uint GetGuiResources(winmdroot.Foundation.
HANDLE
hProcess, winmdroot.System.Threading.GET_GUI_RESOURCES_FLAGS uiFlags);
823
/// <inheritdoc cref="MsgWaitForMultipleObjectsEx(uint, winmdroot.Foundation.
HANDLE
*, uint, winmdroot.UI.WindowsAndMessaging.QUEUE_STATUS_FLAGS, winmdroot.UI.WindowsAndMessaging.MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS)"/>
825
internal static unsafe winmdroot.Foundation.WAIT_EVENT MsgWaitForMultipleObjectsEx([Optional] ReadOnlySpan<winmdroot.Foundation.
HANDLE
> pHandles, uint dwMilliseconds, winmdroot.UI.WindowsAndMessaging.QUEUE_STATUS_FLAGS dwWakeMask, winmdroot.UI.WindowsAndMessaging.MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS dwFlags)
827
fixed (winmdroot.Foundation.
HANDLE
* pHandlesLocal = pHandles)
858
internal static extern unsafe winmdroot.Foundation.WAIT_EVENT MsgWaitForMultipleObjectsEx(uint nCount, [Optional] winmdroot.Foundation.
HANDLE
* pHandles, uint dwMilliseconds, winmdroot.UI.WindowsAndMessaging.QUEUE_STATUS_FLAGS dwWakeMask, winmdroot.UI.WindowsAndMessaging.MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS dwFlags);
System\Private\Windows\Ole\DragDropFormat.cs (1)
69
(
HANDLE
)(nint)mediumSource.hGlobal,
Windows\Win32\PInvokeCore.CopyImage.cs (2)
8
/// <inheritdoc cref="CopyImage(
HANDLE
, GDI_IMAGE_TYPE, int, int, IMAGE_FLAGS)"/>
17
/// <inheritdoc cref="CopyImage(
HANDLE
, GDI_IMAGE_TYPE, int, int, IMAGE_FLAGS)"/>
Windows\Win32\UI\WindowsAndMessaging\HCURSOR.cs (2)
11
public static explicit operator HCURSOR(
HANDLE
handle) => new((nint)handle);
12
public static implicit operator
HANDLE
(HCURSOR handle) => new((nint)handle);
Windows\Win32\UI\WindowsAndMessaging\HICON.cs (2)
11
public static explicit operator HICON(
HANDLE
handle) => new((nint)handle);
12
public static implicit operator
HANDLE
(HICON handle) => new((nint)handle);