3 instantiations of HWND
Microsoft.Private.Windows.Core (3)
_generated\122\Windows.Win32.HWND.g.cs (3)
41 public static explicit operator HWND(void* value) => new HWND(value); 57 public static explicit operator HWND(IntPtr value) => new HWND((void*)value.ToPointer()); 59 public static explicit operator HWND(UIntPtr value) => new HWND((void*)value.ToPointer());
206 references to HWND
Microsoft.Private.Windows.Core (206)
_generated\122\Windows.Win32.HWND.g.cs (28)
25 : IEquatable<HWND> 35 internal static HWND Null => default; 39 public static implicit operator void*(HWND value) => value.Value; 41 public static explicit operator HWND(void* value) => new HWND(value); 43 public static bool operator ==(HWND left, HWND right) => left.Value == right.Value; 45 public static bool operator !=(HWND left, HWND right) => !(left == right); 47 public bool Equals(HWND other) => this.Value == other.Value; 49 public override bool Equals(object obj) => obj is HWND other && this.Equals(other); 55 public static implicit operator IntPtr(HWND value) => new IntPtr(value.Value); 57 public static explicit operator HWND(IntPtr value) => new HWND((void*)value.ToPointer()); 59 public static explicit operator HWND(UIntPtr value) => new HWND((void*)value.ToPointer()); 61 public static implicit operator HANDLE(HWND value) => new HANDLE(value.Value); 63 internal static readonly winmdroot.Foundation.HWND HWND_BROADCAST = (winmdroot.Foundation.HWND)(IntPtr)(65535); 65 internal static readonly winmdroot.Foundation.HWND HWND_MESSAGE = (winmdroot.Foundation.HWND)(IntPtr)(-3); 67 internal static readonly winmdroot.Foundation.HWND HWND_DESKTOP = (winmdroot.Foundation.HWND)(IntPtr)(0); 73 internal static readonly winmdroot.Foundation.HWND HWND_TOP = (winmdroot.Foundation.HWND)(IntPtr)(0); 79 internal static readonly winmdroot.Foundation.HWND HWND_BOTTOM = (winmdroot.Foundation.HWND)(IntPtr)(1); 85 internal static readonly winmdroot.Foundation.HWND HWND_TOPMOST = (winmdroot.Foundation.HWND)(IntPtr)(-1); 91 internal static readonly winmdroot.Foundation.HWND HWND_NOTOPMOST = (winmdroot.Foundation.HWND)(IntPtr)(-2);
_generated\133\Windows.Win32.IDragSourceHelper.g.cs (6)
85 /// <inheritdoc cref="InitializeFromWindow(winmdroot.Foundation.HWND, global::System.Drawing.Point*, winmdroot.System.Com.IDataObject*)"/> 87 internal unsafe winmdroot.Foundation.HRESULT InitializeFromWindow([Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point? ppt, winmdroot.System.Com.IDataObject* pDataObject) 111 public unsafe winmdroot.Foundation.HRESULT InitializeFromWindow([Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point* ppt, winmdroot.System.Com.IDataObject* pDataObject) 113 return ((delegate *unmanaged [Stdcall]<IDragSourceHelper*,winmdroot.Foundation.HWND ,global::System.Drawing.Point* ,winmdroot.System.Com.IDataObject* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IDragSourceHelper*)Unsafe.AsPointer(ref this), hwnd, ppt, pDataObject); 147 internal delegate *unmanaged [Stdcall]<IDragSourceHelper*,winmdroot.Foundation.HWND ,global::System.Drawing.Point* ,winmdroot.System.Com.IDataObject* ,winmdroot.Foundation.HRESULT> InitializeFromWindow_5; 167 unsafe winmdroot.Foundation.HRESULT InitializeFromWindow([Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point* ppt, winmdroot.System.Com.IDataObject* pDataObject);
_generated\134\Windows.Win32.IDragSourceHelper2.g.cs (6)
72 /// <inheritdoc cref="InitializeFromWindow(winmdroot.Foundation.HWND, global::System.Drawing.Point*, winmdroot.System.Com.IDataObject*)"/> 74 internal unsafe winmdroot.Foundation.HRESULT InitializeFromWindow([Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point? ppt, winmdroot.System.Com.IDataObject* pDataObject) 81 public unsafe winmdroot.Foundation.HRESULT InitializeFromWindow([Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point* ppt, winmdroot.System.Com.IDataObject* pDataObject) 83 return ((delegate *unmanaged [Stdcall]<IDragSourceHelper2*,winmdroot.Foundation.HWND ,global::System.Drawing.Point* ,winmdroot.System.Com.IDataObject* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IDragSourceHelper2*)Unsafe.AsPointer(ref this), hwnd, ppt, pDataObject); 133 internal delegate *unmanaged [Stdcall]<IDragSourceHelper2*,winmdroot.Foundation.HWND ,global::System.Drawing.Point* ,winmdroot.System.Com.IDataObject* ,winmdroot.Foundation.HRESULT> InitializeFromWindow_5; 155 unsafe new winmdroot.Foundation.HRESULT InitializeFromWindow([Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point* ppt, winmdroot.System.Com.IDataObject* pDataObject);
_generated\136\Windows.Win32.IDropSourceNotify.g.cs (4)
62 public winmdroot.Foundation.HRESULT DragEnterTarget(winmdroot.Foundation.HWND hwndTarget) 64 return ((delegate *unmanaged [Stdcall]<IDropSourceNotify*,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IDropSourceNotify*)Unsafe.AsPointer(ref this), hwndTarget); 106 internal delegate *unmanaged [Stdcall]<IDropSourceNotify*,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT> DragEnterTarget_4; 125winmdroot.Foundation.HRESULT DragEnterTarget(winmdroot.Foundation.HWND hwndTarget);
_generated\138\Windows.Win32.IDropTargetHelper.g.cs (6)
56 /// <inheritdoc cref="DragEnter(winmdroot.Foundation.HWND, winmdroot.System.Com.IDataObject*, global::System.Drawing.Point*, winmdroot.System.Ole.DROPEFFECT)"/> 58 internal unsafe winmdroot.Foundation.HRESULT DragEnter(winmdroot.Foundation.HWND hwndTarget, winmdroot.System.Com.IDataObject* pDataObject, in global::System.Drawing.Point ppt, winmdroot.System.Ole.DROPEFFECT dwEffect) 88 public unsafe winmdroot.Foundation.HRESULT DragEnter(winmdroot.Foundation.HWND hwndTarget, winmdroot.System.Com.IDataObject* pDataObject, global::System.Drawing.Point* ppt, winmdroot.System.Ole.DROPEFFECT dwEffect) 90 return ((delegate *unmanaged [Stdcall]<IDropTargetHelper*,winmdroot.Foundation.HWND ,winmdroot.System.Com.IDataObject* ,global::System.Drawing.Point* ,winmdroot.System.Ole.DROPEFFECT ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IDropTargetHelper*)Unsafe.AsPointer(ref this), hwndTarget, pDataObject, ppt, dwEffect); 208 internal delegate *unmanaged [Stdcall]<IDropTargetHelper*,winmdroot.Foundation.HWND ,winmdroot.System.Com.IDataObject* ,global::System.Drawing.Point* ,winmdroot.System.Ole.DROPEFFECT ,winmdroot.Foundation.HRESULT> DragEnter_4; 233 unsafe winmdroot.Foundation.HRESULT DragEnter(winmdroot.Foundation.HWND hwndTarget, winmdroot.System.Com.IDataObject* pDataObject, global::System.Drawing.Point* ppt, winmdroot.System.Ole.DROPEFFECT dwEffect);
_generated\175\Windows.Win32.MSG.g.cs (1)
33 internal winmdroot.Foundation.HWND hwnd;
_generated\202\Windows.Win32.PInvokeCore.OLE32.dll.g.cs (2)
231 internal static extern unsafe winmdroot.Foundation.HRESULT RegisterDragDrop(winmdroot.Foundation.HWND hwnd, winmdroot.System.Ole.IDropTarget* pDropTarget); 266 internal static extern winmdroot.Foundation.HRESULT RevokeDragDrop(winmdroot.Foundation.HWND hwnd);
_generated\204\Windows.Win32.PInvokeCore.SHELL32.dll.g.cs (1)
38 internal static extern void DragAcceptFiles(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.BOOL fAccept);
_generated\205\Windows.Win32.PInvokeCore.USER32.dll.g.cs (47)
26 /// <inheritdoc cref="BeginPaint(winmdroot.Foundation.HWND, winmdroot.Graphics.Gdi.PAINTSTRUCT*)"/> 29 internal static unsafe winmdroot.Graphics.Gdi.HDC BeginPaint(winmdroot.Foundation.HWND hWnd, out winmdroot.Graphics.Gdi.PAINTSTRUCT lpPaint) 50 internal static extern unsafe winmdroot.Graphics.Gdi.HDC BeginPaint(winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Gdi.PAINTSTRUCT* lpPaint); 84 internal static extern unsafe winmdroot.Foundation.LRESULT CallWindowProc(delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,uint,global::Windows.Win32.Foundation.WPARAM,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.LRESULT> lpPrevWndFunc, winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 139 internal static extern winmdroot.Foundation.LRESULT DefWindowProc(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 204 /// <inheritdoc cref="EndPaint(winmdroot.Foundation.HWND, winmdroot.Graphics.Gdi.PAINTSTRUCT*)"/> 207 internal static unsafe winmdroot.Foundation.BOOL EndPaint(winmdroot.Foundation.HWND hWnd, in winmdroot.Graphics.Gdi.PAINTSTRUCT lpPaint) 226 internal static extern unsafe winmdroot.Foundation.BOOL EndPaint(winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Gdi.PAINTSTRUCT* lpPaint); 250 internal static extern unsafe winmdroot.Foundation.BOOL EnumChildWindows([Optional] winmdroot.Foundation.HWND hWndParent, delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpEnumFunc, winmdroot.Foundation.LPARAM lParam); 306 internal static extern unsafe winmdroot.Foundation.BOOL EnumThreadWindows(uint dwThreadId, delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpfn, winmdroot.Foundation.LPARAM lParam); 326 internal static extern unsafe winmdroot.Foundation.BOOL EnumWindows(delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpEnumFunc, winmdroot.Foundation.LPARAM lParam); 328 /// <inheritdoc cref="GetClientRect(winmdroot.Foundation.HWND, winmdroot.Foundation.RECT*)"/> 331 internal static unsafe winmdroot.Foundation.BOOL GetClientRect(winmdroot.Foundation.HWND hWnd, out winmdroot.Foundation.RECT lpRect) 355 internal static extern unsafe winmdroot.Foundation.BOOL GetClientRect(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.RECT* lpRect); 403 internal static extern winmdroot.Graphics.Gdi.HDC GetDC([Optional] winmdroot.Foundation.HWND hWnd); 418 internal static extern winmdroot.Graphics.Gdi.HDC GetDCEx([Optional] winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Graphics.Gdi.HRGN hrgnClip, winmdroot.Graphics.Gdi.GET_DCX_FLAGS flags); 429 internal static extern winmdroot.Foundation.HWND GetDesktopWindow(); 440 internal static extern winmdroot.Foundation.HWND GetForegroundWindow(); 570 internal static extern winmdroot.Graphics.Gdi.HDC GetWindowDC([Optional] winmdroot.Foundation.HWND hWnd); 572 /// <inheritdoc cref="GetWindowRect(winmdroot.Foundation.HWND, winmdroot.Foundation.RECT*)"/> 575 internal static unsafe winmdroot.Foundation.BOOL GetWindowRect(winmdroot.Foundation.HWND hWnd, out winmdroot.Foundation.RECT lpRect) 602 internal static extern unsafe winmdroot.Foundation.BOOL GetWindowRect(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.RECT* lpRect); 604 /// <inheritdoc cref="GetWindowText(winmdroot.Foundation.HWND, winmdroot.Foundation.PWSTR, int)"/> 606 internal static unsafe int GetWindowText(winmdroot.Foundation.HWND hWnd, Span<char>lpString) 637 internal static extern int GetWindowText(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.PWSTR lpString, int nMaxCount); 654 internal static extern int GetWindowTextLength(winmdroot.Foundation.HWND hWnd); 656 /// <inheritdoc cref="GetWindowThreadProcessId(winmdroot.Foundation.HWND, uint*)"/> 659 internal static unsafe uint GetWindowThreadProcessId(winmdroot.Foundation.HWND hWnd, out uint lpdwProcessId) 668 /// <inheritdoc cref="GetWindowThreadProcessId(winmdroot.Foundation.HWND, uint*)"/> 670 internal static unsafe uint GetWindowThreadProcessId(winmdroot.Foundation.HWND hWnd) 693 internal static extern unsafe uint GetWindowThreadProcessId(winmdroot.Foundation.HWND hWnd, [Optional] uint* lpdwProcessId); 745 /// <inheritdoc cref="MapWindowPoints(winmdroot.Foundation.HWND, winmdroot.Foundation.HWND, global::System.Drawing.Point*, uint)"/> 747 internal static unsafe int MapWindowPoints([Optional] winmdroot.Foundation.HWND hWndFrom, [Optional] winmdroot.Foundation.HWND hWndTo, ReadOnlySpan<global::System.Drawing.Point> lpPoints) 772 internal static extern unsafe int MapWindowPoints([Optional] winmdroot.Foundation.HWND hWndFrom, [Optional] winmdroot.Foundation.HWND hWndTo, global::System.Drawing.Point* lpPoints, uint cPoints); 821 internal static extern winmdroot.Graphics.Gdi.HMONITOR MonitorFromWindow(winmdroot.Foundation.HWND hwnd, winmdroot.Graphics.Gdi.MONITOR_FROM_FLAGS dwFlags); 823 /// <inheritdoc cref="PeekMessage(winmdroot.UI.WindowsAndMessaging.MSG*, winmdroot.Foundation.HWND, uint, uint, winmdroot.UI.WindowsAndMessaging.PEEK_MESSAGE_REMOVE_TYPE)"/> 826 internal static unsafe winmdroot.Foundation.BOOL PeekMessage(out winmdroot.UI.WindowsAndMessaging.MSG lpMsg, [Optional] winmdroot.Foundation.HWND hWnd, uint wMsgFilterMin, uint wMsgFilterMax, winmdroot.UI.WindowsAndMessaging.PEEK_MESSAGE_REMOVE_TYPE wRemoveMsg) 864 internal static extern unsafe winmdroot.Foundation.BOOL PeekMessage(winmdroot.UI.WindowsAndMessaging.MSG* lpMsg, [Optional] winmdroot.Foundation.HWND hWnd, uint wMsgFilterMin, uint wMsgFilterMax, winmdroot.UI.WindowsAndMessaging.PEEK_MESSAGE_REMOVE_TYPE wRemoveMsg); 893 internal static extern winmdroot.Foundation.BOOL PostMessage([Optional] winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 935 internal static extern int ReleaseDC([Optional] winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Gdi.HDC hDC); 963 internal static extern winmdroot.Foundation.LRESULT SendMessage(winmdroot.Foundation.HWND hWnd, uint Msg, [Optional] winmdroot.Foundation.WPARAM wParam, [Optional] winmdroot.Foundation.LPARAM lParam); 1035 internal static extern winmdroot.Foundation.HWND WindowFromDC(winmdroot.Graphics.Gdi.HDC hDC);
_generated\273\Windows.Win32.UI_Shell_IDragSourceHelper2_Extensions.g.cs (2)
33 /// <inheritdoc cref="winmdroot.UI.Shell.IDragSourceHelper2.Interface.InitializeFromWindow(winmdroot.Foundation.HWND, global::System.Drawing.Point*, winmdroot.System.Com.IDataObject*)"/> 34 internal static unsafe winmdroot.Foundation.HRESULT InitializeFromWindow(this winmdroot.UI.Shell.IDragSourceHelper2.Interface @this, [Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point? ppt, winmdroot.System.Com.IDataObject* pDataObject)
_generated\274\Windows.Win32.UI_Shell_IDragSourceHelper_Extensions.g.cs (2)
33 /// <inheritdoc cref="winmdroot.UI.Shell.IDragSourceHelper.Interface.InitializeFromWindow(winmdroot.Foundation.HWND, global::System.Drawing.Point*, winmdroot.System.Com.IDataObject*)"/> 34 internal static unsafe winmdroot.Foundation.HRESULT InitializeFromWindow(this winmdroot.UI.Shell.IDragSourceHelper.Interface @this, [Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point? ppt, winmdroot.System.Com.IDataObject* pDataObject)
_generated\275\Windows.Win32.UI_Shell_IDropTargetHelper_Extensions.g.cs (2)
23 /// <inheritdoc cref="winmdroot.UI.Shell.IDropTargetHelper.Interface.DragEnter(winmdroot.Foundation.HWND, winmdroot.System.Com.IDataObject*, global::System.Drawing.Point*, winmdroot.System.Ole.DROPEFFECT)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT DragEnter(this winmdroot.UI.Shell.IDropTargetHelper.Interface @this, winmdroot.Foundation.HWND hwndTarget, winmdroot.System.Com.IDataObject* pDataObject, in global::System.Drawing.Point ppt, winmdroot.System.Ole.DROPEFFECT dwEffect)
_generated\286\Windows.Win32.WINDOWPOS.g.cs (2)
33 internal winmdroot.Foundation.HWND hwnd; 39 internal winmdroot.Foundation.HWND hwndInsertAfter;
System\Private\Windows\Ole\DragDropHelper.cs (2)
52public static void DragEnter(HWND targetWindowHandle, IDragEvent e) 67public static void DragEnter(HWND targetWindowHandle, IComVisibleDataObject dataObject, ref Point point, DROPEFFECT effect)
Windows\Win32\Foundation\HWND.cs (4)
6internal partial struct HWND : IHandle<HWND> 8HWND IHandle<HWND>.Handle => this; 9object? IHandle<HWND>.Wrapper => null;
Windows\Win32\Foundation\LPARAM.cs (3)
22public static explicit operator HWND(LPARAM value) => (HWND)value.Value; 24public static unsafe explicit operator LPARAM(HWND value) => (LPARAM)value.Value;
Windows\Win32\Foundation\LRESULT.cs (2)
12public static explicit operator HWND(LRESULT value) => (HWND)value.Value;
Windows\Win32\Foundation\WPARAM.cs (3)
13public static explicit operator HWND(WPARAM value) => (HWND)(nint)value.Value; 14public static explicit operator WPARAM(HWND value) => new((nuint)value.Value);
Windows\Win32\Graphics\Gdi\BeginPaintScope.cs (3)
9/// Helper to scope lifetime of an HDC retrieved via <see cref="PInvokeCore.BeginPaint(HWND, out PAINTSTRUCT)"/> 26public HWND HWND { get; } 29public BeginPaintScope(HWND hwnd)
Windows\Win32\Graphics\Gdi\GetDcScope.cs (7)
7/// Helper to scope lifetime of an <see cref="Gdi.HDC"/> retrieved via <see cref="PInvokeCore.GetDC(HWND)"/> and 8/// <see cref="PInvokeCore.GetDCEx(HWND, HRGN, GET_DCX_FLAGS)"/>. Releases the <see cref="Gdi.HDC"/> (if any) 20public HWND HWND { get; } 22public GetDcScope(HWND hwnd) 29/// Creates a <see cref="Gdi.HDC"/> using <see cref="PInvokeCore.GetDCEx(HWND, HRGN, GET_DCX_FLAGS)"/>. 40public GetDcScope(HWND hwnd, HRGN hrgnClip, GET_DCX_FLAGS flags) 55public static GetDcScope ScreenDC => new(HWND.Null);
Windows\Win32\PInvokeCore.CallWindowProc.cs (2)
9where T : IHandle<HWND> 12(delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, LRESULT>)lpPrevWndFunc,
Windows\Win32\PInvokeCore.DragAcceptFiles.cs (2)
8/// <inheritdoc cref="DragAcceptFiles(HWND, BOOL)"/> 9public static void DragAcceptFiles<T>(T hWnd, BOOL fAccept) where T : IHandle<HWND>
Windows\Win32\PInvokeCore.EnumChildWindows.cs (6)
8public delegate BOOL EnumChildWindowsCallback(HWND hWnd); 11private delegate BOOL EnumChildWindowsNativeCallback(HWND hWnd, LPARAM lParam); 13private static readonly delegate* unmanaged[Stdcall]<HWND, LPARAM, BOOL> s_enumChildWindowsNativeCallbackFunctionPointer = 14(delegate* unmanaged[Stdcall]<HWND, LPARAM, BOOL>)Marshal.GetFunctionPointerForDelegate(s_enumChildWindowsNativeCallback); 18where T : IHandle<HWND> 42private static BOOL HandleEnumChildWindowsNativeCallback(HWND hWnd, LPARAM lParam)
Windows\Win32\PInvokeCore.EnumThreadWindows.cs (5)
8public delegate BOOL EnumThreadWindowsCallback(HWND hWnd); 11private delegate BOOL EnumThreadWindowsNativeCallback(HWND hWnd, LPARAM lParam); 13private static readonly delegate* unmanaged[Stdcall]<HWND, LPARAM, BOOL> s_enumThreadWindowsNativeCallbackFunctionPointer = 14(delegate* unmanaged[Stdcall]<HWND, LPARAM, BOOL>)Marshal.GetFunctionPointerForDelegate(s_enumThreadWindowsNativeCallback); 46private static BOOL HandleEnumThreadWindowsNativeCallback(HWND hWnd, LPARAM lParam)
Windows\Win32\PInvokeCore.EnumWindows.cs (5)
8public delegate BOOL EnumWindowsCallback(HWND hWnd); 11private delegate BOOL EnumWindowsNativeCallback(HWND hWnd, LPARAM lParam); 13private static readonly delegate* unmanaged[Stdcall]<HWND, LPARAM, BOOL> s_enumWindowsNativeCallbackFunctionPointer = 14(delegate* unmanaged[Stdcall]<HWND, LPARAM, BOOL>)Marshal.GetFunctionPointerForDelegate(s_enumWindowsNativeCallback); 40private static BOOL HandleEnumWindowsNativeCallback(HWND hWnd, LPARAM lParam)
Windows\Win32\PInvokeCore.GetClassLong.cs (3)
11private static extern nint GetClassLongW(HWND hWnd, GET_CLASS_LONG_INDEX nIndex); 15private static extern nint GetClassLongPtrW(HWND hWnd, GET_CLASS_LONG_INDEX nIndex); 17public static IntPtr GetClassLong(HWND hWnd, GET_CLASS_LONG_INDEX nIndex)
Windows\Win32\PInvokeCore.GetClientRect.cs (2)
8/// <inheritdoc cref="GetClientRect(HWND, out RECT)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvokeCore.GetWindowLong.cs (3)
9private static extern nint GetWindowLongW(HWND hWnd, WINDOW_LONG_PTR_INDEX nIndex); 12private static extern nint GetWindowLongPtrW(HWND hWnd, WINDOW_LONG_PTR_INDEX nIndex); 26where T : IHandle<HWND>
Windows\Win32\PInvokeCore.GetWindowRect.cs (2)
8/// <inheritdoc cref="GetWindowRect(HWND, out RECT)"/> 9public static BOOL GetWindowRect<T>(T hWnd, out RECT lpRect) where T : IHandle<HWND>
Windows\Win32\PInvokeCore.GetWindowText.cs (1)
13public static unsafe string GetWindowText<T>(T hWnd) where T : IHandle<HWND>
Windows\Win32\PInvokeCore.GetWindowTextLength.cs (2)
8/// <inheritdoc cref="GetWindowTextLength(HWND)"/> 9public static int GetWindowTextLength<T>(T hWnd) where T : IHandle<HWND>
Windows\Win32\PInvokeCore.GetWindowThreadProcessId.cs (2)
8/// <inheritdoc cref="GetWindowThreadProcessId(HWND, uint*)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvokeCore.MapWindowPoints.cs (8)
10/// <inheritdoc cref="MapWindowPoints(HWND, HWND, Point*, uint)"/> 12where TFrom : IHandle<HWND> 13where TTo : IHandle<HWND> 24/// <inheritdoc cref="MapWindowPoints(HWND, HWND, Point*, uint)"/> 26where TFrom : IHandle<HWND> 27where TTo : IHandle<HWND>
Windows\Win32\PInvokeCore.PeekMessage.cs (2)
8/// <inheritdoc cref="PeekMessage(MSG*, HWND, uint, uint, PEEK_MESSAGE_REMOVE_TYPE)"/> 15where T : IHandle<HWND>
Windows\Win32\PInvokeCore.PostMessage.cs (2)
8/// <inheritdoc cref="PostMessage(HWND, uint, WPARAM, LPARAM)"/> 14where T : IHandle<HWND>
Windows\Win32\PInvokeCore.RegisterDragDrop.cs (2)
10/// <inheritdoc cref="RegisterDragDrop(HWND, IDropTarget*)"/> 12where T : IHandle<HWND>
Windows\Win32\PInvokeCore.RevokeDragDrop.cs (2)
8/// <inheritdoc cref="RevokeDragDrop(HWND)"/> 9public static HRESULT RevokeDragDrop<T>(T hwnd) where T : IHandle<HWND>
Windows\Win32\PInvokeCore.SendMessage.cs (11)
8/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM, LPARAM)"/> 13LPARAM lParam = default) where T : IHandle<HWND> 20/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM, LPARAM)"/> 25LPARAM lParam = default) where THwnd : IHandle<HWND> where TWParam : IHandle<HWND> 32/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM, LPARAM)"/> 37string? lParam) where T : IHandle<HWND> 45/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM, LPARAM)"/> 51where THwnd : IHandle<HWND> 60/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM, LPARAM)"/> 66where THwnd : IHandle<HWND>
Windows\Win32\PInvokeCore.SetClassLong.cs (3)
10private static extern nint SetClassLongW(HWND hwnd, GET_CLASS_LONG_INDEX nIndex, nint dwNewLong); 13private static extern nint SetClassLongPtrW(HWND hwnd, GET_CLASS_LONG_INDEX nIndex, nint dwNewLong); 15public static nint SetClassLong(HWND hWnd, GET_CLASS_LONG_INDEX nIndex, nint dwNewLong)
Windows\Win32\PInvokeCore.SetWindowLong.cs (6)
9private static extern nint SetWindowLongW(HWND hWnd, WINDOW_LONG_PTR_INDEX nIndex, nint dwNewLong); 12private static extern nint SetWindowLongPtrW(HWND hWnd, WINDOW_LONG_PTR_INDEX nIndex, nint dwNewLong); 15where T : IHandle<HWND> 25where THwnd : IHandle<HWND> 26where TNewValue : IHandle<HWND> 34where T : IHandle<HWND>
Windows\Win32\UI\Controls\Dialogs\PRINTDLGEXW.cs (1)
52public HWND hwndOwner;
Windows\Win32\UI\WindowsAndMessaging\WNDPROC.cs (1)
6internal delegate LRESULT WNDPROC(HWND hWnd, uint msg, WPARAM wParam, LPARAM lParam);