3 instantiations of HWND
System.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());
1525 references to HWND
System.Drawing.Common (3)
_generated\20\Windows.Win32.PInvoke.winspool.drv.g.cs (1)
88 internal static extern unsafe int DocumentProperties([Optional] winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Printing.PRINTER_HANDLE hPrinter, winmdroot.Foundation.PWSTR pDeviceName, [Optional] winmdroot.Graphics.Gdi.DEVMODEW* pDevModeOutput, [Optional] winmdroot.Graphics.Gdi.DEVMODEW* pDevModeInput, uint fMode);
System\Drawing\Graphics.cs (1)
121Gdip.CheckStatus(PInvokeGdiPlus.GdipCreateFromHWND((HWND)hwnd, &nativeGraphics));
System\Drawing\Printing\PageSettings.cs (1)
326HWND.Null,
System.Private.Windows.Core (205)
_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 (7)
106 /// <inheritdoc cref="InitializeFromWindow(winmdroot.Foundation.HWND, global::System.Drawing.Point*, winmdroot.System.Com.IDataObject*)"/> 108 internal unsafe winmdroot.Foundation.HRESULT InitializeFromWindow([Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point? ppt, winmdroot.System.Com.IDataObject* pDataObject) 118 private static winmdroot.Foundation.HRESULT InitializeFromWindow(IDragSourceHelper* pThis, [Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point* ppt, winmdroot.System.Com.IDataObject* pDataObject) 152 public unsafe winmdroot.Foundation.HRESULT InitializeFromWindow([Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point* ppt, winmdroot.System.Com.IDataObject* pDataObject) 154 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); 188 internal delegate *unmanaged [Stdcall]<IDragSourceHelper*,winmdroot.Foundation.HWND ,global::System.Drawing.Point* ,winmdroot.System.Com.IDataObject* ,winmdroot.Foundation.HRESULT> InitializeFromWindow_5; 219 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 (7)
93 /// <inheritdoc cref="InitializeFromWindow(winmdroot.Foundation.HWND, global::System.Drawing.Point*, winmdroot.System.Com.IDataObject*)"/> 95 internal unsafe winmdroot.Foundation.HRESULT InitializeFromWindow([Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point? ppt, winmdroot.System.Com.IDataObject* pDataObject) 105 private static winmdroot.Foundation.HRESULT InitializeFromWindow(IDragSourceHelper2* pThis, [Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point* ppt, winmdroot.System.Com.IDataObject* pDataObject) 122 public unsafe winmdroot.Foundation.HRESULT InitializeFromWindow([Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point* ppt, winmdroot.System.Com.IDataObject* pDataObject) 124 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); 194 internal delegate *unmanaged [Stdcall]<IDragSourceHelper2*,winmdroot.Foundation.HWND ,global::System.Drawing.Point* ,winmdroot.System.Com.IDataObject* ,winmdroot.Foundation.HRESULT> InitializeFromWindow_5; 228 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 (5)
60 private static winmdroot.Foundation.HRESULT DragEnterTarget(IDropSourceNotify* pThis, winmdroot.Foundation.HWND hwndTarget) 83 public winmdroot.Foundation.HRESULT DragEnterTarget(winmdroot.Foundation.HWND hwndTarget) 85 return ((delegate *unmanaged [Stdcall]<IDropSourceNotify*,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IDropSourceNotify*)Unsafe.AsPointer(ref this), hwndTarget); 147 internal delegate *unmanaged [Stdcall]<IDropSourceNotify*,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT> DragEnterTarget_4; 177winmdroot.Foundation.HRESULT DragEnterTarget(winmdroot.Foundation.HWND hwndTarget);
_generated\138\Windows.Win32.IDropTargetHelper.g.cs (7)
57 /// <inheritdoc cref="DragEnter(winmdroot.Foundation.HWND, winmdroot.System.Com.IDataObject*, global::System.Drawing.Point*, winmdroot.System.Ole.DROPEFFECT)"/> 59 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) 71 private static winmdroot.Foundation.HRESULT DragEnter(IDropTargetHelper* pThis, winmdroot.Foundation.HWND hwndTarget, winmdroot.System.Com.IDataObject* pDataObject, global::System.Drawing.Point* ppt, winmdroot.System.Ole.DROPEFFECT dwEffect) 109 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) 111 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); 309 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; 348 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\198\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\200\Windows.Win32.PInvokeCore.SHELL32.dll.g.cs (1)
38 internal static extern void DragAcceptFiles(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.BOOL fAccept);
_generated\201\Windows.Win32.PInvokeCore.USER32.dll.g.cs (53)
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); 147 internal static extern winmdroot.Foundation.LRESULT DefWindowProc(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 228 /// <inheritdoc cref="EndPaint(winmdroot.Foundation.HWND, winmdroot.Graphics.Gdi.PAINTSTRUCT*)"/> 231 internal static unsafe winmdroot.Foundation.BOOL EndPaint(winmdroot.Foundation.HWND hWnd, in winmdroot.Graphics.Gdi.PAINTSTRUCT lpPaint) 250 internal static extern unsafe winmdroot.Foundation.BOOL EndPaint(winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Gdi.PAINTSTRUCT* lpPaint); 274 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); 330 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); 349 internal static 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) 357 static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpEnumFunc, winmdroot.Foundation.LPARAM lParam); 360 /// <inheritdoc cref="GetClientRect(winmdroot.Foundation.HWND, winmdroot.Foundation.RECT*)"/> 363 internal static unsafe winmdroot.Foundation.BOOL GetClientRect(winmdroot.Foundation.HWND hWnd, out winmdroot.Foundation.RECT lpRect) 386 internal static unsafe winmdroot.Foundation.BOOL GetClientRect(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.RECT* lpRect) 394 static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.RECT* lpRect); 451 internal static extern winmdroot.Graphics.Gdi.HDC GetDC([Optional] winmdroot.Foundation.HWND hWnd); 466 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); 477 internal static extern winmdroot.Foundation.HWND GetDesktopWindow(); 488 internal static extern winmdroot.Foundation.HWND GetForegroundWindow(); 620 /// <inheritdoc cref="GetWindowRect(winmdroot.Foundation.HWND, winmdroot.Foundation.RECT*)"/> 623 internal static unsafe winmdroot.Foundation.BOOL GetWindowRect(winmdroot.Foundation.HWND hWnd, out winmdroot.Foundation.RECT lpRect) 649 internal static unsafe winmdroot.Foundation.BOOL GetWindowRect(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.RECT* lpRect) 657 static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.RECT* lpRect); 660 /// <inheritdoc cref="GetWindowText(winmdroot.Foundation.HWND, winmdroot.Foundation.PWSTR, int)"/> 662 internal static unsafe int GetWindowText(winmdroot.Foundation.HWND hWnd, Span<char>lpString) 692 internal static int GetWindowText(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.PWSTR lpString, int nMaxCount) 700 static extern int LocalExternFunction(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.PWSTR lpString, int nMaxCount); 717 internal static int GetWindowTextLength(winmdroot.Foundation.HWND hWnd) 725 static extern int LocalExternFunction(winmdroot.Foundation.HWND hWnd); 728 /// <inheritdoc cref="GetWindowThreadProcessId(winmdroot.Foundation.HWND, uint*)"/> 731 internal static unsafe uint GetWindowThreadProcessId(winmdroot.Foundation.HWND hWnd, out uint lpdwProcessId) 740 /// <inheritdoc cref="GetWindowThreadProcessId(winmdroot.Foundation.HWND, uint*)"/> 742 internal static unsafe uint GetWindowThreadProcessId(winmdroot.Foundation.HWND hWnd) 765 internal static extern unsafe uint GetWindowThreadProcessId(winmdroot.Foundation.HWND hWnd, [Optional] uint* lpdwProcessId); 833 /// <inheritdoc cref="MapWindowPoints(winmdroot.Foundation.HWND, winmdroot.Foundation.HWND, global::System.Drawing.Point*, uint)"/> 835 internal static unsafe int MapWindowPoints([Optional] winmdroot.Foundation.HWND hWndFrom, [Optional] winmdroot.Foundation.HWND hWndTo, ReadOnlySpan<global::System.Drawing.Point> lpPoints) 860 internal static extern unsafe int MapWindowPoints([Optional] winmdroot.Foundation.HWND hWndFrom, [Optional] winmdroot.Foundation.HWND hWndTo, global::System.Drawing.Point* lpPoints, uint cPoints); 909 internal static extern winmdroot.Graphics.Gdi.HMONITOR MonitorFromWindow(winmdroot.Foundation.HWND hwnd, winmdroot.Graphics.Gdi.MONITOR_FROM_FLAGS dwFlags); 911 /// <inheritdoc cref="PeekMessage(winmdroot.UI.WindowsAndMessaging.MSG*, winmdroot.Foundation.HWND, uint, uint, winmdroot.UI.WindowsAndMessaging.PEEK_MESSAGE_REMOVE_TYPE)"/> 914 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) 952 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); 980 internal static winmdroot.Foundation.BOOL PostMessage([Optional] winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam) 988 static extern winmdroot.Foundation.BOOL LocalExternFunction([Optional] winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 1039 internal static extern int ReleaseDC([Optional] winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Gdi.HDC hDC); 1066 internal static winmdroot.Foundation.LRESULT SendMessage(winmdroot.Foundation.HWND hWnd, uint Msg, [Optional] winmdroot.Foundation.WPARAM wParam, [Optional] winmdroot.Foundation.LPARAM lParam) 1074 static extern winmdroot.Foundation.LRESULT LocalExternFunction(winmdroot.Foundation.HWND hWnd, uint Msg, [Optional] winmdroot.Foundation.WPARAM wParam, [Optional] winmdroot.Foundation.LPARAM lParam); 1163 internal static extern winmdroot.Foundation.HWND WindowFromDC(winmdroot.Graphics.Gdi.HDC hDC);
_generated\265\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\266\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\267\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)
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 (3)
8public delegate BOOL EnumChildWindowsCallback(HWND hWnd); 18where T : IHandle<HWND> 42private static BOOL HandleEnumChildWindowsNativeCallback(HWND hWnd, LPARAM lParam)
Windows\Win32\PInvokeCore.EnumThreadWindows.cs (2)
8public delegate BOOL EnumThreadWindowsCallback(HWND hWnd); 46private static BOOL HandleEnumThreadWindowsNativeCallback(HWND hWnd, LPARAM lParam)
Windows\Win32\PInvokeCore.EnumWindows.cs (2)
8public delegate BOOL EnumWindowsCallback(HWND hWnd); 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);
System.Private.Windows.GdiPlus (5)
_generated\60\Windows.Win32.PInvokeGdiPlus.gdiplus.dll.g.cs (3)
1190 /// <inheritdoc cref="GdipCreateFromHWND(winmdroot.Foundation.HWND, winmdroot.Graphics.GdiPlus.GpGraphics**)"/> 1192 internal static unsafe winmdroot.Graphics.GdiPlus.Status GdipCreateFromHWND(winmdroot.Foundation.HWND hwnd, ref winmdroot.Graphics.GdiPlus.GpGraphics* graphics) 1202 internal static extern unsafe winmdroot.Graphics.GdiPlus.Status GdipCreateFromHWND(winmdroot.Foundation.HWND hwnd, winmdroot.Graphics.GdiPlus.GpGraphics** graphics);
Windows\Win32\Graphics\GdiPlus\GpRegionExtensions.cs (2)
20/// Creates a native region from a GDI+ <see cref="GpRegion"/> and <see cref="HWND"/>. 22public static RegionScope GetRegionScope(this IPointer<GpRegion> region, HWND hwnd)
System.Windows.Forms (549)
System\Windows\Forms\Accessibility\AccessibleObject.cs (6)
2512/// <inheritdoc cref="IOleWindow.GetWindow(HWND*)"/> 2532HRESULT IOleWindow.Interface.GetWindow(HWND* phwnd) 2554*phwnd = HWND.Null; 2729(HWND)handle, 2757(HWND)handle, 2998HRESULT IRawElementProviderHwndOverride.Interface.GetOverrideProviderForHwnd(HWND hwnd, IRawElementProviderSimple** pRetVal)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (7)
22private HWND _handle = HWND.Null; 255_handle = (HWND)value; 268internal HWND HandleInternal => _handle; 472new HandleRef<HWND>(Owner, HandleInternal), 524=> UIAHelper.WindowHandleToVariant(Owner?.InternalHandle ?? HWND.Null), 544PInvoke.UiaHostProviderFromHwnd(new HandleRef<HWND>(this, HandleInternal), out IRawElementProviderSimple* provider);
System\Windows\Forms\Accessibility\LabelEditAccessibleObject.cs (2)
41UIA_PROPERTY_ID.UIA_NativeWindowHandlePropertyId => UIAHelper.WindowHandleToVariant(_labelEdit.TryGetTarget(out var target) ? target.HWND : HWND.Null), 79_labelEdit.TryGetTarget(out var target) ? (int)target.HWND : (int)HWND.Null
System\Windows\Forms\Accessibility\LabelEditNativeWindow.cs (4)
22HWND hwnd, 45var functionPointer = (delegate* unmanaged[Stdcall]<HWINEVENTHOOK, uint, HWND, int, int, uint, uint, void>) 71public bool IsHandleCreated => Handle != HWND.Null; 118private void WinEventProcCallback(HWINEVENTHOOK hWinEventHook, uint eventId, HWND hwnd, int idObject, int idChild, uint idEventThread, uint dwmsEventTime)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (4)
25private readonly IHandle<HWND> _owningChildEdit; 228PInvokeCore.MapWindowPoints(_owningChildEdit.Handle, HWND.Null, ref pt); 272if (PInvokeCore.MapWindowPoints(HWND.Null, _owningChildEdit.Handle, ref clientLocation) == 0) 308PInvokeCore.MapWindowPoints(_owningChildEdit.Handle, HWND.Null, ref r);
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (4)
608HRESULT IOleInPlaceFrame.Interface.GetWindow(HWND* phwnd) 701HRESULT IOleInPlaceFrame.Interface.SetMenu(HMENU hmenuShared, nint holemenu, HWND hwndActiveObject) => HRESULT.E_NOTIMPL; 711HRESULT IOleInPlaceUIWindow.Interface.GetWindow(HWND* phwnd) 729HRESULT IOleWindow.Interface.GetWindow(HWND* phwnd)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (2)
263public HWND Hwnd => GetControl()?.HWND ?? HWND.Null;
System\Windows\Forms\ActiveX\AxHost.cs (16)
123private HWND _hwndFocus; 814private HWND GetHandleNoCreate() => IsHandleCreated ? (HWND)Handle : default; 1246HWND handle = HWND; 1757hwnd = (ContainingControl is null) ? HWND.Null : ContainingControl.HWND, 2156parent is null ? HWND.Null : parent.HWND, 2968hWndOwner = (ContainingControl is null) ? HWND.Null : ContainingControl.HWND, 3023HWND handle = ContainingControl is null ? HWND.Null : ContainingControl.HWND; 3104_hwndFocus = (HWND)(nint)m.WParamInternal; 3136HWND hwnd = HWND.Null; 3139Application.ParkHandle(new HandleRef<HWND>(this, hwnd), DpiAwarenessContext); 3204HWND handle = GetHandleNoCreate(); 3210(delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, LRESULT>)wndProc, 3235private void AttachWindow(HWND hwnd)
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (8)
102HWND hwnd, 110HWND hwnd, 305HWND hwnd = HWND.Null; 332HRESULT IOleWindow.Interface.GetWindow(HWND* phwnd) 338HRESULT IOleInPlaceSite.Interface.GetWindow(HWND* phwnd) 345*phwnd = _host.ParentInternal?.HWND ?? HWND.Null; 402lpFrameInfo->hwndFrame = _host.ParentInternal?.HWND ?? HWND.Null;
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (11)
270internal HWND HWNDParent { get; private set; } 331/// <inheritdoc cref="IOleObject.DoVerb(int, MSG*, IOleClientSite*, int, HWND, RECT*)"/> 337HWND hwndParent, 356HWND hwnd = lpmsg->hwnd; 360HWND hwndMap = hwnd.IsNull ? hwndParent : hwnd; 746/// <inheritdoc cref="IOleWindow.GetWindow(HWND*)"/> 747internal unsafe HRESULT GetWindow(HWND* phwnd) 756*phwnd = HWND.Null; 760*phwnd = (HWND)_control.Handle; 824HWND hwndParent = default; 1810HWND hWndParent = PInvoke.GetParent(_control);
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (8)
83/// <inheritdoc cref="IOleWindow.GetWindow(HWND*)"/> 84HRESULT IOleInPlaceActiveObject.Interface.GetWindow(HWND* phwnd) 116/// <inheritdoc cref="IOleWindow.GetWindow(HWND*)"/> 117HRESULT IOleInPlaceObject.Interface.GetWindow(HWND* phwnd) => ActiveXInstance.GetWindow(phwnd); 205/// <inheritdoc cref="IOleObject.DoVerb(int, MSG*, IOleClientSite*, int, HWND, RECT*)"/> 211HWND hwndParent, 347/// <inheritdoc cref="IOleWindow.GetWindow(HWND*)"/> 348HRESULT IOleWindow.Interface.GetWindow(HWND* phwnd) => ((IOleInPlaceObject.Interface)this).GetWindow(phwnd);
System\Windows\Forms\Application.ComponentManager.cs (4)
201return PInvokeCore.PeekMessage(&msg, HWND.Null, 0, 0, PEEK_MESSAGE_REMOVE_TYPE.PM_NOREMOVE); 231if (PInvokeCore.PeekMessage(&msg, HWND.Null, 0, 0, PEEK_MESSAGE_REMOVE_TYPE.PM_NOREMOVE)) 239PInvoke.GetMessage(&msg, HWND.Null, 0, 0); 309if (!PInvokeCore.PeekMessage(&msg, HWND.Null, 0, 0, PEEK_MESSAGE_REMOVE_TYPE.PM_NOREMOVE))
System\Windows\Forms\Application.ComponentThreadContext.cs (5)
292if (PInvoke.GetMessage(&msg, HWND.Null, 0, 0)) 309else if (!PInvokeCore.PeekMessage(&msg, HWND.Null, 0, 0, PEEK_MESSAGE_REMOVE_TYPE.PM_NOREMOVE)) 454if (!PInvokeCore.PeekMessage(&temp, HWND.Null, 0, 0, PEEK_MESSAGE_REMOVE_TYPE.PM_NOREMOVE)) 478HWND IMsoComponent.Interface.HwndGetWindow(msocWindow dwWhich, uint dwReserved) => HWND.Null;
System\Windows\Forms\Application.cs (6)
360HWND hwnd = PInvoke.FindWindow(s_systemTrackerWindow, s_systemTrackerWindow); 733private static unsafe BOOL SendThemeChanged(HWND hwnd) 758private static BOOL SendThemeChangedRecursive(HWND handle) 1167internal static unsafe ThreadContext GetContextForHandle<T>(T handle) where T : IHandle<HWND> 1230internal static void ParkHandle(HandleRef<HWND> handle, DPI_AWARENESS_CONTEXT dpiAwarenessContext) 1272internal static void UnparkHandle(IHandle<HWND> handle, DPI_AWARENESS_CONTEXT context)
System\Windows\Forms\Application.LightThreadContext.cs (4)
64if (!PInvokeCore.PeekMessage(&temp, HWND.Null, 0, 0, PEEK_MESSAGE_REMOVE_TYPE.PM_NOREMOVE)) 83if (PInvokeCore.PeekMessage(&msg, HWND.Null, 0, 0, PEEK_MESSAGE_REMOVE_TYPE.PM_NOREMOVE)) 91PInvoke.GetMessage(&msg, HWND.Null, 0, 0); 134if (!PInvokeCore.PeekMessage(&msg, HWND.Null, 0, 0, PEEK_MESSAGE_REMOVE_TYPE.PM_NOREMOVE))
System\Windows\Forms\Application.MarshallingControl.cs (1)
32cp.Parent = HWND.HWND_MESSAGE;
System\Windows\Forms\Application.ModalApplicationContext.cs (2)
30HWND parentHandle = (HWND)PInvokeCore.GetWindowLong(MainForm, WINDOW_LONG_PTR_INDEX.GWL_HWNDPARENT);
System\Windows\Forms\Application.ParkingWindow.cs (5)
38cp.Parent = HWND.HWND_MESSAGE; 92HWND hwndChild = PInvoke.GetWindow(this, GET_WINDOW_CMD.GW_CHILD); 107internal void ParkHandle<T>(T handle) where T : IHandle<HWND> 114PInvoke.SetParent(handle, (IHandle<HWND>)this); 120internal void UnparkHandle<T>(T handle) where T : IHandle<HWND>
System\Windows\Forms\Application.ThreadContext.cs (4)
729HWND hwndOwner = default; 750hwndOwner = (HWND)PInvokeCore.GetWindowLong(CurrentForm, WINDOW_LONG_PTR_INDEX.GWL_HWNDPARENT); 878msg.hwnd = (HWND)message.HWnd; 972HWND hwndRoot = PInvoke.GetAncestor(msg.hwnd, GET_ANCESTOR_FLAGS.GA_ROOT);
System\Windows\Forms\Application.ThreadWindows.cs (7)
15private readonly List<HWND> _windows; 16private HWND _activeHwnd; 17private HWND _focusedHwnd; 23_windows = new List<HWND>(16); 28private BOOL Callback(HWND hwnd) 47foreach (HWND hwnd in _windows) 66foreach (HWND hwnd in _windows)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (3)
51HWND handle = parent is null ? HWND.Null : (HWND)parent.Handle;
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (2)
31HWND parentHandle = PInvoke.GetFocus(); 39parentHandle = (HWND)parent.Handle;
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (2)
28HWND parentHandle = PInvoke.GetFocus(); 79(HWND)parentHandle,
System\Windows\Forms\Control.cs (56)
48IHandle<HWND> 1311HWND focusHwnd = PInvoke.GetFocus(); 2221internal HWND HWNDInternal => _window.HWND; 2261HWND parentHandle = PInvoke.GetParent(this); 2262HWND lastParentHandle = parentHandle; 2332HWND prev; 2333HWND next; 2334HWND start = parent is not null ? parent.HWND : HWND; 2356internal HWND InternalHandle => !IsHandleCreated ? default : (HWND)Handle; 4403HWND.HWND_TOP, 5225HWND hwnd = (HWND)handle; 5244internal static HandleRef<HWND> GetHandleRef(HWND hwnd) => new(FromChildHandle(hwnd), hwnd); 5309HWND hwnd = PInvoke.ChildWindowFromPointEx(this, pt, (CWP_FLAGS)value); 5467for (HWND hWndChild = PInvoke.GetWindow(this, GET_WINDOW_CMD.GW_CHILD); 5469hWndChild = PInvoke.GetWindow(new HandleRef<HWND>(this, hWndChild), GET_WINDOW_CMD.GW_HWNDNEXT)) 5785internal static HandleRef<HWND> GetSafeHandle(IWin32Window window) 5794HWND hwnd = (HWND)window.Handle; 7989PInvokeCore.GetClientRect(new HandleRef<HWND>(_window, InternalHandle), out RECT rect); 8584PInvokeCore.MapWindowPoints((HWND)default, this, ref p); 8593PInvokeCore.MapWindowPoints(this, (HWND)default, ref p); 9245HWND parentHandle = PInvoke.GetParent(this); 9392PInvokeCore.MapWindowPoints(HWND.Null, this, ref rect); 9402PInvokeCore.MapWindowPoints(this, HWND.Null, ref rect); 9442internal virtual void ReleaseUiaProvider(HWND handle) 10054HWND.HWND_BOTTOM, 10195PInvoke.SetWindowPos(this, HWND.Null, x, y, width, height, flags); 10260private void SetParentHandle(HWND value) 10266HWND parentHandle = PInvoke.GetParent(this); 10323if (PInvoke.SetParent(this, HWND.Null).IsNull) 10454HWND.Null, 10515HWND.HWND_TOP, 10525static unsafe void PrepareDarkMode(HWND hwnd, bool darkModeEnabled) 10866PInvokeCore.MapWindowPoints(HWND.Null, PInvoke.GetParent(this), ref rect); 10957HWND hWnd = control.InternalHandle; 10996HWND parentHandle = PInvoke.GetParent(this); 11026HWND previous = HWND.HWND_TOP; 11106HWND.HWND_TOP, 11125internal void WindowAssignHandle(HWND handle, bool value) 11139HWND parentHandle = HWND; 11140HWND lastParentHandle = parentHandle; 11797HWND dialogItem = PInvoke.GetDlgItem(m.HWND, controlId); 11804dialogItem = (HWND)controlId; 11813HWND handle = NativeWindow.GetHandleFromWindowId((short)m.WParamInternal.LOWORD); 11982if ((HWND)m.WParamInternal == InternalHandle && m.LParamInternal.LOWORD == PInvoke.HTCLIENT) 12032HWND hWnd = HWND.Null; 12036hWnd = (HWND)m.LParamInternal; 12952HWND IHandle<HWND>.Handle => HWND; 12954internal HWND HWND => (HWND)Handle;
System\Windows\Forms\Control.Ime.cs (14)
268HWND focusHandle = PInvoke.GetFocus(); 698HIMC oldContext = PInvoke.ImmAssociateContext((HWND)handle, (HIMC)IntPtr.Zero); 712HIMC inputContext = PInvoke.ImmGetContext((HWND)handle); 722PInvoke.ImmAssociateContext((HWND)handle, inputContext); 727PInvoke.ImmAssociateContext((HWND)handle, s_originalImeContext); 732PInvoke.ImmReleaseContext((HWND)handle, inputContext); 760inputContext = PInvoke.ImmGetContext((HWND)handle); 810PInvoke.ImmReleaseContext((HWND)handle, inputContext); 821HIMC inputContext = PInvoke.ImmGetContext((HWND)handle); 828PInvoke.ImmReleaseContext((HWND)handle, inputContext); 905HIMC inputContext = PInvoke.ImmGetContext((HWND)handle); 915PInvoke.ImmReleaseContext((HWND)handle, inputContext); 932HIMC inputContext = PInvoke.ImmGetContext((HWND)handle); 941succeeded = PInvoke.ImmReleaseContext((HWND)handle, inputContext);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
61ScaleHelper.IsScalingRequirementMet ? Control.HWNDInternal : HWND.Null);
System\Windows\Forms\Controls\Buttons\ButtonRenderer.cs (2)
91HWND hwnd) 126DrawButtonForHandle(g, bounds, focused, state, HWND.Null);
System\Windows\Forms\Controls\Buttons\CheckBoxRenderer.cs (5)
74HWND hwnd = default) 110CheckBoxState state) => DrawCheckBox(g, glyphLocation, textBounds, checkBoxText, font, flags, focused, state, HWND.Null); 121HWND hwnd) 232internal static Size GetGlyphSize(IDeviceContext deviceContext, CheckBoxState state, HWND hwnd = default) 243internal static Size GetGlyphSize(HDC hdc, CheckBoxState state, HWND hwnd)
System\Windows\Forms\Controls\Buttons\RadioButtonRenderer.cs (9)
51DrawRadioButton(g, glyphLocation, state, HWND.Null); 57HWND hwnd) 68HWND hwnd) 113DrawRadioButton(g, glyphLocation, textBounds, radioButtonText, font, flags, focused, state, HWND.Null); 125HWND hwnd) 201HWND.Null); 214HWND hwnd) 254return GetGlyphSize(hdc, state, HWND.Null); 257internal static Size GetGlyphSize(HDC hdc, RadioButtonState state, HWND hwnd)
System\Windows\Forms\Controls\ComboBox\ComboBox.ACNativeWindow.cs (7)
16private static readonly Dictionary<HWND, ACNativeWindow?> s_acWindows = []; 18internal ACNativeWindow(HWND acHandle) 23PInvokeCore.EnumChildWindows(new HandleRef<HWND>(this, acHandle), RegisterACWindowRecursive); 26private static BOOL RegisterACWindowRecursive(HWND handle) 78internal static void RegisterACWindow(HWND acHandle, bool subclass) 107List<HWND> toRemove = []; 116foreach (HWND handle in toRemove)
System\Windows\Forms\Controls\ComboBox\ComboBox.AutoCompleteDropDownFinder.cs (1)
37private unsafe BOOL Callback(HWND hwnd)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildEditUiaProvider.cs (3)
22private readonly HWND _handle; 29public ComboBoxChildEditUiaProvider(ComboBox owner, HWND childEditControlhandle) : base(owner, childEditControlhandle) 88PInvoke.UiaHostProviderFromHwnd(new HandleRef<HWND>(this, _handle), out IRawElementProviderSimple* provider);
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildListUiaProvider.cs (3)
22private readonly HWND _childListControlhandle; 24public ComboBoxChildListUiaProvider(ComboBox owningComboBox, HWND childListControlhandle) : base(owningComboBox, childListControlhandle) 183PInvoke.UiaHostProviderFromHwnd(new HandleRef<HWND>(this, _childListControlhandle), out IRawElementProviderSimple* provider);
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxItemAccessibleObject.cs (1)
54PInvokeCore.MapWindowPoints(listHandle, HWND.Null, ref translated);
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (3)
28private readonly IHandle<HWND> _owningChildEdit; 295PInvokeCore.MapWindowPoints(_owningChildEdit, (HWND)default, ref pt); 345if (PInvokeCore.MapWindowPoints((HWND)default, _owningChildEdit, ref clientLocation) == 0)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (11)
69private HWND _dropDownHandle; 532HWND focus = PInvoke.GetFocus(); 1972internal HandleRef<HWND> GetListHandle() 2283HWND hwnd = PInvoke.GetWindow(this, GET_WINDOW_CMD.GW_CHILD); 2293hwnd = PInvoke.GetWindow(new HandleRef<HWND>(this, hwnd), GET_WINDOW_CMD.GW_HWNDNEXT); 2372_dropDownHandle = HWND.Null; 3048internal override void ReleaseUiaProvider(HWND handle) 3348HWND.HWND_TOP, 3453_dropDownHandle = (HWND)m.LParamInternal; 3665HWND hwndChild = (HWND)m.LParamInternal;
System\Windows\Forms\Controls\ComboBox\ComboBoxRenderer.cs (2)
105DrawDropDownButtonForHandle(hdc, bounds, state, HWND.Null); 115internal static void DrawDropDownButtonForHandle(HDC hdc, Rectangle bounds, ComboBoxState state, HWND hwnd)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
25596internal override void ReleaseUiaProvider(HWND handle) 25621_editingPanel?.ReleaseUiaProvider(HWND.Null);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
2430EditingComboBox?.ReleaseUiaProvider(HWND.Null);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxEditingControl.cs (1)
128internal override void ReleaseUiaProvider(HWND handle)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
287internal override void ReleaseUiaProvider(HWND handle)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (2)
1503HWND handle = (HWND)PInvokeCore.SendMessage(this, PInvoke.DTM_GETMONTHCAL);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.EnumChildren.cs (2)
10public HWND hwndFound; 12public BOOL enumChildren(HWND hwnd)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (2)
428internal override void ReleaseUiaProvider(HWND handle) 1748if ((HWND)m.WParamInternal == InternalHandle && m.LParamInternal.LOWORD == PInvoke.HTCLIENT)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
2037internal override void ReleaseUiaProvider(HWND handle)
System\Windows\Forms\Controls\ListBoxes\ListBox.ItemAccessibleObject.cs (1)
171UIA_PROPERTY_ID.UIA_NativeWindowHandlePropertyId => UIAHelper.WindowHandleToVariant(HWND.Null),
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (2)
395HWND hwndHdr = (HWND)PInvokeCore.SendMessage(ListView, PInvoke.LVM_GETHEADER);
System\Windows\Forms\Controls\ListView\ListView.cs (13)
2187HWND hwnd = (HWND)PInvokeCore.SendMessage(this, PInvoke.LVM_GETHEADER); 3794HWND header = (HWND)PInvokeCore.SendMessage(this, PInvoke.LVM_GETHEADER); 3797PInvoke.InvalidateRect(new HandleRef<HWND>(this, header), lpRect: null, bErase: true); 4695HWND columnHeaderHandle = (HWND)PInvokeCore.SendMessage( 4940HWND headerWindow = PInvoke.GetWindow(this, GET_WINDOW_CMD.GW_CHILD); 5087internal override void ReleaseUiaProvider(HWND handle) 5422HWND oldHandle = (HWND)PInvokeCore.SendMessage(this, PInvoke.LVM_SETTOOLTIPS, toolTip); 6376HWND hwndHdr = (HWND)PInvokeCore.SendMessage(this, PInvoke.LVM_GETHEADER);
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
189UIA_PROPERTY_ID.UIA_NativeWindowHandlePropertyId => UIAHelper.WindowHandleToVariant(HWND.Null),
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (1)
194return UIAHelper.WindowHandleToVariant(HWND.Null);
System\Windows\Forms\Controls\Menus\MenuStrip.cs (1)
240HWND ancestor = PInvoke.GetAncestor(this, GET_ANCESTOR_FLAGS.GA_ROOT);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
1479internal override void ReleaseUiaProvider(HWND handle)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (5)
1852internal override void ReleaseUiaProvider(HWND handle) 1862_helpPane?.ReleaseUiaProvider(HWND.Null); 1863_commandsPane?.ReleaseUiaProvider(HWND.Null); 1864_toolStrip?.ReleaseUiaProvider(HWND.Null); 3336HWND hWndParent = PInvoke.GetParent(this);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (1)
148ScaleHelper.IsScalingRequirementMet ? HWNDInternal : HWND.Null);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (2)
1655void PaintOutlineWithExplorerTreeStyle(Graphics g, Rectangle r, HWND hwnd) 1699HWND hwnd)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (3)
201/// they don't have windows - we use <see cref="HWND" /> of <see cref="PropertyGridView" />. 210? (int)(owner?.OwnerGridView?.InternalHandle ?? HWND.Null) 211: (int)HWND.Null,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (1)
127HWND.HWND_TOPMOST,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (11)
2562for (HWND hwnd = PInvokeCore.GetForegroundWindow(); !hwnd.IsNull; hwnd = PInvoke.GetParent(hwnd)) 4783internal override void ReleaseUiaProvider(HWND handle) 4793_scrollBar?.ReleaseUiaProvider(HWND.Null); 4794_listBox?.ReleaseUiaProvider(HWND.Null); 4795_dropDownHolder?.ReleaseUiaProvider(HWND.Null); 4796_editTextBox?.ReleaseUiaProvider(HWND.Null); 4797_dropDownButton?.ReleaseUiaProvider(HWND.Null); 4798_dialogButton?.ReleaseUiaProvider(HWND.Null); 4903HWND priorFocus = PInvoke.GetFocus(); 4938HWND.Null, 5011HWND.Null,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (4)
264private bool OwnsWindow(HWND hWnd) 268hWnd = (HWND)PInvokeCore.GetWindowLong(hWnd, WINDOW_LONG_PTR_INDEX.GWL_HWNDPARENT); 667HWND activatedWindow = (HWND)m.LParamInternal;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.MouseHook.cs (1)
152private bool ProcessMouseDown(HWND hwnd)
System\Windows\Forms\Controls\TabControl\TabControl.cs (4)
1255HWND tooltipHwnd = (HWND)PInvokeCore.SendMessage(this, PInvoke.TCM_GETTOOLTIPS); 1260HWND.HWND_TOPMOST, 1790private BOOL StyleChildren(HWND handle) =>
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
648internal override void ReleaseUiaProvider(HWND handle)
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (1)
110if (PInvokeCore.MapWindowPoints((HWND)default, Owner, ref clientLocation) == 0)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
171HWND rootHwnd = PInvoke.GetAncestor(this, GET_ANCESTOR_FLAGS.GA_ROOT); 577HWND rootHwnd = PInvoke.GetAncestor(this, GET_ANCESTOR_FLAGS.GA_ROOT);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (13)
35private HWND _hwndThatLostFocus; 3912internal override void ReleaseUiaProvider(HWND handle) 4399private void SnapFocus(HWND otherHwnd) 4428HWND thisHwndRoot = PInvoke.GetAncestor(this, GET_ANCESTOR_FLAGS.GA_ROOT); 4429HWND otherHwndRoot = PInvoke.GetAncestor(otherHwnd, GET_ANCESTOR_FLAGS.GA_ROOT); 4580SnapFocus((HWND)(nint)m.WParamInternal); 4594HWND previousFocus = (HWND)(nint)m.WParamInternal; 4611HWND nextFocus = (HWND)(nint)m.WParamInternal; 4632HWND hwndClicked = PInvoke.ChildWindowFromPointEx( 4647HWND rootHwnd = PInvoke.GetAncestor(this, GET_ANCESTOR_FLAGS.GA_ROOT); 4651HWND hwndActive = PInvoke.GetActiveWindow();
System\Windows\Forms\Controls\ToolStrips\ToolStrip.RestoreFocusMessageFilter.cs (1)
39HWND rootHwnd = PInvoke.GetAncestor(_ownerToolStrip, GET_ANCESTOR_FLAGS.GA_ROOT);
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
855_control?.ReleaseUiaProvider(HWND.Null);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (6)
893topMost ? HWND.HWND_TOPMOST : HWND.HWND_NOTOPMOST, 1581HWND foregroundWindow = PInvokeCore.GetForegroundWindow(); 1624HWND.HWND_TOP, 1916Debug.Fail($"Why are we being activated when we're not visible? Deactivating thing is {WindowsFormsUtils.GetControlInformation((HWND)(nint)m.LParamInternal)}"); 1982HandleRef<HWND> activeWindow = ToolStripManager.ModalMenuFilter.ActiveHwnd;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
640_dropDown?.ReleaseUiaProvider(HWND.Null);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (4)
831HWND rootWindowOfToolStrip = PInvoke.GetAncestor(topMostToolStrip, GET_ANCESTOR_FLAGS.GA_ROOT); 832HWND rootWindowOfControl = PInvoke.GetAncestor(activeControl, GET_ANCESTOR_FLAGS.GA_ROOT); 932HWND topmostParentOfMenu = PInvoke.GetAncestor(menuStripToActivate, GET_ANCESTOR_FLAGS.GA_ROOT); 933HWND foregroundWindow = PInvokeCore.GetForegroundWindow();
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (15)
31private HandleRef<HWND> _activeHwnd; 33private HandleRef<HWND> _lastActiveWindow; 60internal static HandleRef<HWND> ActiveHwnd => Instance.ActiveHwndInternal; 76private HandleRef<HWND> ActiveHwndInternal 132HWND hwndActive = PInvoke.GetActiveWindow(); 201PInvoke.ShowCaret(HWND.Null); 312private void ProcessMouseButtonPressed(HWND hwndMouseMessageIsFrom, Point location) 402HWND hwndActive = PInvoke.GetActiveWindow(); 461PInvoke.HideCaret(HWND.Null); 487private static bool IsChildOrSameWindow<T>(in T hwndParent, in T hwndChild) where T : IHandle<HWND> 527HandleRef<HWND> activeToolStripHandle = new(activeToolStrip); 571if (!IsChildOrSameWindow<IHandle<HWND>>(activeToolStripHandle, m)) 576if (toplevelToolStrip is not null && IsChildOrSameWindow<IHandle<HWND>>(toplevelToolStrip, m)) 585else if (!IsChildOrSameWindow<IHandle<HWND>>(ActiveHwnd, m)) 639internal static DPI_AWARENESS_CONTEXT GetDpiAwarenessContextForWindow(HWND hwnd)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
37private HandleRef<HWND> _targetWindowHandle;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.FeedbackRectangle.FeedbackDropDown.cs (1)
54HWND.Null,
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarChildAccessibleObject.cs (1)
61(int)(this.TryGetOwnerAs(out TrackBar? owner) ? owner.InternalHandle : HWND.Null),
System\Windows\Forms\Controls\TreeView\TreeView.cs (5)
175internal override void ReleaseUiaProvider(HWND handle) 1936HWND.HWND_TOP, 1949HWND.HWND_TOP, 2906HWND tooltipHandle = nmhdr->hwndFrom; 2922HWND.HWND_TOPMOST,
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
456internal override void ReleaseUiaProvider(HWND handle)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
402internal override void ReleaseUiaProvider(HWND handle)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
1104HWND hwndFocus = PInvoke.GetFocus();
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (5)
333hwnd = HWND.Null, 425HWND hwndInPlaceObject = HWND.Null; 428Application.ParkHandle(new HandleRef<HWND>(AXInPlaceObject, hwndInPlaceObject), DpiAwarenessContext); 769internal void AttachWindow(HWND hwnd)
System\Windows\Forms\Controls\WebBrowser\WebBrowserContainer.cs (4)
69HRESULT IOleInPlaceFrame.Interface.GetWindow(HWND* phwnd) 142HRESULT IOleInPlaceFrame.Interface.SetMenu(HMENU hmenuShared, nint holemenu, HWND hwndActiveObject) 414HRESULT IOleInPlaceUIWindow.Interface.GetWindow(HWND* phwnd) 432HRESULT IOleWindow.Interface.GetWindow(HWND* phwnd)
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (7)
187HWND hwnd = HWND.Null; 214unsafe HRESULT IOleInPlaceSite.Interface.GetWindow(HWND* phwnd) 271lpFrameInfo->hwndFrame = Host.ParentInternal is { } parent ? parent.HWND : HWND.Null; 310HWND hWnd, 318HWND hWnd, 418HRESULT IOleWindow.Interface.GetWindow(HWND* phwnd)
System\Windows\Forms\Dialogs\CommonDialogs\ColorDialog.cs (2)
174hwndOwner = (HWND)hwndOwner, 175hInstance = (HWND)Instance,
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (14)
22private HWND _defaultControlHwnd; 24private readonly unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> _functionPointer; 33_functionPointer = (delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint>)(void*)Marshal.GetFunctionPointerForDelegate(_hookProc); 54internal LRESULT HookProcInternal(HWND hWnd, uint msg, WPARAM wparam, LPARAM lparam) 57private protected unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> HookProcFunctionPointer 68MoveToScreenCenter((HWND)hWnd); 72_defaultControlHwnd = (HWND)wparam; 73PInvoke.SetFocus((HWND)wparam); 77PInvokeCore.PostMessage((HWND)hWnd, CDM_SETDEFAULTFOCUS); 95private protected static void MoveToScreenCenter(HWND hwnd) 103HWND.HWND_TOP, 117private LRESULT OwnerWndProcInternal(HWND hWnd, uint msg, WPARAM wparam, LPARAM lparam) 146return PInvokeCore.CallWindowProc((void*)_priorWindowProcedure, (HWND)hWnd, (uint)msg, (nuint)wparam, lparam); 193HandleRef<HWND> ownerHwnd = default;
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (8)
35private HWND _dialogHWnd; 499_dialogHWnd = PInvoke.GetParent((HWND)hWnd); 549PInvokeCore.SetWindowLong((HWND)hWnd, 0, -1); 556PInvokeCore.SetWindowLong((HWND)hWnd, 0, -1); 671HWND focusHandle = PInvoke.GetFocus(); 734if (UseVistaDialogInternal && TryRunDialogVista((HWND)hWndOwner, out bool returnValue)) 739return RunDialogOld((HWND)hWndOwner); 742private unsafe bool RunDialogOld(HWND owner)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.Vista.cs (1)
23private unsafe bool TryRunDialogVista(HWND hWndOwner, out bool returnValue)
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (5)
279UseVistaDialogInternal && TryRunDialogVista((HWND)hwndOwner, out bool returnValue) 281: RunDialogOld((HWND)hwndOwner); 283private unsafe bool TryRunDialogVista(HWND owner, out bool returnValue) 436private unsafe bool RunDialogOld(HWND owner) 488private static unsafe int FolderBrowserDialog_BrowseCallbackProc(HWND hwnd, uint msg, LPARAM lParam, LPARAM lpData)
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (7)
313PInvokeCore.SendMessage((HWND)hWnd, PInvokeCore.WM_CHOOSEFONT_GETLOGFONT, (WPARAM)0, ref logFont); 315int index = (int)PInvoke.SendDlgItemMessage((HWND)hWnd, (int)PInvoke.cmb4, PInvoke.CB_GETCURSEL, 0, 0); 319(HWND)hWnd, 346HWND hWndCtl = PInvoke.GetDlgItem((HWND)hWnd, (int)PInvoke.cmb4); 348hWndCtl = PInvoke.GetDlgItem((HWND)hWnd, (int)PInvoke.stc4); 389hwndOwner = (HWND)hWndOwner,
System\Windows\Forms\Dialogs\MessageBox.cs (1)
456HandleRef<HWND> handle = default;
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (6)
86private HWND _handle; 270HWND hwnd, 665_handle = HWND.Null; 909HWND hWnd, 1012_handle = HWND.Null; 1448hwndParent = (HWND)hwndOwner,
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.WindowSubclassHandler.cs (1)
13: base((HWND)taskDialog.OrThrowIfNull().Handle)
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.ControlItemAccessibleObject.cs (1)
90=> UIAHelper.WindowHandleToVariant(_window?.Handle ?? HWND.Null),
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (3)
128HWND.HWND_TOP, 151HWND.HWND_TOP, 380HWND.HWND_TOP,
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.ErrorWindowAccessibleObject.cs (1)
83PInvoke.UiaHostProviderFromHwnd(new HandleRef<HWND>(this, _owner.HWND), out IRawElementProviderSimple* provider);
System\Windows\Forms\Form.cs (17)
1362HWND.HWND_TOP, 2003private IHandle<HWND> TaskbarOwner 2067value ? HWND.HWND_TOPMOST : HWND.HWND_NOTOPMOST, 3712HandleRef<HWND> ownerHandle = dialogOwner is not null 3903HWND ownerHandle = (HWND)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.GWL_HWNDPARENT); 3955HWND hWndOwner = default; 3958hWndOwner = (HWND)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.GWL_HWNDPARENT); 5477HWND activeHwnd = PInvoke.GetActiveWindow(); 5478HandleRef<HWND> ownerHwnd = owner is null ? GetHandleRef(activeHwnd) : GetSafeHandle(owner); 5709HWND captureHwnd = PInvoke.GetCapture(); 5716HWND activeHwnd = PInvoke.GetActiveWindow(); 5717HandleRef<HWND> ownerHwnd = owner is null ? GetHandleRef(activeHwnd) : GetSafeHandle(owner); 6115IHandle<HWND> ownerHwnd = NullHandle<HWND>.Instance; 6946if (HWND == (HWND)m.WParamInternal)
System\Windows\Forms\Form.EnumThreadWindowsCallback.cs (8)
14private List<HWND>? _ownedWindows; 16private readonly HWND _formHandle; 18internal EnumThreadWindowsCallback(HWND formHandle) 23internal BOOL Callback(HWND hwnd) 25HWND parent = (HWND)PInvokeCore.GetWindowLong(hwnd, WINDOW_LONG_PTR_INDEX.GWL_HWNDPARENT); 42foreach (HWND hwnd in _ownedWindows) 55foreach (HWND hwnd in _ownedWindows)
System\Windows\Forms\Help\Help.cs (3)
140HandleRef<HWND> handle = parent is not null ? (new(parent)) : Control.GetHandleRef(PInvoke.GetActiveWindow()); 166PInvoke.HtmlHelp(HWND.Null, pathAndFileName, HH_DISPLAY_TOPIC, null); 217HandleRef<HWND> handle = parent is not null ? new(parent) : Control.GetHandleRef(PInvoke.GetActiveWindow());
System\Windows\Forms\Internal\WinFormsUtils.cs (1)
153internal static string GetControlInformation(HWND hwnd)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (2)
628HWND focusHandle = PInvoke.GetFocus(); 1411HWND.HWND_TOP,
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
2270if ((HWND)m.WParamInternal == InternalHandle && m.LParamInternal.LOWORD == PInvoke.HTCLIENT)
System\Windows\Forms\NativeWindow.cs (26)
14public unsafe partial class NativeWindow : MarshalByRefObject, IWin32Window, IHandle<HWND> 38private static readonly Dictionary<HWND, GCHandle> s_windowHandles = []; 39private static readonly Dictionary<short, HWND> s_windowIds = []; 90HWND handle; 153internal HWND HWND { get; private set; } 155HWND IHandle<HWND>.Handle => HWND; 236private static void AddWindowToTable(HWND handle, NativeWindow window) 278internal static short CreateWindowId(IHandle<HWND> handle) 292public void AssignHandle(IntPtr handle) => AssignHandle((HWND)handle, assignUniqueID: true); 294internal unsafe void AssignHandle(HWND hwnd, bool assignUniqueID) 340private LRESULT Callback(HWND hWnd, uint msg, WPARAM wparam, LPARAM lparam) 414HWND createResult = HWND.Null; 448(HWND)cp.Parent, 541HWND = HWND.Null; 555=> handle != IntPtr.Zero ? GetWindowFromTable((HWND)handle) : null; 560private static NativeWindow? GetWindowFromTable(HWND handle) => 569internal static HWND GetHandleFromWindowId(short id) 571if (!s_windowIds.TryGetValue(id, out HWND handle)) 573handle = HWND.Null; 613foreach ((HWND handle, GCHandle gcHandle) in s_windowHandles) 615if (!handle.IsNull && handle != (HWND)(-1)) 626w?.HWND = HWND.Null; 688HWND = HWND.Null; 702private static void RemoveWindowFromDictionary(HWND hwnd, NativeWindow window)
System\Windows\Forms\NativeWindow.WindowClass.cs (2)
42public LRESULT Callback(HWND hwnd, uint msg, WPARAM wparam, LPARAM lparam) 158windowClass.lpfnWndProc = (delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, LRESULT>)callback;
System\Windows\Forms\OLE\DropSource.cs (3)
16private HWND _lastHwndTarget; 84void UpdateDragImage(GiveFeedbackEventArgs e, IComVisibleDataObject? dataObject, HWND lastHwndTarget) 100public unsafe HRESULT DragEnterTarget(HWND hwndTarget)
System\Windows\Forms\OLE\DropTarget.cs (1)
18private readonly HWND _hwndTarget;
System\Windows\Forms\Printing\PageSetupDialog.cs (1)
275hwndOwner = (HWND)hwndOwner,
System\Windows\Forms\Printing\PrintDialog.cs (4)
220UseEXDialog ? ShowPrintDialogEx((HWND)hwndOwner) : ShowPrintDialog((HWND)hwndOwner); 222private unsafe bool ShowPrintDialog(HWND hwndOwner) 348private unsafe bool ShowPrintDialogEx(HWND hwndOwner)
System\Windows\Forms\Printing\PrinterSettingsExtensions.cs (2)
26modeSize = PInvoke.DocumentProperties(HWND.Null, global::Windows.Win32.Graphics.Printing.PRINTER_HANDLE.Null, n, null, (DEVMODEW*)null, 0); 39HWND.Null,
System\Windows\Forms\Rendering\ControlPaint.cs (1)
335using GetDcScope screenDC = new(HWND.Null);
System\Windows\Forms\Screen.cs (1)
277? new Screen(PInvokeCore.MonitorFromWindow((HWND)hwnd, MONITOR_FROM_FLAGS.MONITOR_DEFAULTTONEAREST))
System\Windows\Forms\SendKeys\SendKeys.cs (5)
129HWND hwnd, 182private static void AddMsgsForVK(int vk, int repeat, bool altnoctrldown, HWND hwnd) 195private static void CancelMods(ref (int HaveShift, int HaveCtrl, int HaveAlt) haveKeys, int level, HWND hwnd) 379private static void ParseKeys(string keys, HWND hwnd) 923ParseKeys(keys, (control is not null) ? (HWND)control.Handle : default);
System\Windows\Forms\SendKeys\SendKeys.SKEvent.cs (3)
16public readonly HWND HWND; 18public SKEvent(MessageId wm, uint paramL, bool paramH, HWND hwnd) 26public SKEvent(MessageId wm, uint paramL, uint paramH, HWND hwnd)
System\Windows\Forms\StringSource.cs (1)
40public bool Bind(IHandle<HWND> edit, AUTOCOMPLETEOPTIONS options)
System\Windows\Forms\Timer.cs (3)
224Parent = HWND.HWND_MESSAGE 237private static bool GetInvokeRequired(HWND hwnd) 273public void StopTimer(HWND hwnd, bool destroyHwnd)
System\Windows\Forms\ToolTip\ToolTip.cs (29)
17public partial class ToolTip : Component, IExtenderProvider, IHandle<HWND> 50private readonly Dictionary<HWND, Control> _owners = []; 257HWND IHandle<HWND>.Handle => HWND; 259internal HWND HWND => (HWND)Handle; 308HWND hwnd = PInvoke.GetActiveWindow(); 309HWND rootHwnd = PInvoke.GetAncestor(control, GET_ANCESTOR_FLAGS.GA_ROOT); 987private ToolInfoWrapper<HandleRef<HWND>> GetWinTOOLINFO(IWin32Window window) 1028private HWND GetWindowFromPoint(Point screenCoords, ref bool success) 1036HWND hwndControl = PInvoke.WindowFromPoint(screenCoords); 1047return HWND.Null; 1050HWND baseHwnd = current?.HWND ?? HWND.Null; 1051HWND hwnd = HWND.Null; 1061HWND found = PInvoke.ChildWindowFromPointEx(baseHwnd, pt, CWP_FLAGS.CWP_SKIPINVISIBLE); 1104hwnd = HWND.Null; 1527HWND hwnd = GetCurrentToolHwnd(); 1532ToolInfoWrapper<HandleRef<HWND>> info = new(Control.GetSafeHandle(ownerWindow)); 1737ToolInfoWrapper<HandleRef<HWND>> info = new(Control.GetSafeHandle(win)); 1747_owners.Remove((HWND)win.Handle); 1757_owners.Remove((HWND)win.Handle); 1945HWND.HWND_TOPMOST, 1953private HWND GetCurrentToolHwnd() 1966HWND hwnd = GetCurrentToolHwnd(); 2092HWND.HWND_TOPMOST, 2103HWND.HWND_TOPMOST, 2242_owners.Remove((HWND)window.Handle);
System\Windows\Forms\UserControl.cs (1)
248HWND hwndFocus = PInvoke.GetFocus();
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (10)
106using PInvoke.OpenThemeDataScope handle = new(HWND.Null, className); 216DrawBackground(hdc, bounds, HWND.Null); 219internal unsafe void DrawBackground(HDC dc, Rectangle bounds, HWND hwnd = default) 245DrawBackground(hdc, bounds, clipRectangle, HWND.Null); 248internal unsafe void DrawBackground(HDC dc, Rectangle bounds, Rectangle clipRectangle, HWND hwnd) 576return GetPartSize(hdc, type, HWND.Null); 579internal unsafe Size GetPartSize(HDC dc, ThemeSizeType type, HWND hwnd = default) 865private static PInvoke.OpenThemeDataScope OpenThemeData(HWND hwnd, string classList) 883return Create(className, throwExceptionOnFail, HWND.Null); 886internal static ThemeHandle? Create(string className, bool throwExceptionOnFail, HWND hWndRef)
System\Windows\Forms\WindowSubclassHandler.cs (3)
26private readonly HWND _handle; 61public unsafe WindowSubclassHandler(HWND hwnd) 266HWND hWnd,
System.Windows.Forms.Design (86)
System\ComponentModel\Design\CollectionEditor.FilterListBox.cs (1)
96HWND hwnd = PInvoke.GetFocus();
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
80using (GetDcScope hdc = new((HWND)listBox.Handle))
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (5)
106private bool OwnsWindow(HWND hWnd) 110hWnd = (HWND)PInvokeCore.GetWindowLong(hWnd, WINDOW_LONG_PTR_INDEX.GWL_HWNDPARENT); 116if (hWnd == (HWND)Handle) 144HWND hWndCapture = PInvoke.GetCapture(); 173&& !OwnsWindow((HWND)m.LParamInternal))
System\ComponentModel\Design\DesignerActionUI.cs (2)
723new HandleRef<HWND>(_mainParentWindow, (HWND)_mainParentWindow.Handle));
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (14)
56HWND focusedControl = PInvoke.GetFocus(); 89HWND hwndActivating = PInvoke.GetActiveWindow(); 94else if (WindowOwnsWindow((HWND)Handle, hwndActivating)) 99else if (_mainParentWindow is not null && !WindowOwnsWindow((HWND)_mainParentWindow.Handle, hwndActivating)) 116HWND parent = (HWND)PInvokeCore.GetWindowLong( 117new HandleRef<HWND>(this, hwndActivating), 194private static bool WindowOwnsWindow(HWND hWndOwner, HWND hWndDescendant) 203hWndDescendant = (HWND)PInvokeCore.GetWindowLong(hWndDescendant, WINDOW_LONG_PTR_INDEX.GWL_HWNDPARENT); 228HWND hwndActivating = (HWND)m.LParamInternal; 229_cancelClose = WindowOwnsWindow((HWND)Handle, hwndActivating); 258HWND focusedControlPtr = PInvoke.GetFocus();
System\ComponentModel\Design\ObjectSelectorEditor.cs (2)
67HWND hwnd = (HWND)treeView.Handle;
System\Drawing\Design\ColorEditor.ColorPalette.cs (1)
242HWND hwndFocus = PInvoke.GetFocus();
System\Drawing\Design\ColorEditor.CustomColorDialog.cs (16)
65(HWND)hwnd, 71(HWND)hwnd, 77(HWND)hwnd, 83(HWND)hwnd, 89(HWND)hwnd, 95(HWND)hwnd, 100HWND hwndCtl = PInvoke.GetDlgItem((HWND)hwnd, (int)PInvoke.COLOR_MIX); 104HWND.HWND_TOP, 107hwndCtl = PInvoke.GetDlgItem((HWND)hwnd, (int)MESSAGEBOX_RESULT.IDOK); 111HWND.HWND_TOP, 121byte red = (byte)PInvoke.GetDlgItemInt((HWND)hwnd, (int)PInvoke.COLOR_RED, &success, false); 124byte green = (byte)PInvoke.GetDlgItemInt((HWND)hwnd, (int)PInvoke.COLOR_GREEN, &success, false); 127byte blue = (byte)PInvoke.GetDlgItemInt((HWND)hwnd, (int)PInvoke.COLOR_BLUE, &success, false); 132(HWND)hwnd, 135(LPARAM)PInvoke.GetDlgItem((HWND)hwnd, (int)MESSAGEBOX_RESULT.IDOK));
System\Drawing\Design\FontEditor.cs (1)
38HWND hwndFocus = PInvoke.GetFocus();
System\Drawing\Design\IconEditor.cs (1)
73HWND hwndFocus = PInvoke.GetFocus();
System\Drawing\Design\ImageEditor.cs (1)
102HWND hwndFocus = PInvoke.GetFocus();
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.MouseHook.cs (1)
145private bool ProcessMouseMessage(HWND hwnd, MessageId msg, int x, int y)
System\Windows\Forms\Design\Behavior\BehaviorService.cs (4)
287PInvokeCore.MapWindowPoints((HWND)handle, _adornerWindow, ref pt); 458PInvoke.SetActiveWindow(new HandleRef<HWND>(hWnd, (HWND)hWnd.Handle)); 707hwndTrack = (HWND)_adornerWindow.Handle,
System\Windows\Forms\Design\CommandSet.cs (1)
684HWND hwnd = PInvoke.WindowFromPoint(p);
System\Windows\Forms\Design\ControlDesigner.ChildSubClass.cs (1)
42_designer.HookChildHandles((HWND)(nint)m.LParamInternal); // they will get removed from the collection just above
System\Windows\Forms\Design\ControlDesigner.ChildWindowTarget.cs (3)
12private HWND _handle = HWND.Null; 32_handle = (HWND)newHandle;
System\Windows\Forms\Design\ControlDesigner.cs (6)
896HookChildHandles((HWND)child.Handle); 918HookChildHandles((HWND)child.Handle); 1794PInvokeCore.MapWindowPoints(m, (HWND)default, ref location); 2403internal void HookChildHandles(HWND firstChild) 2405HWND hwndChild = firstChild; 2444private static bool IsWindowInCurrentProcess(HWND hwnd)
System\Windows\Forms\Design\DesignerFrame.cs (2)
406HWND.HWND_TOP, 515HWND.HWND_TOP,
System\Windows\Forms\Design\DesignerUtils.cs (6)
388using GetDcScope controlDC = new((HWND)control.Handle); 821private static uint TreeView_GetExtendedStyle(HWND handle) 834HWND hwnd = (HWND)treeView.Handle; 849HWND hwnd = (HWND)listView.Handle;
System\Windows\Forms\Design\FolderNameEditor.FolderBrowser.cs (1)
63owner is not null ? (HWND)owner.Handle : PInvoke.GetActiveWindow(),
System\Windows\Forms\Design\ImageListImageEditor.cs (1)
67HWND hwndFocus = PInvoke.GetFocus();
System\Windows\Forms\Design\ListViewDesigner.cs (6)
64HookChildHandles((HWND)Control.Handle); 77HWND hwndHit = PInvoke.ChildWindowFromPointEx(listView, listViewPoint, CWP_FLAGS.CWP_SKIPINVISIBLE); 81HWND headerHwnd = (HWND)PInvokeCore.SendMessage(listView, PInvoke.LVM_GETHEADER); 84PInvokeCore.MapWindowPoints(HWND.Null, headerHwnd, ref point); 108HookChildHandles((HWND)Control.Handle);
System\Windows\Forms\Design\OleDragDropHandler.cs (4)
381DrawReversibleFrame((HWND)parentControl.Handle, newRect, backColor); 402DrawReversibleFrame((HWND)parentControl.Handle, newRect, backColor); 410private static void DrawReversibleFrame(HWND handle, Rectangle rectangle, Color backColor) 491while (PInvokeCore.PeekMessage(&msg, HWND.Null, PInvokeCore.WM_PAINT, PInvokeCore.WM_PAINT, PEEK_MESSAGE_REMOVE_TYPE.PM_REMOVE))
System\Windows\Forms\Design\PbrsForward.cs (2)
92HWND hwnd; 95: (HWND)supportInSituService.GetEditWindow();
System\Windows\Forms\Design\RichTextBoxDesigner.cs (1)
33PInvokeCore.RevokeDragDrop((HWND)control.Handle);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1551HWND focusedWindow = (HWND)m.WParamInternal;
System.Windows.Forms.Primitives (677)
_generated\10\Windows.Win32.BROWSEINFOW.g.cs (2)
34 internal winmdroot.Foundation.HWND hwndOwner; 61 internal unsafe delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,uint,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.LPARAM,int> lpfn;
_generated\109\Windows.Win32.IAutoComplete.g.cs (7)
57 /// <inheritdoc cref="Init(winmdroot.Foundation.HWND, winmdroot.System.Com.IUnknown*, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR)"/> 59 internal unsafe void Init(winmdroot.Foundation.HWND hwndEdit, winmdroot.System.Com.IUnknown* punkACL, [Optional] string pwszRegKeyPath, [Optional] string pwszQuickComplete) 73 private static winmdroot.Foundation.HRESULT Init(IAutoComplete* pThis, winmdroot.Foundation.HWND hwndEdit, winmdroot.System.Com.IUnknown* punkACL, [Optional] winmdroot.Foundation.PCWSTR pwszRegKeyPath, [Optional] winmdroot.Foundation.PCWSTR pwszQuickComplete) 113 public unsafe void Init(winmdroot.Foundation.HWND hwndEdit, winmdroot.System.Com.IUnknown* punkACL, [Optional] winmdroot.Foundation.PCWSTR pwszRegKeyPath, [Optional] winmdroot.Foundation.PCWSTR pwszQuickComplete) 115 ((delegate *unmanaged [Stdcall]<IAutoComplete*,winmdroot.Foundation.HWND ,winmdroot.System.Com.IUnknown* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IAutoComplete*)Unsafe.AsPointer(ref this), hwndEdit, punkACL, pwszRegKeyPath, pwszQuickComplete).ThrowOnFailure(); 181 internal delegate *unmanaged [Stdcall]<IAutoComplete*,winmdroot.Foundation.HWND ,winmdroot.System.Com.IUnknown* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT> Init_4; 211 unsafe winmdroot.Foundation.HRESULT Init(winmdroot.Foundation.HWND hwndEdit, winmdroot.System.Com.IUnknown* punkACL, [Optional] winmdroot.Foundation.PCWSTR pwszRegKeyPath, [Optional] winmdroot.Foundation.PCWSTR pwszQuickComplete);
_generated\110\Windows.Win32.IAutoComplete2.g.cs (7)
57 /// <inheritdoc cref="Init(winmdroot.Foundation.HWND, winmdroot.System.Com.IUnknown*, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR)"/> 59 internal unsafe void Init(winmdroot.Foundation.HWND hwndEdit, winmdroot.System.Com.IUnknown* punkACL, [Optional] string pwszRegKeyPath, [Optional] string pwszQuickComplete) 73 private static winmdroot.Foundation.HRESULT Init(IAutoComplete2* pThis, winmdroot.Foundation.HWND hwndEdit, winmdroot.System.Com.IUnknown* punkACL, [Optional] winmdroot.Foundation.PCWSTR pwszRegKeyPath, [Optional] winmdroot.Foundation.PCWSTR pwszQuickComplete) 90 public unsafe void Init(winmdroot.Foundation.HWND hwndEdit, winmdroot.System.Com.IUnknown* punkACL, [Optional] winmdroot.Foundation.PCWSTR pwszRegKeyPath, [Optional] winmdroot.Foundation.PCWSTR pwszQuickComplete) 92 ((delegate *unmanaged [Stdcall]<IAutoComplete2*,winmdroot.Foundation.HWND ,winmdroot.System.Com.IUnknown* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IAutoComplete2*)Unsafe.AsPointer(ref this), hwndEdit, punkACL, pwszRegKeyPath, pwszQuickComplete).ThrowOnFailure(); 229 internal delegate *unmanaged [Stdcall]<IAutoComplete2*,winmdroot.Foundation.HWND ,winmdroot.System.Com.IUnknown* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT> Init_4; 265 unsafe new winmdroot.Foundation.HRESULT Init(winmdroot.Foundation.HWND hwndEdit, winmdroot.System.Com.IUnknown* punkACL, [Optional] winmdroot.Foundation.PCWSTR pwszRegKeyPath, [Optional] winmdroot.Foundation.PCWSTR pwszQuickComplete);
_generated\129\Windows.Win32.IFileDialog.g.cs (5)
60 private static winmdroot.Foundation.HRESULT Show(IFileDialog* pThis, [Optional] winmdroot.Foundation.HWND hwndOwner) 77 public winmdroot.Foundation.HRESULT Show([Optional] winmdroot.Foundation.HWND hwndOwner) 79 return ((delegate *unmanaged [Stdcall]<IFileDialog*,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IFileDialog*)Unsafe.AsPointer(ref this), hwndOwner); 1050 internal delegate *unmanaged [Stdcall]<IFileDialog*,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT> Show_4; 1146 new winmdroot.Foundation.HRESULT Show([Optional] winmdroot.Foundation.HWND hwndOwner);
_generated\132\Windows.Win32.IFileOpenDialog.g.cs (5)
60 private static winmdroot.Foundation.HRESULT Show(IFileOpenDialog* pThis, [Optional] winmdroot.Foundation.HWND hwndOwner) 77 public winmdroot.Foundation.HRESULT Show([Optional] winmdroot.Foundation.HWND hwndOwner) 79 return ((delegate *unmanaged [Stdcall]<IFileOpenDialog*,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IFileOpenDialog*)Unsafe.AsPointer(ref this), hwndOwner); 867 internal delegate *unmanaged [Stdcall]<IFileOpenDialog*,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT> Show_4; 969 new winmdroot.Foundation.HRESULT Show([Optional] winmdroot.Foundation.HWND hwndOwner);
_generated\134\Windows.Win32.IFileSaveDialog.g.cs (10)
60 private static winmdroot.Foundation.HRESULT Show(IFileSaveDialog* pThis, [Optional] winmdroot.Foundation.HWND hwndOwner) 77 public void Show([Optional] winmdroot.Foundation.HWND hwndOwner) 79 ((delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IFileSaveDialog*)Unsafe.AsPointer(ref this), hwndOwner).ThrowOnFailure(); 918 private static winmdroot.Foundation.HRESULT ApplyProperties(IFileSaveDialog* pThis, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.PropertiesSystem.IPropertyStore* pStore, winmdroot.Foundation.HWND hwnd, winmdroot.UI.Shell.IFileOperationProgressSink* pSink) 959 public unsafe void ApplyProperties(winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.PropertiesSystem.IPropertyStore* pStore, winmdroot.Foundation.HWND hwnd, winmdroot.UI.Shell.IFileOperationProgressSink* pSink) 961 ((delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.PropertiesSystem.IPropertyStore* ,winmdroot.Foundation.HWND ,winmdroot.UI.Shell.IFileOperationProgressSink* ,winmdroot.Foundation.HRESULT>)lpVtbl[31])((IFileSaveDialog*)Unsafe.AsPointer(ref this), psi, pStore, hwnd, pSink).ThrowOnFailure(); 993 internal delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT> Show_4; 1049 internal delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.PropertiesSystem.IPropertyStore* ,winmdroot.Foundation.HWND ,winmdroot.UI.Shell.IFileOperationProgressSink* ,winmdroot.Foundation.HRESULT> ApplyProperties_32; 1104 new winmdroot.Foundation.HRESULT Show([Optional] winmdroot.Foundation.HWND hwndOwner); 1188 unsafe winmdroot.Foundation.HRESULT ApplyProperties(winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.PropertiesSystem.IPropertyStore* pStore, winmdroot.Foundation.HWND hwnd, winmdroot.UI.Shell.IFileOperationProgressSink* pSink);
_generated\190\Windows.Win32.IModalWindow.g.cs (5)
60 private static winmdroot.Foundation.HRESULT Show(IModalWindow* pThis, [Optional] winmdroot.Foundation.HWND hwndOwner) 89 public void Show([Optional] winmdroot.Foundation.HWND hwndOwner) 91 ((delegate *unmanaged [Stdcall]<IModalWindow*,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IModalWindow*)Unsafe.AsPointer(ref this), hwndOwner).ThrowOnFailure(); 123 internal delegate *unmanaged [Stdcall]<IModalWindow*,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT> Show_4; 150winmdroot.Foundation.HRESULT Show([Optional] winmdroot.Foundation.HWND hwndOwner);
_generated\204\Windows.Win32.IOleInPlaceActiveObject.g.cs (8)
57 /// <inheritdoc cref="GetWindow(winmdroot.Foundation.HWND*)"/> 59 internal unsafe void GetWindow(out winmdroot.Foundation.HWND phwnd) 61 fixed (winmdroot.Foundation.HWND* phwndLocal = &phwnd) 70 private static winmdroot.Foundation.HRESULT GetWindow(IOleInPlaceActiveObject* pThis, winmdroot.Foundation.HWND* phwnd) 87 public unsafe void GetWindow(winmdroot.Foundation.HWND* phwnd) 89 ((delegate *unmanaged [Stdcall]<IOleInPlaceActiveObject*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IOleInPlaceActiveObject*)Unsafe.AsPointer(ref this), phwnd).ThrowOnFailure(); 332 internal delegate *unmanaged [Stdcall]<IOleInPlaceActiveObject*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT> GetWindow_4; 377 unsafe new winmdroot.Foundation.HRESULT GetWindow(winmdroot.Foundation.HWND* phwnd);
_generated\205\Windows.Win32.IOleInPlaceFrame.g.cs (13)
57 /// <inheritdoc cref="GetWindow(winmdroot.Foundation.HWND*)"/> 59 internal unsafe winmdroot.Foundation.HRESULT GetWindow(out winmdroot.Foundation.HWND phwnd) 61 fixed (winmdroot.Foundation.HWND* phwndLocal = &phwnd) 71 private static winmdroot.Foundation.HRESULT GetWindow(IOleInPlaceFrame* pThis, winmdroot.Foundation.HWND* phwnd) 88 public unsafe winmdroot.Foundation.HRESULT GetWindow(winmdroot.Foundation.HWND* phwnd) 90 return ((delegate *unmanaged [Stdcall]<IOleInPlaceFrame*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IOleInPlaceFrame*)Unsafe.AsPointer(ref this), phwnd); 312 private static winmdroot.Foundation.HRESULT SetMenu(IOleInPlaceFrame* pThis, winmdroot.UI.WindowsAndMessaging.HMENU hmenuShared, nint holemenu, winmdroot.Foundation.HWND hwndActiveObject) 341 public winmdroot.Foundation.HRESULT SetMenu(winmdroot.UI.WindowsAndMessaging.HMENU hmenuShared, nint holemenu, winmdroot.Foundation.HWND hwndActiveObject) 343 return ((delegate *unmanaged [Stdcall]<IOleInPlaceFrame*,winmdroot.UI.WindowsAndMessaging.HMENU ,nint ,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((IOleInPlaceFrame*)Unsafe.AsPointer(ref this), hmenuShared, holemenu, hwndActiveObject); 536 internal delegate *unmanaged [Stdcall]<IOleInPlaceFrame*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT> GetWindow_4; 550 internal delegate *unmanaged [Stdcall]<IOleInPlaceFrame*,winmdroot.UI.WindowsAndMessaging.HMENU ,nint ,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT> SetMenu_11; 596 unsafe new winmdroot.Foundation.HRESULT GetWindow(winmdroot.Foundation.HWND* phwnd); 617winmdroot.Foundation.HRESULT SetMenu(winmdroot.UI.WindowsAndMessaging.HMENU hmenuShared, nint holemenu, winmdroot.Foundation.HWND hwndActiveObject);
_generated\206\Windows.Win32.IOleInPlaceObject.g.cs (8)
57 /// <inheritdoc cref="GetWindow(winmdroot.Foundation.HWND*)"/> 59 internal unsafe winmdroot.Foundation.HRESULT GetWindow(out winmdroot.Foundation.HWND phwnd) 61 fixed (winmdroot.Foundation.HWND* phwndLocal = &phwnd) 71 private static winmdroot.Foundation.HRESULT GetWindow(IOleInPlaceObject* pThis, winmdroot.Foundation.HWND* phwnd) 88 public unsafe winmdroot.Foundation.HRESULT GetWindow(winmdroot.Foundation.HWND* phwnd) 90 return ((delegate *unmanaged [Stdcall]<IOleInPlaceObject*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IOleInPlaceObject*)Unsafe.AsPointer(ref this), phwnd); 297 internal delegate *unmanaged [Stdcall]<IOleInPlaceObject*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT> GetWindow_4; 339 unsafe new winmdroot.Foundation.HRESULT GetWindow(winmdroot.Foundation.HWND* phwnd);
_generated\207\Windows.Win32.IOleInPlaceObjectWindowless.g.cs (8)
57 /// <inheritdoc cref="GetWindow(winmdroot.Foundation.HWND*)"/> 59 internal unsafe void GetWindow(out winmdroot.Foundation.HWND phwnd) 61 fixed (winmdroot.Foundation.HWND* phwndLocal = &phwnd) 70 private static winmdroot.Foundation.HRESULT GetWindow(IOleInPlaceObjectWindowless* pThis, winmdroot.Foundation.HWND* phwnd) 87 public unsafe void GetWindow(winmdroot.Foundation.HWND* phwnd) 89 ((delegate *unmanaged [Stdcall]<IOleInPlaceObjectWindowless*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IOleInPlaceObjectWindowless*)Unsafe.AsPointer(ref this), phwnd).ThrowOnFailure(); 344 internal delegate *unmanaged [Stdcall]<IOleInPlaceObjectWindowless*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT> GetWindow_4; 392 unsafe new winmdroot.Foundation.HRESULT GetWindow(winmdroot.Foundation.HWND* phwnd);
_generated\208\Windows.Win32.IOleInPlaceSite.g.cs (8)
57 /// <inheritdoc cref="GetWindow(winmdroot.Foundation.HWND*)"/> 59 internal unsafe winmdroot.Foundation.HRESULT GetWindow(out winmdroot.Foundation.HWND phwnd) 61 fixed (winmdroot.Foundation.HWND* phwndLocal = &phwnd) 71 private static winmdroot.Foundation.HRESULT GetWindow(IOleInPlaceSite* pThis, winmdroot.Foundation.HWND* phwnd) 88 public unsafe winmdroot.Foundation.HRESULT GetWindow(winmdroot.Foundation.HWND* phwnd) 90 return ((delegate *unmanaged [Stdcall]<IOleInPlaceSite*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IOleInPlaceSite*)Unsafe.AsPointer(ref this), phwnd); 524 internal delegate *unmanaged [Stdcall]<IOleInPlaceSite*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT> GetWindow_4; 584 unsafe new winmdroot.Foundation.HRESULT GetWindow(winmdroot.Foundation.HWND* phwnd);
_generated\209\Windows.Win32.IOleInPlaceUIWindow.g.cs (8)
57 /// <inheritdoc cref="GetWindow(winmdroot.Foundation.HWND*)"/> 59 internal unsafe winmdroot.Foundation.HRESULT GetWindow(out winmdroot.Foundation.HWND phwnd) 61 fixed (winmdroot.Foundation.HWND* phwndLocal = &phwnd) 71 private static winmdroot.Foundation.HRESULT GetWindow(IOleInPlaceUIWindow* pThis, winmdroot.Foundation.HWND* phwnd) 88 public unsafe winmdroot.Foundation.HRESULT GetWindow(winmdroot.Foundation.HWND* phwnd) 90 return ((delegate *unmanaged [Stdcall]<IOleInPlaceUIWindow*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IOleInPlaceUIWindow*)Unsafe.AsPointer(ref this), phwnd); 335 internal delegate *unmanaged [Stdcall]<IOleInPlaceUIWindow*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT> GetWindow_4; 377 unsafe new winmdroot.Foundation.HRESULT GetWindow(winmdroot.Foundation.HWND* phwnd);
_generated\210\Windows.Win32.IOleObject.g.cs (7)
355 /// <inheritdoc cref="DoVerb(int, winmdroot.UI.WindowsAndMessaging.MSG*, winmdroot.System.Ole.IOleClientSite*, int, winmdroot.Foundation.HWND, winmdroot.Foundation.RECT*)"/> 357 internal unsafe winmdroot.Foundation.HRESULT DoVerb(int iVerb, in winmdroot.UI.WindowsAndMessaging.MSG lpmsg, winmdroot.System.Ole.IOleClientSite* pActiveSite, int lindex, winmdroot.Foundation.HWND hwndParent, in winmdroot.Foundation.RECT lprcPosRect) 372 private static winmdroot.Foundation.HRESULT DoVerb(IOleObject* pThis, int iVerb, winmdroot.UI.WindowsAndMessaging.MSG* lpmsg, winmdroot.System.Ole.IOleClientSite* pActiveSite, int lindex, winmdroot.Foundation.HWND hwndParent, winmdroot.Foundation.RECT* lprcPosRect) 405 public unsafe winmdroot.Foundation.HRESULT DoVerb(int iVerb, winmdroot.UI.WindowsAndMessaging.MSG* lpmsg, winmdroot.System.Ole.IOleClientSite* pActiveSite, int lindex, winmdroot.Foundation.HWND hwndParent, winmdroot.Foundation.RECT* lprcPosRect) 407 return ((delegate *unmanaged [Stdcall]<IOleObject*,int ,winmdroot.UI.WindowsAndMessaging.MSG* ,winmdroot.System.Ole.IOleClientSite* ,int ,winmdroot.Foundation.HWND ,winmdroot.Foundation.RECT* ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((IOleObject*)Unsafe.AsPointer(ref this), iVerb, lpmsg, pActiveSite, lindex, hwndParent, lprcPosRect); 935 internal delegate *unmanaged [Stdcall]<IOleObject*,int ,winmdroot.UI.WindowsAndMessaging.MSG* ,winmdroot.System.Ole.IOleClientSite* ,int ,winmdroot.Foundation.HWND ,winmdroot.Foundation.RECT* ,winmdroot.Foundation.HRESULT> DoVerb_12; 1030 unsafe winmdroot.Foundation.HRESULT DoVerb(int iVerb, winmdroot.UI.WindowsAndMessaging.MSG* lpmsg, winmdroot.System.Ole.IOleClientSite* pActiveSite, int lindex, winmdroot.Foundation.HWND hwndParent, winmdroot.Foundation.RECT* lprcPosRect);
_generated\214\Windows.Win32.IOleWindow.g.cs (8)
57 /// <inheritdoc cref="GetWindow(winmdroot.Foundation.HWND*)"/> 59 internal unsafe winmdroot.Foundation.HRESULT GetWindow(out winmdroot.Foundation.HWND phwnd) 61 fixed (winmdroot.Foundation.HWND* phwndLocal = &phwnd) 71 private static winmdroot.Foundation.HRESULT GetWindow(IOleWindow* pThis, winmdroot.Foundation.HWND* phwnd) 99 public unsafe winmdroot.Foundation.HRESULT GetWindow(winmdroot.Foundation.HWND* phwnd) 101 return ((delegate *unmanaged [Stdcall]<IOleWindow*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IOleWindow*)Unsafe.AsPointer(ref this), phwnd); 169 internal delegate *unmanaged [Stdcall]<IOleWindow*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT> GetWindow_4; 199 unsafe winmdroot.Foundation.HRESULT GetWindow(winmdroot.Foundation.HWND* phwnd);
_generated\233\Windows.Win32.IRawElementProviderHwndOverride.g.cs (5)
60 private static winmdroot.Foundation.HRESULT GetOverrideProviderForHwnd(IRawElementProviderHwndOverride* pThis, winmdroot.Foundation.HWND hwnd, winmdroot.UI.Accessibility.IRawElementProviderSimple** pRetVal) 93 public unsafe winmdroot.Foundation.HRESULT GetOverrideProviderForHwnd(winmdroot.Foundation.HWND hwnd, winmdroot.UI.Accessibility.IRawElementProviderSimple** pRetVal) 95 return ((delegate *unmanaged [Stdcall]<IRawElementProviderHwndOverride*,winmdroot.Foundation.HWND ,winmdroot.UI.Accessibility.IRawElementProviderSimple** ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IRawElementProviderHwndOverride*)Unsafe.AsPointer(ref this), hwnd, pRetVal); 127 internal delegate *unmanaged [Stdcall]<IRawElementProviderHwndOverride*,winmdroot.Foundation.HWND ,winmdroot.UI.Accessibility.IRawElementProviderSimple** ,winmdroot.Foundation.HRESULT> GetOverrideProviderForHwnd_4; 154 unsafe winmdroot.Foundation.HRESULT GetOverrideProviderForHwnd(winmdroot.Foundation.HWND hwnd, winmdroot.UI.Accessibility.IRawElementProviderSimple** pRetVal);
_generated\241\Windows.Win32.IShellFolder.g.cs (35)
57 /// <inheritdoc cref="ParseDisplayName(winmdroot.Foundation.HWND, winmdroot.System.Com.IBindCtx*, winmdroot.Foundation.PWSTR, uint*, winmdroot.UI.Shell.Common.ITEMIDLIST**, uint*)"/> 58 internal unsafe void ParseDisplayName(winmdroot.Foundation.HWND hwnd, winmdroot.System.Com.IBindCtx* pbc, winmdroot.Foundation.PWSTR pszDisplayName, out winmdroot.UI.Shell.Common.ITEMIDLIST* ppidl, ref uint pdwAttributes) 72 private static winmdroot.Foundation.HRESULT ParseDisplayName(IShellFolder* pThis, winmdroot.Foundation.HWND hwnd, winmdroot.System.Com.IBindCtx* pbc, winmdroot.Foundation.PWSTR pszDisplayName, [Optional] uint* pchEaten, winmdroot.UI.Shell.Common.ITEMIDLIST** ppidl, uint* pdwAttributes) 127 public unsafe void ParseDisplayName(winmdroot.Foundation.HWND hwnd, winmdroot.System.Com.IBindCtx* pbc, winmdroot.Foundation.PWSTR pszDisplayName, [Optional] uint* pchEaten, winmdroot.UI.Shell.Common.ITEMIDLIST** ppidl, uint* pdwAttributes) 129 ((delegate *unmanaged [Stdcall]<IShellFolder*,winmdroot.Foundation.HWND ,winmdroot.System.Com.IBindCtx* ,winmdroot.Foundation.PWSTR ,uint* ,winmdroot.UI.Shell.Common.ITEMIDLIST** ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IShellFolder*)Unsafe.AsPointer(ref this), hwnd, pbc, pszDisplayName, pchEaten, ppidl, pdwAttributes).ThrowOnFailure(); 135 private static winmdroot.Foundation.HRESULT EnumObjects(IShellFolder* pThis, winmdroot.Foundation.HWND hwnd, uint grfFlags, winmdroot.UI.Shell.IEnumIDList** ppenumIDList) 172 public unsafe winmdroot.Foundation.HRESULT EnumObjects(winmdroot.Foundation.HWND hwnd, uint grfFlags, winmdroot.UI.Shell.IEnumIDList** ppenumIDList) 174 return ((delegate *unmanaged [Stdcall]<IShellFolder*,winmdroot.Foundation.HWND ,uint ,winmdroot.UI.Shell.IEnumIDList** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IShellFolder*)Unsafe.AsPointer(ref this), hwnd, grfFlags, ppenumIDList); 368 /// <inheritdoc cref="CreateViewObject(winmdroot.Foundation.HWND, global::System.Guid*, void**)"/> 370 internal unsafe void CreateViewObject(winmdroot.Foundation.HWND hwndOwner, in global::System.Guid riid, out void* ppv) 384 private static winmdroot.Foundation.HRESULT CreateViewObject(IShellFolder* pThis, winmdroot.Foundation.HWND hwndOwner, global::System.Guid* riid, void** ppv) 423 public unsafe void CreateViewObject(winmdroot.Foundation.HWND hwndOwner, global::System.Guid* riid, void** ppv) 425 ((delegate *unmanaged [Stdcall]<IShellFolder*,winmdroot.Foundation.HWND ,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IShellFolder*)Unsafe.AsPointer(ref this), hwndOwner, riid, ppv).ThrowOnFailure(); 485 /// <inheritdoc cref="GetUIObjectOf(winmdroot.Foundation.HWND, uint, winmdroot.UI.Shell.Common.ITEMIDLIST**, global::System.Guid*, uint*, void**)"/> 486 internal unsafe void GetUIObjectOf(winmdroot.Foundation.HWND hwndOwner, uint cidl, winmdroot.UI.Shell.Common.ITEMIDLIST** apidl, in global::System.Guid riid, out void* ppv) 500 private static winmdroot.Foundation.HRESULT GetUIObjectOf(IShellFolder* pThis, winmdroot.Foundation.HWND hwndOwner, uint cidl, winmdroot.UI.Shell.Common.ITEMIDLIST** apidl, global::System.Guid* riid, [Optional] uint* rgfReserved, void** ppv) 550 public unsafe void GetUIObjectOf(winmdroot.Foundation.HWND hwndOwner, uint cidl, winmdroot.UI.Shell.Common.ITEMIDLIST** apidl, global::System.Guid* riid, [Optional] uint* rgfReserved, void** ppv) 552 ((delegate *unmanaged [Stdcall]<IShellFolder*,winmdroot.Foundation.HWND ,uint ,winmdroot.UI.Shell.Common.ITEMIDLIST** ,global::System.Guid* ,uint* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((IShellFolder*)Unsafe.AsPointer(ref this), hwndOwner, cidl, apidl, riid, rgfReserved, ppv).ThrowOnFailure(); 613 /// <inheritdoc cref="SetNameOf(winmdroot.Foundation.HWND, winmdroot.UI.Shell.Common.ITEMIDLIST*, winmdroot.Foundation.PCWSTR, winmdroot.UI.Shell.SHGDNF, winmdroot.UI.Shell.Common.ITEMIDLIST**)"/> 615 internal unsafe void SetNameOf([Optional] winmdroot.Foundation.HWND hwnd, in winmdroot.UI.Shell.Common.ITEMIDLIST pidl, string pszName, winmdroot.UI.Shell.SHGDNF uFlags, out winmdroot.UI.Shell.Common.ITEMIDLIST* ppidlOut) 629 /// <inheritdoc cref="SetNameOf(winmdroot.Foundation.HWND, winmdroot.UI.Shell.Common.ITEMIDLIST*, winmdroot.Foundation.PCWSTR, winmdroot.UI.Shell.SHGDNF, winmdroot.UI.Shell.Common.ITEMIDLIST**)"/> 630 internal unsafe void SetNameOf([Optional] winmdroot.Foundation.HWND hwnd, in winmdroot.UI.Shell.Common.ITEMIDLIST pidl, string pszName, winmdroot.UI.Shell.SHGDNF uFlags) 644 private static winmdroot.Foundation.HRESULT SetNameOf(IShellFolder* pThis, [Optional] winmdroot.Foundation.HWND hwnd, winmdroot.UI.Shell.Common.ITEMIDLIST* pidl, winmdroot.Foundation.PCWSTR pszName, winmdroot.UI.Shell.SHGDNF uFlags, [Optional] winmdroot.UI.Shell.Common.ITEMIDLIST** ppidlOut) 691 public unsafe void SetNameOf([Optional] winmdroot.Foundation.HWND hwnd, winmdroot.UI.Shell.Common.ITEMIDLIST* pidl, winmdroot.Foundation.PCWSTR pszName, winmdroot.UI.Shell.SHGDNF uFlags, [Optional] winmdroot.UI.Shell.Common.ITEMIDLIST** ppidlOut) 693 ((delegate *unmanaged [Stdcall]<IShellFolder*,winmdroot.Foundation.HWND ,winmdroot.UI.Shell.Common.ITEMIDLIST* ,winmdroot.Foundation.PCWSTR ,winmdroot.UI.Shell.SHGDNF ,winmdroot.UI.Shell.Common.ITEMIDLIST** ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((IShellFolder*)Unsafe.AsPointer(ref this), hwnd, pidl, pszName, uFlags, ppidlOut).ThrowOnFailure(); 725 internal delegate *unmanaged [Stdcall]<IShellFolder*,winmdroot.Foundation.HWND ,winmdroot.System.Com.IBindCtx* ,winmdroot.Foundation.PWSTR ,uint* ,winmdroot.UI.Shell.Common.ITEMIDLIST** ,uint* ,winmdroot.Foundation.HRESULT> ParseDisplayName_4; 727 internal delegate *unmanaged [Stdcall]<IShellFolder*,winmdroot.Foundation.HWND ,uint ,winmdroot.UI.Shell.IEnumIDList** ,winmdroot.Foundation.HRESULT> EnumObjects_5; 735 internal delegate *unmanaged [Stdcall]<IShellFolder*,winmdroot.Foundation.HWND ,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> CreateViewObject_9; 739 internal delegate *unmanaged [Stdcall]<IShellFolder*,winmdroot.Foundation.HWND ,uint ,winmdroot.UI.Shell.Common.ITEMIDLIST** ,global::System.Guid* ,uint* ,void** ,winmdroot.Foundation.HRESULT> GetUIObjectOf_11; 743 internal delegate *unmanaged [Stdcall]<IShellFolder*,winmdroot.Foundation.HWND ,winmdroot.UI.Shell.Common.ITEMIDLIST* ,winmdroot.Foundation.PCWSTR ,winmdroot.UI.Shell.SHGDNF ,winmdroot.UI.Shell.Common.ITEMIDLIST** ,winmdroot.Foundation.HRESULT> SetNameOf_13; 779 unsafe winmdroot.Foundation.HRESULT ParseDisplayName(winmdroot.Foundation.HWND hwnd, winmdroot.System.Com.IBindCtx* pbc, winmdroot.Foundation.PWSTR pszDisplayName, [Optional] uint* pchEaten, winmdroot.UI.Shell.Common.ITEMIDLIST** ppidl, uint* pdwAttributes); 782 unsafe winmdroot.Foundation.HRESULT EnumObjects(winmdroot.Foundation.HWND hwnd, uint grfFlags, winmdroot.UI.Shell.IEnumIDList** ppenumIDList); 794 unsafe winmdroot.Foundation.HRESULT CreateViewObject(winmdroot.Foundation.HWND hwndOwner, global::System.Guid* riid, void** ppv); 800 unsafe winmdroot.Foundation.HRESULT GetUIObjectOf(winmdroot.Foundation.HWND hwndOwner, uint cidl, winmdroot.UI.Shell.Common.ITEMIDLIST** apidl, global::System.Guid* riid, [Optional] uint* rgfReserved, void** ppv); 806 unsafe winmdroot.Foundation.HRESULT SetNameOf([Optional] winmdroot.Foundation.HWND hwnd, winmdroot.UI.Shell.Common.ITEMIDLIST* pidl, winmdroot.Foundation.PCWSTR pszName, winmdroot.UI.Shell.SHGDNF uFlags, [Optional] winmdroot.UI.Shell.Common.ITEMIDLIST** ppidlOut);
_generated\245\Windows.Win32.ISimpleFrameSite.g.cs (14)
57 /// <inheritdoc cref="PreMessageFilter(winmdroot.Foundation.HWND, uint, winmdroot.Foundation.WPARAM, winmdroot.Foundation.LPARAM, winmdroot.Foundation.LRESULT*, uint*)"/> 59 internal unsafe void PreMessageFilter(winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, out winmdroot.Foundation.LRESULT plResult, out uint pdwCookie) 73 private static winmdroot.Foundation.HRESULT PreMessageFilter(ISimpleFrameSite* pThis, winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, winmdroot.Foundation.LRESULT* plResult, uint* pdwCookie) 102 public unsafe void PreMessageFilter(winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, winmdroot.Foundation.LRESULT* plResult, uint* pdwCookie) 104 ((delegate *unmanaged [Stdcall]<ISimpleFrameSite*,winmdroot.Foundation.HWND ,uint ,winmdroot.Foundation.WPARAM ,winmdroot.Foundation.LPARAM ,winmdroot.Foundation.LRESULT* ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((ISimpleFrameSite*)Unsafe.AsPointer(ref this), hWnd, msg, wp, lp, plResult, pdwCookie).ThrowOnFailure(); 107 /// <inheritdoc cref="PostMessageFilter(winmdroot.Foundation.HWND, uint, winmdroot.Foundation.WPARAM, winmdroot.Foundation.LPARAM, winmdroot.Foundation.LRESULT*, uint)"/> 109 internal unsafe void PostMessageFilter(winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, out winmdroot.Foundation.LRESULT plResult, uint dwCookie) 120 private static winmdroot.Foundation.HRESULT PostMessageFilter(ISimpleFrameSite* pThis, winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, winmdroot.Foundation.LRESULT* plResult, uint dwCookie) 151 public unsafe void PostMessageFilter(winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, winmdroot.Foundation.LRESULT* plResult, uint dwCookie) 153 ((delegate *unmanaged [Stdcall]<ISimpleFrameSite*,winmdroot.Foundation.HWND ,uint ,winmdroot.Foundation.WPARAM ,winmdroot.Foundation.LPARAM ,winmdroot.Foundation.LRESULT* ,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((ISimpleFrameSite*)Unsafe.AsPointer(ref this), hWnd, msg, wp, lp, plResult, dwCookie).ThrowOnFailure(); 185 internal delegate *unmanaged [Stdcall]<ISimpleFrameSite*,winmdroot.Foundation.HWND ,uint ,winmdroot.Foundation.WPARAM ,winmdroot.Foundation.LPARAM ,winmdroot.Foundation.LRESULT* ,uint* ,winmdroot.Foundation.HRESULT> PreMessageFilter_4; 187 internal delegate *unmanaged [Stdcall]<ISimpleFrameSite*,winmdroot.Foundation.HWND ,uint ,winmdroot.Foundation.WPARAM ,winmdroot.Foundation.LPARAM ,winmdroot.Foundation.LRESULT* ,uint ,winmdroot.Foundation.HRESULT> PostMessageFilter_5; 215 unsafe winmdroot.Foundation.HRESULT PreMessageFilter(winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, winmdroot.Foundation.LRESULT* plResult, uint* pdwCookie); 218 unsafe winmdroot.Foundation.HRESULT PostMessageFilter(winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, winmdroot.Foundation.LRESULT* plResult, uint dwCookie);
_generated\25\Windows.Win32.COMBOBOXINFO.g.cs (3)
57 internal winmdroot.Foundation.HWND hwndCombo; 63 internal winmdroot.Foundation.HWND hwndItem; 69 internal winmdroot.Foundation.HWND hwndList;
_generated\261\Windows.Win32.IUIAutomation.g.cs (10)
179 private static winmdroot.Foundation.HRESULT ElementFromHandle(IUIAutomation* pThis, winmdroot.Foundation.HWND hwnd, winmdroot.UI.Accessibility.IUIAutomationElement** element) 207 public unsafe winmdroot.UI.Accessibility.IUIAutomationElement* ElementFromHandle(winmdroot.Foundation.HWND hwnd) 210 ((delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.Foundation.HWND ,winmdroot.UI.Accessibility.IUIAutomationElement** ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IUIAutomation*)Unsafe.AsPointer(ref this), hwnd, &__retVal).ThrowOnFailure(); 326 private static winmdroot.Foundation.HRESULT ElementFromHandleBuildCache(IUIAutomation* pThis, winmdroot.Foundation.HWND hwnd, winmdroot.UI.Accessibility.IUIAutomationCacheRequest* cacheRequest, winmdroot.UI.Accessibility.IUIAutomationElement** element) 358 public unsafe winmdroot.UI.Accessibility.IUIAutomationElement* ElementFromHandleBuildCache(winmdroot.Foundation.HWND hwnd, winmdroot.UI.Accessibility.IUIAutomationCacheRequest* cacheRequest) 361 ((delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.Foundation.HWND ,winmdroot.UI.Accessibility.IUIAutomationCacheRequest* ,winmdroot.UI.Accessibility.IUIAutomationElement** ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((IUIAutomation*)Unsafe.AsPointer(ref this), hwnd, cacheRequest, &__retVal).ThrowOnFailure(); 2286 internal delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.Foundation.HWND ,winmdroot.UI.Accessibility.IUIAutomationElement** ,winmdroot.Foundation.HRESULT> ElementFromHandle_7; 2294 internal delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.Foundation.HWND ,winmdroot.UI.Accessibility.IUIAutomationCacheRequest* ,winmdroot.UI.Accessibility.IUIAutomationElement** ,winmdroot.Foundation.HRESULT> ElementFromHandleBuildCache_11; 2478 unsafe winmdroot.Foundation.HRESULT ElementFromHandle(winmdroot.Foundation.HWND hwnd, winmdroot.UI.Accessibility.IUIAutomationElement** element); 2490 unsafe winmdroot.Foundation.HRESULT ElementFromHandleBuildCache(winmdroot.Foundation.HWND hwnd, winmdroot.UI.Accessibility.IUIAutomationCacheRequest* cacheRequest, winmdroot.UI.Accessibility.IUIAutomationElement** element);
_generated\264\Windows.Win32.IUIAutomationElement.g.cs (12)
1288 private static winmdroot.Foundation.HRESULT get_CurrentNativeWindowHandle(IUIAutomationElement* pThis, winmdroot.Foundation.HWND* retVal) 1310 internal winmdroot.Foundation.HWND CurrentNativeWindowHandle 1314 winmdroot.Foundation.HWND __result; 1315 ((delegate *unmanaged [Stdcall]<IUIAutomationElement*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT>)lpVtbl[36])((IUIAutomationElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); 2389 private static winmdroot.Foundation.HRESULT get_CachedNativeWindowHandle(IUIAutomationElement* pThis, winmdroot.Foundation.HWND* retVal) 2411 internal winmdroot.Foundation.HWND CachedNativeWindowHandle 2415 winmdroot.Foundation.HWND __result; 2416 ((delegate *unmanaged [Stdcall]<IUIAutomationElement*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT>)lpVtbl[68])((IUIAutomationElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); 3088 internal delegate *unmanaged [Stdcall]<IUIAutomationElement*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT> get_CurrentNativeWindowHandle_37; 3152 internal delegate *unmanaged [Stdcall]<IUIAutomationElement*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT> get_CachedNativeWindowHandle_69; 3420 winmdroot.Foundation.HWND CurrentNativeWindowHandle 3578 winmdroot.Foundation.HWND CachedNativeWindowHandle
_generated\269\Windows.Win32.IUIAutomationProxyFactory.g.cs (5)
60 private static winmdroot.Foundation.HRESULT CreateProvider(IUIAutomationProxyFactory* pThis, winmdroot.Foundation.HWND hwnd, int idObject, int idChild, winmdroot.UI.Accessibility.IRawElementProviderSimple** provider) 94 public unsafe winmdroot.UI.Accessibility.IRawElementProviderSimple* CreateProvider(winmdroot.Foundation.HWND hwnd, int idObject, int idChild) 97 ((delegate *unmanaged [Stdcall]<IUIAutomationProxyFactory*,winmdroot.Foundation.HWND ,int ,int ,winmdroot.UI.Accessibility.IRawElementProviderSimple** ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IUIAutomationProxyFactory*)Unsafe.AsPointer(ref this), hwnd, idObject, idChild, &__retVal).ThrowOnFailure(); 165 internal delegate *unmanaged [Stdcall]<IUIAutomationProxyFactory*,winmdroot.Foundation.HWND ,int ,int ,winmdroot.UI.Accessibility.IRawElementProviderSimple** ,winmdroot.Foundation.HRESULT> CreateProvider_4; 195 unsafe winmdroot.Foundation.HRESULT CreateProvider(winmdroot.Foundation.HWND hwnd, int idObject, int idChild, winmdroot.UI.Accessibility.IRawElementProviderSimple** provider);
_generated\337\Windows.Win32.MOUSEHOOKSTRUCT.g.cs (1)
39 internal winmdroot.Foundation.HWND hwnd;
_generated\349\Windows.Win32.NMHDR.g.cs (1)
33 internal winmdroot.Foundation.HWND hwndFrom;
_generated\376\Windows.Win32.OCPFIPARAMS.g.cs (1)
33 internal winmdroot.Foundation.HWND hWndOwner;
_generated\386\Windows.Win32.OLEINPLACEFRAMEINFO.g.cs (1)
34 internal winmdroot.Foundation.HWND hwndFrame;
_generated\412\Windows.Win32.PInvoke.dwmapi.dll.g.cs (8)
26 /// <inheritdoc cref="DwmGetWindowAttribute(winmdroot.Foundation.HWND, winmdroot.Graphics.Dwm.DWMWINDOWATTRIBUTE, void*, uint)"/> 28 internal static unsafe winmdroot.Foundation.HRESULT DwmGetWindowAttribute(winmdroot.Foundation.HWND hwnd, winmdroot.Graphics.Dwm.DWMWINDOWATTRIBUTE dwAttribute, Span<byte> pvAttribute) 49 internal static unsafe winmdroot.Foundation.HRESULT DwmGetWindowAttribute(winmdroot.Foundation.HWND hwnd, winmdroot.Graphics.Dwm.DWMWINDOWATTRIBUTE dwAttribute, void* pvAttribute, uint cbAttribute) 55 static extern unsafe winmdroot.Foundation.HRESULT LocalExternFunction(winmdroot.Foundation.HWND hwnd, uint dwAttribute, void* pvAttribute, uint cbAttribute); 58 /// <inheritdoc cref="DwmSetWindowAttribute(winmdroot.Foundation.HWND, winmdroot.Graphics.Dwm.DWMWINDOWATTRIBUTE, void*, uint)"/> 60 internal static unsafe winmdroot.Foundation.HRESULT DwmSetWindowAttribute(winmdroot.Foundation.HWND hwnd, winmdroot.Graphics.Dwm.DWMWINDOWATTRIBUTE dwAttribute, ReadOnlySpan<byte> pvAttribute) 79 internal static unsafe winmdroot.Foundation.HRESULT DwmSetWindowAttribute(winmdroot.Foundation.HWND hwnd, winmdroot.Graphics.Dwm.DWMWINDOWATTRIBUTE dwAttribute, void* pvAttribute, uint cbAttribute) 85 static extern unsafe winmdroot.Foundation.HRESULT LocalExternFunction(winmdroot.Foundation.HWND hwnd, uint dwAttribute, void* pvAttribute, uint cbAttribute);
_generated\415\Windows.Win32.PInvoke.hhctrl.ocx.g.cs (9)
26 /// <inheritdoc cref="HtmlHelp(winmdroot.Foundation.HWND, winmdroot.Foundation.PCWSTR, winmdroot.Data.HtmlHelp.HTML_HELP_COMMAND, nuint)"/> 28 internal static unsafe winmdroot.Foundation.HWND HtmlHelp([Optional] winmdroot.Foundation.HWND hwndCaller, string pszFile, winmdroot.Data.HtmlHelp.HTML_HELP_COMMAND uCommand, nuint dwData) 32 winmdroot.Foundation.HWND __result = PInvoke.HtmlHelp(hwndCaller, pszFileLocal, uCommand, dwData); 58 internal static winmdroot.Foundation.HWND HtmlHelp([Optional] winmdroot.Foundation.HWND hwndCaller, winmdroot.Foundation.PCWSTR pszFile, winmdroot.Data.HtmlHelp.HTML_HELP_COMMAND uCommand, nuint dwData) 60 winmdroot.Foundation.HWND __retVal = LocalExternFunction(hwndCaller, pszFile, (uint)uCommand, dwData); 64 static extern winmdroot.Foundation.HWND LocalExternFunction([Optional] winmdroot.Foundation.HWND hwndCaller, winmdroot.Foundation.PCWSTR pszFile, uint uCommand, nuint dwData);
_generated\416\Windows.Win32.PInvoke.IMM32.dll.g.cs (3)
38 internal static extern winmdroot.UI.Input.Ime.HIMC ImmAssociateContext(winmdroot.Foundation.HWND param0, winmdroot.UI.Input.Ime.HIMC param1); 57 internal static extern winmdroot.UI.Input.Ime.HIMC ImmGetContext(winmdroot.Foundation.HWND param0); 119 internal static extern winmdroot.Foundation.BOOL ImmReleaseContext(winmdroot.Foundation.HWND param0, winmdroot.UI.Input.Ime.HIMC param1);
_generated\419\Windows.Win32.PInvoke.OLEACC.dll.g.cs (3)
26 /// <inheritdoc cref="CreateStdAccessibleObject(winmdroot.Foundation.HWND, int, global::System.Guid*, void**)"/> 29 internal static unsafe winmdroot.Foundation.HRESULT CreateStdAccessibleObject(winmdroot.Foundation.HWND hwnd, int idObject, in global::System.Guid riid, out void* ppvObject) 67 internal static extern unsafe winmdroot.Foundation.HRESULT CreateStdAccessibleObject(winmdroot.Foundation.HWND hwnd, int idObject, global::System.Guid* riid, void** ppvObject);
_generated\420\Windows.Win32.PInvoke.OLEAUT32.dll.g.cs (3)
99 /// <inheritdoc cref="OleCreatePropertyFrame(winmdroot.Foundation.HWND, uint, uint, winmdroot.Foundation.PCWSTR, uint, winmdroot.System.Com.IUnknown**, uint, global::System.Guid*, uint, uint, void*)"/> 101 internal static unsafe winmdroot.Foundation.HRESULT OleCreatePropertyFrame(winmdroot.Foundation.HWND hwndOwner, uint x, uint y, string lpszCaption, uint cObjects, winmdroot.System.Com.IUnknown** ppUnk, uint cPages, in global::System.Guid pPageClsID, uint lcid) 135 internal static extern unsafe winmdroot.Foundation.HRESULT OleCreatePropertyFrame(winmdroot.Foundation.HWND hwndOwner, uint x, uint y, winmdroot.Foundation.PCWSTR lpszCaption, uint cObjects, winmdroot.System.Com.IUnknown** ppUnk, uint cPages, global::System.Guid* pPageClsID, uint lcid, uint dwReserved, void* pvReserved);
_generated\422\Windows.Win32.PInvoke.SHELL32.dll.g.cs (5)
191 /// <inheritdoc cref="ShellExecute(winmdroot.Foundation.HWND, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR, winmdroot.UI.WindowsAndMessaging.SHOW_WINDOW_CMD)"/> 194 internal static unsafe winmdroot.Foundation.HINSTANCE ShellExecute([Optional] winmdroot.Foundation.HWND hwnd, [Optional] string lpOperation, string lpFile, [Optional] string lpParameters, [Optional] string lpDirectory, winmdroot.UI.WindowsAndMessaging.SHOW_WINDOW_CMD nShowCmd) 249 internal static extern winmdroot.Foundation.HINSTANCE ShellExecute([Optional] winmdroot.Foundation.HWND hwnd, [Optional] winmdroot.Foundation.PCWSTR lpOperation, winmdroot.Foundation.PCWSTR lpFile, [Optional] winmdroot.Foundation.PCWSTR lpParameters, [Optional] winmdroot.Foundation.PCWSTR lpDirectory, winmdroot.UI.WindowsAndMessaging.SHOW_WINDOW_CMD nShowCmd); 342 /// <inheritdoc cref="SHGetSpecialFolderLocation(winmdroot.Foundation.HWND, int, winmdroot.UI.Shell.Common.ITEMIDLIST**)"/> 374 internal static extern unsafe winmdroot.Foundation.HRESULT SHGetSpecialFolderLocation([Optional] winmdroot.Foundation.HWND hwnd, int csidl, winmdroot.UI.Shell.Common.ITEMIDLIST** ppidl);
_generated\423\Windows.Win32.PInvoke.SHLWAPI.dll.g.cs (1)
44 internal static extern winmdroot.Foundation.HRESULT SHAutoComplete(winmdroot.Foundation.HWND hwndEdit, winmdroot.UI.Shell.SHELL_AUTOCOMPLETE_FLAGS dwFlags);
_generated\424\Windows.Win32.PInvoke.UIAutomationCore.dll.g.cs (2)
84 internal static extern unsafe winmdroot.Foundation.HRESULT UiaHostProviderFromHwnd(winmdroot.Foundation.HWND hwnd, winmdroot.UI.Accessibility.IRawElementProviderSimple** ppProvider); 205 internal static extern unsafe winmdroot.Foundation.LRESULT UiaReturnRawElementProvider(winmdroot.Foundation.HWND hwnd, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, winmdroot.UI.Accessibility.IRawElementProviderSimple* el);
_generated\425\Windows.Win32.PInvoke.USER32.dll.g.cs (203)
264 internal static extern winmdroot.Foundation.HWND ChildWindowFromPointEx(winmdroot.Foundation.HWND hwnd, global::System.Drawing.Point pt, winmdroot.UI.WindowsAndMessaging.CWP_FLAGS flags); 266 /// <inheritdoc cref="ClientToScreen(winmdroot.Foundation.HWND, global::System.Drawing.Point*)"/> 269 internal static unsafe winmdroot.Foundation.BOOL ClientToScreen(winmdroot.Foundation.HWND hWnd, ref global::System.Drawing.Point lpPoint) 290 internal static extern unsafe winmdroot.Foundation.BOOL ClientToScreen(winmdroot.Foundation.HWND hWnd, global::System.Drawing.Point* lpPoint); 442 /// <inheritdoc cref="CreateWindowEx(winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE, int, int, int, int, winmdroot.Foundation.HWND, winmdroot.UI.WindowsAndMessaging.HMENU, winmdroot.Foundation.HINSTANCE, void*)"/> 445 internal static unsafe winmdroot.Foundation.HWND CreateWindowEx(winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, [Optional] string lpClassName, [Optional] string lpWindowName, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, int X, int Y, int nWidth, int nHeight, [Optional] winmdroot.Foundation.HWND hWndParent, [Optional] winmdroot.UI.WindowsAndMessaging.HMENU hMenu, [Optional] winmdroot.Foundation.HINSTANCE hInstance, [Optional] void* lpParam) 451 winmdroot.Foundation.HWND __result = PInvoke.CreateWindowEx(dwExStyle, lpClassNameLocal, lpWindowNameLocal, dwStyle, X, Y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam); 517 internal static unsafe winmdroot.Foundation.HWND CreateWindowEx(winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, [Optional] winmdroot.Foundation.PCWSTR lpClassName, [Optional] winmdroot.Foundation.PCWSTR lpWindowName, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, int X, int Y, int nWidth, int nHeight, [Optional] winmdroot.Foundation.HWND hWndParent, [Optional] winmdroot.UI.WindowsAndMessaging.HMENU hMenu, [Optional] winmdroot.Foundation.HINSTANCE hInstance, [Optional] void* lpParam) 520 winmdroot.Foundation.HWND __retVal = LocalExternFunction(dwExStyle, lpClassName, lpWindowName, dwStyle, X, Y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam); 525 static extern unsafe winmdroot.Foundation.HWND LocalExternFunction(winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, [Optional] winmdroot.Foundation.PCWSTR lpClassName, [Optional] winmdroot.Foundation.PCWSTR lpWindowName, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, int X, int Y, int nWidth, int nHeight, [Optional] winmdroot.Foundation.HWND hWndParent, [Optional] winmdroot.UI.WindowsAndMessaging.HMENU hMenu, [Optional] winmdroot.Foundation.HINSTANCE hInstance, [Optional] void* lpParam); 560 internal static extern winmdroot.Foundation.LRESULT DefFrameProc(winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.HWND hWndMDIClient, uint uMsg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 590 internal static extern winmdroot.Foundation.LRESULT DefMDIChildProc(winmdroot.Foundation.HWND hWnd, uint uMsg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 630 internal static winmdroot.Foundation.BOOL DestroyWindow(winmdroot.Foundation.HWND hWnd) 638 static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd); 736 internal static winmdroot.Foundation.BOOL DrawMenuBar(winmdroot.Foundation.HWND hWnd) 744 static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd); 856 internal static winmdroot.Foundation.BOOL EnableScrollBar(winmdroot.Foundation.HWND hWnd, uint wSBflags, winmdroot.UI.Controls.ENABLE_SCROLL_BAR_ARROWS wArrows) 864 static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, uint wSBflags, winmdroot.UI.Controls.ENABLE_SCROLL_BAR_ARROWS wArrows); 885 internal static extern winmdroot.Foundation.BOOL EnableWindow(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.BOOL bEnable); 904 internal static winmdroot.Foundation.BOOL EndDialog(winmdroot.Foundation.HWND hDlg, nint nResult) 912 static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hDlg, nint nResult); 985 internal static unsafe winmdroot.Foundation.HWND FindWindow([Optional] string lpClassName, [Optional] string lpWindowName) 991 winmdroot.Foundation.HWND __result = PInvoke.FindWindow(lpClassNameLocal, lpWindowNameLocal); 1011 internal static winmdroot.Foundation.HWND FindWindow([Optional] winmdroot.Foundation.PCWSTR lpClassName, [Optional] winmdroot.Foundation.PCWSTR lpWindowName) 1014 winmdroot.Foundation.HWND __retVal = LocalExternFunction(lpClassName, lpWindowName); 1019 static extern winmdroot.Foundation.HWND LocalExternFunction([Optional] winmdroot.Foundation.PCWSTR lpClassName, [Optional] winmdroot.Foundation.PCWSTR lpWindowName); 1032 internal static extern winmdroot.Foundation.HWND GetActiveWindow(); 1048 internal static extern winmdroot.Foundation.HWND GetAncestor(winmdroot.Foundation.HWND hwnd, winmdroot.UI.WindowsAndMessaging.GET_ANCESTOR_FLAGS gaFlags); 1086 internal static extern winmdroot.Foundation.HWND GetCapture(); 1192 /// <inheritdoc cref="GetClassName(winmdroot.Foundation.HWND, winmdroot.Foundation.PWSTR, int)"/> 1194 internal static unsafe int GetClassName(winmdroot.Foundation.HWND hWnd, Span<char>lpClassName) 1224 internal static int GetClassName(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.PWSTR lpClassName, int nMaxCount) 1232 static extern int LocalExternFunction(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.PWSTR lpClassName, int nMaxCount); 1271 /// <inheritdoc cref="GetComboBoxInfo(winmdroot.Foundation.HWND, winmdroot.UI.Controls.COMBOBOXINFO*)"/> 1274 internal static unsafe winmdroot.Foundation.BOOL GetComboBoxInfo(winmdroot.Foundation.HWND hwndCombo, ref winmdroot.UI.Controls.COMBOBOXINFO pcbi) 1297 internal static unsafe winmdroot.Foundation.BOOL GetComboBoxInfo(winmdroot.Foundation.HWND hwndCombo, winmdroot.UI.Controls.COMBOBOXINFO* pcbi) 1305 static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hwndCombo, winmdroot.UI.Controls.COMBOBOXINFO* pcbi); 1369 internal static winmdroot.Foundation.HWND GetDlgItem([Optional] winmdroot.Foundation.HWND hDlg, int nIDDlgItem) 1372 winmdroot.Foundation.HWND __retVal = LocalExternFunction(hDlg, nIDDlgItem); 1377 static extern winmdroot.Foundation.HWND LocalExternFunction([Optional] winmdroot.Foundation.HWND hDlg, int nIDDlgItem); 1380 /// <inheritdoc cref="GetDlgItemInt(winmdroot.Foundation.HWND, int, winmdroot.Foundation.BOOL*, winmdroot.Foundation.BOOL)"/> 1383 internal static unsafe uint GetDlgItemInt(winmdroot.Foundation.HWND hDlg, int nIDDlgItem, out winmdroot.Foundation.BOOL lpTranslated, winmdroot.Foundation.BOOL bSigned) 1392 /// <inheritdoc cref="GetDlgItemInt(winmdroot.Foundation.HWND, int, winmdroot.Foundation.BOOL*, winmdroot.Foundation.BOOL)"/> 1394 internal static unsafe uint GetDlgItemInt(winmdroot.Foundation.HWND hDlg, int nIDDlgItem, winmdroot.Foundation.BOOL bSigned) 1425 internal static unsafe uint GetDlgItemInt(winmdroot.Foundation.HWND hDlg, int nIDDlgItem, [Optional] winmdroot.Foundation.BOOL* lpTranslated, winmdroot.Foundation.BOOL bSigned) 1433 static extern unsafe uint LocalExternFunction(winmdroot.Foundation.HWND hDlg, int nIDDlgItem, [Optional] winmdroot.Foundation.BOOL* lpTranslated, winmdroot.Foundation.BOOL bSigned); 1467 internal static extern uint GetDpiForWindow(winmdroot.Foundation.HWND hwnd); 1479 internal static extern winmdroot.Foundation.HWND GetFocus(); 1602 internal static extern winmdroot.UI.WindowsAndMessaging.HMENU GetMenu(winmdroot.Foundation.HWND hWnd); 1675 /// <inheritdoc cref="GetMessage(winmdroot.UI.WindowsAndMessaging.MSG*, winmdroot.Foundation.HWND, uint, uint)"/> 1678 internal static unsafe winmdroot.Foundation.BOOL GetMessage(out winmdroot.UI.WindowsAndMessaging.MSG lpMsg, [Optional] winmdroot.Foundation.HWND hWnd, uint wMsgFilterMin, uint wMsgFilterMax) 1718 internal static unsafe winmdroot.Foundation.BOOL GetMessage(winmdroot.UI.WindowsAndMessaging.MSG* lpMsg, [Optional] winmdroot.Foundation.HWND hWnd, uint wMsgFilterMin, uint wMsgFilterMax) 1726 static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.UI.WindowsAndMessaging.MSG* lpMsg, [Optional] winmdroot.Foundation.HWND hWnd, uint wMsgFilterMin, uint wMsgFilterMax); 1765 internal static winmdroot.Foundation.HWND GetParent(winmdroot.Foundation.HWND hWnd) 1768 winmdroot.Foundation.HWND __retVal = LocalExternFunction(hWnd); 1773 static extern winmdroot.Foundation.HWND LocalExternFunction(winmdroot.Foundation.HWND hWnd); 1854 /// <inheritdoc cref="GetScrollInfo(winmdroot.Foundation.HWND, winmdroot.UI.WindowsAndMessaging.SCROLLBAR_CONSTANTS, winmdroot.UI.WindowsAndMessaging.SCROLLINFO*)"/> 1857 internal static unsafe winmdroot.Foundation.BOOL GetScrollInfo(winmdroot.Foundation.HWND hwnd, winmdroot.UI.WindowsAndMessaging.SCROLLBAR_CONSTANTS nBar, ref winmdroot.UI.WindowsAndMessaging.SCROLLINFO lpsi) 1886 internal static unsafe winmdroot.Foundation.BOOL GetScrollInfo(winmdroot.Foundation.HWND hwnd, winmdroot.UI.WindowsAndMessaging.SCROLLBAR_CONSTANTS nBar, winmdroot.UI.WindowsAndMessaging.SCROLLINFO* lpsi) 1894 static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hwnd, winmdroot.UI.WindowsAndMessaging.SCROLLBAR_CONSTANTS nBar, winmdroot.UI.WindowsAndMessaging.SCROLLINFO* lpsi); 1915 internal static extern winmdroot.UI.WindowsAndMessaging.HMENU GetSystemMenu(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.BOOL bRevert); 1950 /// <inheritdoc cref="GetUpdateRect(winmdroot.Foundation.HWND, winmdroot.Foundation.RECT*, winmdroot.Foundation.BOOL)"/> 1953 internal static unsafe winmdroot.Foundation.BOOL GetUpdateRect(winmdroot.Foundation.HWND hWnd, out winmdroot.Foundation.RECT lpRect, winmdroot.Foundation.BOOL bErase) 1962 /// <inheritdoc cref="GetUpdateRect(winmdroot.Foundation.HWND, winmdroot.Foundation.RECT*, winmdroot.Foundation.BOOL)"/> 1964 internal static unsafe winmdroot.Foundation.BOOL GetUpdateRect(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.BOOL bErase) 1987 internal static extern unsafe winmdroot.Foundation.BOOL GetUpdateRect(winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.RECT* lpRect, winmdroot.Foundation.BOOL bErase); 2000 internal static extern winmdroot.Graphics.Gdi.GDI_REGION_TYPE GetUpdateRgn(winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Gdi.HRGN hRgn, winmdroot.Foundation.BOOL bErase); 2066 internal static winmdroot.Foundation.HWND GetWindow(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.GET_WINDOW_CMD uCmd) 2069 winmdroot.Foundation.HWND __retVal = LocalExternFunction(hWnd, uCmd); 2074 static extern winmdroot.Foundation.HWND LocalExternFunction(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.GET_WINDOW_CMD uCmd); 2077 /// <inheritdoc cref="GetWindowDisplayAffinity(winmdroot.Foundation.HWND, uint*)"/> 2080 internal static unsafe winmdroot.Foundation.BOOL GetWindowDisplayAffinity(winmdroot.Foundation.HWND hWnd, out uint pdwAffinity) 2107 internal static unsafe winmdroot.Foundation.BOOL GetWindowDisplayAffinity(winmdroot.Foundation.HWND hWnd, uint* pdwAffinity) 2115 static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, uint* pdwAffinity); 2127 internal static extern winmdroot.UI.HiDpi.DPI_AWARENESS_CONTEXT GetWindowDpiAwarenessContext(winmdroot.Foundation.HWND hwnd); 2129 /// <inheritdoc cref="GetWindowPlacement(winmdroot.Foundation.HWND, winmdroot.UI.WindowsAndMessaging.WINDOWPLACEMENT*)"/> 2132 internal static unsafe winmdroot.Foundation.BOOL GetWindowPlacement(winmdroot.Foundation.HWND hWnd, ref winmdroot.UI.WindowsAndMessaging.WINDOWPLACEMENT lpwndpl) 2158 internal static unsafe winmdroot.Foundation.BOOL GetWindowPlacement(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.WINDOWPLACEMENT* lpwndpl) 2166 static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.WINDOWPLACEMENT* lpwndpl); 2182 internal static extern winmdroot.Graphics.Gdi.GDI_REGION_TYPE GetWindowRgn(winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Gdi.HRGN hRgn); 2197 internal static winmdroot.Foundation.BOOL HideCaret([Optional] winmdroot.Foundation.HWND hWnd) 2205 static extern winmdroot.Foundation.BOOL LocalExternFunction([Optional] winmdroot.Foundation.HWND hWnd); 2208 /// <inheritdoc cref="InvalidateRect(winmdroot.Foundation.HWND, winmdroot.Foundation.RECT*, winmdroot.Foundation.BOOL)"/> 2211 internal static unsafe winmdroot.Foundation.BOOL InvalidateRect([Optional] winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.RECT? lpRect, winmdroot.Foundation.BOOL bErase) 2231 internal static extern unsafe winmdroot.Foundation.BOOL InvalidateRect([Optional] winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.RECT* lpRect, winmdroot.Foundation.BOOL bErase); 2244 internal static extern winmdroot.Foundation.BOOL InvalidateRgn(winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Graphics.Gdi.HRGN hRgn, winmdroot.Foundation.BOOL bErase); 2263 internal static extern winmdroot.Foundation.BOOL IsChild(winmdroot.Foundation.HWND hWndParent, winmdroot.Foundation.HWND hWnd); 2265 /// <inheritdoc cref="IsDialogMessage(winmdroot.Foundation.HWND, winmdroot.UI.WindowsAndMessaging.MSG*)"/> 2268 internal static unsafe winmdroot.Foundation.BOOL IsDialogMessage(winmdroot.Foundation.HWND hDlg, in winmdroot.UI.WindowsAndMessaging.MSG lpMsg) 2296 internal static extern unsafe winmdroot.Foundation.BOOL IsDialogMessage(winmdroot.Foundation.HWND hDlg, winmdroot.UI.WindowsAndMessaging.MSG* lpMsg); 2331 internal static extern winmdroot.Foundation.BOOL IsWindow([Optional] winmdroot.Foundation.HWND hWnd); 2344 internal static extern winmdroot.Foundation.BOOL IsWindowEnabled(winmdroot.Foundation.HWND hWnd); 2360 internal static extern winmdroot.Foundation.BOOL IsWindowUnicode(winmdroot.Foundation.HWND hWnd); 2376 internal static extern winmdroot.Foundation.BOOL IsWindowVisible(winmdroot.Foundation.HWND hWnd); 2391 internal static extern winmdroot.Foundation.BOOL IsZoomed(winmdroot.Foundation.HWND hWnd); 2407 internal static winmdroot.Foundation.BOOL KillTimer([Optional] winmdroot.Foundation.HWND hWnd, nuint uIDEvent) 2415 static extern winmdroot.Foundation.BOOL LocalExternFunction([Optional] winmdroot.Foundation.HWND hWnd, nuint uIDEvent); 2503 /// <inheritdoc cref="MessageBox(winmdroot.Foundation.HWND, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR, winmdroot.UI.WindowsAndMessaging.MESSAGEBOX_STYLE)"/> 2506 internal static unsafe winmdroot.UI.WindowsAndMessaging.MESSAGEBOX_RESULT MessageBox([Optional] winmdroot.Foundation.HWND hWnd, [Optional] string lpText, [Optional] string lpCaption, winmdroot.UI.WindowsAndMessaging.MESSAGEBOX_STYLE uType) 2545 internal static winmdroot.UI.WindowsAndMessaging.MESSAGEBOX_RESULT MessageBox([Optional] winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.PCWSTR lpText, [Optional] winmdroot.Foundation.PCWSTR lpCaption, winmdroot.UI.WindowsAndMessaging.MESSAGEBOX_STYLE uType) 2553 static extern winmdroot.UI.WindowsAndMessaging.MESSAGEBOX_RESULT LocalExternFunction([Optional] winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.PCWSTR lpText, [Optional] winmdroot.Foundation.PCWSTR lpCaption, winmdroot.UI.WindowsAndMessaging.MESSAGEBOX_STYLE uType); 2620 internal static extern void NotifyWinEvent(uint @event, winmdroot.Foundation.HWND hwnd, int idObject, int idChild); 2720 /// <inheritdoc cref="RedrawWindow(winmdroot.Foundation.HWND, winmdroot.Foundation.RECT*, winmdroot.Graphics.Gdi.HRGN, winmdroot.Graphics.Gdi.REDRAW_WINDOW_FLAGS)"/> 2723 internal static unsafe winmdroot.Foundation.BOOL RedrawWindow([Optional] winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.RECT? lprcUpdate, [Optional] winmdroot.Graphics.Gdi.HRGN hrgnUpdate, winmdroot.Graphics.Gdi.REDRAW_WINDOW_FLAGS flags) 2745 internal static extern unsafe winmdroot.Foundation.BOOL RedrawWindow([Optional] winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.RECT* lprcUpdate, [Optional] winmdroot.Graphics.Gdi.HRGN hrgnUpdate, winmdroot.Graphics.Gdi.REDRAW_WINDOW_FLAGS flags); 2848 internal static extern int ReleaseDC([Optional] winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Gdi.HDC hDC); 2850 /// <inheritdoc cref="ScreenToClient(winmdroot.Foundation.HWND, global::System.Drawing.Point*)"/> 2853 internal static unsafe winmdroot.Foundation.BOOL ScreenToClient(winmdroot.Foundation.HWND hWnd, ref global::System.Drawing.Point lpPoint) 2874 internal static extern unsafe winmdroot.Foundation.BOOL ScreenToClient(winmdroot.Foundation.HWND hWnd, global::System.Drawing.Point* lpPoint); 2876 /// <inheritdoc cref="ScrollWindow(winmdroot.Foundation.HWND, int, int, winmdroot.Foundation.RECT*, winmdroot.Foundation.RECT*)"/> 2879 internal static unsafe winmdroot.Foundation.BOOL ScrollWindow(winmdroot.Foundation.HWND hWnd, int XAmount, int YAmount, [Optional] winmdroot.Foundation.RECT? lpRect, [Optional] winmdroot.Foundation.RECT? lpClipRect) 2916 internal static unsafe winmdroot.Foundation.BOOL ScrollWindow(winmdroot.Foundation.HWND hWnd, int XAmount, int YAmount, [Optional] winmdroot.Foundation.RECT* lpRect, [Optional] winmdroot.Foundation.RECT* lpClipRect) 2924 static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, int XAmount, int YAmount, [Optional] winmdroot.Foundation.RECT* lpRect, [Optional] winmdroot.Foundation.RECT* lpClipRect); 2927 /// <inheritdoc cref="ScrollWindowEx(winmdroot.Foundation.HWND, int, int, winmdroot.Foundation.RECT*, winmdroot.Foundation.RECT*, winmdroot.Graphics.Gdi.HRGN, winmdroot.Foundation.RECT*, winmdroot.UI.WindowsAndMessaging.SCROLL_WINDOW_FLAGS)"/> 2930 internal static unsafe int ScrollWindowEx(winmdroot.Foundation.HWND hWnd, int dx, int dy, [Optional] winmdroot.Foundation.RECT? prcScroll, [Optional] winmdroot.Foundation.RECT? prcClip, [Optional] winmdroot.Graphics.Gdi.HRGN hrgnUpdate, out winmdroot.Foundation.RECT prcUpdate, winmdroot.UI.WindowsAndMessaging.SCROLL_WINDOW_FLAGS flags) 2941 /// <inheritdoc cref="ScrollWindowEx(winmdroot.Foundation.HWND, int, int, winmdroot.Foundation.RECT*, winmdroot.Foundation.RECT*, winmdroot.Graphics.Gdi.HRGN, winmdroot.Foundation.RECT*, winmdroot.UI.WindowsAndMessaging.SCROLL_WINDOW_FLAGS)"/> 2943 internal static unsafe int ScrollWindowEx(winmdroot.Foundation.HWND hWnd, int dx, int dy, [Optional] winmdroot.Foundation.RECT? prcScroll, [Optional] winmdroot.Foundation.RECT? prcClip, [Optional] winmdroot.Graphics.Gdi.HRGN hrgnUpdate, winmdroot.UI.WindowsAndMessaging.SCROLL_WINDOW_FLAGS flags) 2989 internal static unsafe int ScrollWindowEx(winmdroot.Foundation.HWND hWnd, int dx, int dy, [Optional] winmdroot.Foundation.RECT* prcScroll, [Optional] winmdroot.Foundation.RECT* prcClip, [Optional] winmdroot.Graphics.Gdi.HRGN hrgnUpdate, [Optional] winmdroot.Foundation.RECT* prcUpdate, winmdroot.UI.WindowsAndMessaging.SCROLL_WINDOW_FLAGS flags) 2997 static extern unsafe int LocalExternFunction(winmdroot.Foundation.HWND hWnd, int dx, int dy, [Optional] winmdroot.Foundation.RECT* prcScroll, [Optional] winmdroot.Foundation.RECT* prcClip, [Optional] winmdroot.Graphics.Gdi.HRGN hrgnUpdate, [Optional] winmdroot.Foundation.RECT* prcUpdate, winmdroot.UI.WindowsAndMessaging.SCROLL_WINDOW_FLAGS flags); 3030 internal static extern winmdroot.Foundation.LRESULT SendDlgItemMessage(winmdroot.Foundation.HWND hDlg, int nIDDlgItem, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 3110 internal static unsafe winmdroot.Foundation.BOOL SendMessageCallback(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,uint,nuint,global::Windows.Win32.Foundation.LRESULT,void> lpResultCallBack, nuint dwData) 3118 static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,uint,nuint,global::Windows.Win32.Foundation.LRESULT,void> lpResultCallBack, nuint dwData); 3121 /// <inheritdoc cref="SendMessageTimeout(winmdroot.Foundation.HWND, uint, winmdroot.Foundation.WPARAM, winmdroot.Foundation.LPARAM, winmdroot.UI.WindowsAndMessaging.SEND_MESSAGE_TIMEOUT_FLAGS, uint, nuint*)"/> 3124 internal static unsafe winmdroot.Foundation.LRESULT SendMessageTimeout(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, winmdroot.UI.WindowsAndMessaging.SEND_MESSAGE_TIMEOUT_FLAGS fuFlags, uint uTimeout, out nuint lpdwResult) 3133 /// <inheritdoc cref="SendMessageTimeout(winmdroot.Foundation.HWND, uint, winmdroot.Foundation.WPARAM, winmdroot.Foundation.LPARAM, winmdroot.UI.WindowsAndMessaging.SEND_MESSAGE_TIMEOUT_FLAGS, uint, nuint*)"/> 3135 internal static unsafe winmdroot.Foundation.LRESULT SendMessageTimeout(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, winmdroot.UI.WindowsAndMessaging.SEND_MESSAGE_TIMEOUT_FLAGS fuFlags, uint uTimeout) 3176 internal static unsafe winmdroot.Foundation.LRESULT SendMessageTimeout(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, winmdroot.UI.WindowsAndMessaging.SEND_MESSAGE_TIMEOUT_FLAGS fuFlags, uint uTimeout, [Optional] nuint* lpdwResult) 3184 static extern unsafe winmdroot.Foundation.LRESULT LocalExternFunction(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, winmdroot.UI.WindowsAndMessaging.SEND_MESSAGE_TIMEOUT_FLAGS fuFlags, uint uTimeout, [Optional] nuint* lpdwResult); 3200 internal static winmdroot.Foundation.HWND SetActiveWindow(winmdroot.Foundation.HWND hWnd) 3203 winmdroot.Foundation.HWND __retVal = LocalExternFunction(hWnd); 3208 static extern winmdroot.Foundation.HWND LocalExternFunction(winmdroot.Foundation.HWND hWnd); 3225 internal static extern winmdroot.Foundation.HWND SetCapture(winmdroot.Foundation.HWND hWnd); 3284 internal static winmdroot.Foundation.HWND SetFocus([Optional] winmdroot.Foundation.HWND hWnd) 3287 winmdroot.Foundation.HWND __retVal = LocalExternFunction(hWnd); 3292 static extern winmdroot.Foundation.HWND LocalExternFunction([Optional] winmdroot.Foundation.HWND hWnd); 3309 internal static extern winmdroot.Foundation.BOOL SetForegroundWindow(winmdroot.Foundation.HWND hWnd); 3368 internal static winmdroot.Foundation.BOOL SetLayeredWindowAttributes(winmdroot.Foundation.HWND hwnd, winmdroot.Foundation.COLORREF crKey, byte bAlpha, winmdroot.UI.WindowsAndMessaging.LAYERED_WINDOW_ATTRIBUTES_FLAGS dwFlags) 3376 static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hwnd, winmdroot.Foundation.COLORREF crKey, byte bAlpha, winmdroot.UI.WindowsAndMessaging.LAYERED_WINDOW_ATTRIBUTES_FLAGS dwFlags); 3396 internal static winmdroot.Foundation.BOOL SetMenu(winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.UI.WindowsAndMessaging.HMENU hMenu) 3404 static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.UI.WindowsAndMessaging.HMENU hMenu); 3425 internal static winmdroot.Foundation.HWND SetParent(winmdroot.Foundation.HWND hWndChild, [Optional] winmdroot.Foundation.HWND hWndNewParent) 3428 winmdroot.Foundation.HWND __retVal = LocalExternFunction(hWndChild, hWndNewParent); 3433 static extern winmdroot.Foundation.HWND LocalExternFunction(winmdroot.Foundation.HWND hWndChild, [Optional] winmdroot.Foundation.HWND hWndNewParent); 3466 /// <inheritdoc cref="SetScrollInfo(winmdroot.Foundation.HWND, winmdroot.UI.WindowsAndMessaging.SCROLLBAR_CONSTANTS, winmdroot.UI.WindowsAndMessaging.SCROLLINFO*, winmdroot.Foundation.BOOL)"/> 3469 internal static unsafe int SetScrollInfo(winmdroot.Foundation.HWND hwnd, winmdroot.UI.WindowsAndMessaging.SCROLLBAR_CONSTANTS nBar, in winmdroot.UI.WindowsAndMessaging.SCROLLINFO lpsi, winmdroot.Foundation.BOOL redraw) 3501 internal static extern unsafe int SetScrollInfo(winmdroot.Foundation.HWND hwnd, winmdroot.UI.WindowsAndMessaging.SCROLLBAR_CONSTANTS nBar, winmdroot.UI.WindowsAndMessaging.SCROLLINFO* lpsi, winmdroot.Foundation.BOOL redraw); 3526 internal static int SetScrollPos(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.SCROLLBAR_CONSTANTS nBar, int nPos, winmdroot.Foundation.BOOL bRedraw) 3534 static extern int LocalExternFunction(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.SCROLLBAR_CONSTANTS nBar, int nPos, winmdroot.Foundation.BOOL bRedraw); 3581 internal static unsafe nuint SetTimer([Optional] winmdroot.Foundation.HWND hWnd, nuint nIDEvent, uint uElapse, [Optional] delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,uint,nuint,uint,void> lpTimerFunc) 3589 static extern unsafe nuint LocalExternFunction([Optional] winmdroot.Foundation.HWND hWnd, nuint nIDEvent, uint uElapse, [Optional] delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,uint,nuint,uint,void> lpTimerFunc); 3609 internal static winmdroot.Foundation.BOOL SetWindowDisplayAffinity(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.WINDOW_DISPLAY_AFFINITY dwAffinity) 3617 static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.WINDOW_DISPLAY_AFFINITY dwAffinity); 3620 /// <inheritdoc cref="SetWindowPlacement(winmdroot.Foundation.HWND, winmdroot.UI.WindowsAndMessaging.WINDOWPLACEMENT*)"/> 3623 internal static unsafe winmdroot.Foundation.BOOL SetWindowPlacement(winmdroot.Foundation.HWND hWnd, in winmdroot.UI.WindowsAndMessaging.WINDOWPLACEMENT lpwndpl) 3649 internal static unsafe winmdroot.Foundation.BOOL SetWindowPlacement(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.WINDOWPLACEMENT* lpwndpl) 3657 static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.WINDOWPLACEMENT* lpwndpl); 3692 internal static winmdroot.Foundation.BOOL SetWindowPos(winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.HWND hWndInsertAfter, int X, int Y, int cx, int cy, winmdroot.UI.WindowsAndMessaging.SET_WINDOW_POS_FLAGS uFlags) 3700 static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.HWND hWndInsertAfter, int X, int Y, int cx, int cy, winmdroot.UI.WindowsAndMessaging.SET_WINDOW_POS_FLAGS uFlags); 3722 internal static extern int SetWindowRgn(winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Graphics.Gdi.HRGN hRgn, winmdroot.Foundation.BOOL bRedraw); 3762 /// <inheritdoc cref="SetWindowText(winmdroot.Foundation.HWND, winmdroot.Foundation.PCWSTR)"/> 3765 internal static unsafe winmdroot.Foundation.BOOL SetWindowText(winmdroot.Foundation.HWND hWnd, [Optional] string lpString) 3791 internal static winmdroot.Foundation.BOOL SetWindowText(winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.PCWSTR lpString) 3799 static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.PCWSTR lpString); 3861 internal static extern unsafe winmdroot.UI.Accessibility.HWINEVENTHOOK SetWinEventHook(uint eventMin, uint eventMax, [Optional] winmdroot.Foundation.HMODULE hmodWinEventProc, delegate *unmanaged[Stdcall]<global::Windows.Win32.UI.Accessibility.HWINEVENTHOOK,uint,global::Windows.Win32.Foundation.HWND,int,int,uint,uint,void> pfnWinEventProc, uint idProcess, uint idThread, uint dwFlags); 3876 internal static winmdroot.Foundation.BOOL ShowCaret([Optional] winmdroot.Foundation.HWND hWnd) 3884 static extern winmdroot.Foundation.BOOL LocalExternFunction([Optional] winmdroot.Foundation.HWND hWnd); 3919 internal static extern winmdroot.Foundation.BOOL ShowWindow(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.SHOW_WINDOW_CMD nCmdShow); 3958 /// <inheritdoc cref="TranslateMDISysAccel(winmdroot.Foundation.HWND, winmdroot.UI.WindowsAndMessaging.MSG*)"/> 3961 internal static unsafe winmdroot.Foundation.BOOL TranslateMDISysAccel(winmdroot.Foundation.HWND hWndClient, in winmdroot.UI.WindowsAndMessaging.MSG lpMsg) 3987 internal static extern unsafe winmdroot.Foundation.BOOL TranslateMDISysAccel(winmdroot.Foundation.HWND hWndClient, winmdroot.UI.WindowsAndMessaging.MSG* lpMsg); 4028 internal static extern winmdroot.Foundation.BOOL UpdateWindow(winmdroot.Foundation.HWND hWnd); 4030 /// <inheritdoc cref="ValidateRect(winmdroot.Foundation.HWND, winmdroot.Foundation.RECT*)"/> 4033 internal static unsafe winmdroot.Foundation.BOOL ValidateRect([Optional] winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.RECT? lpRect) 4052 internal static extern unsafe winmdroot.Foundation.BOOL ValidateRect([Optional] winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.RECT* lpRect); 4100 internal static extern winmdroot.Foundation.HWND WindowFromPoint(global::System.Drawing.Point Point);
_generated\426\Windows.Win32.PInvoke.UXTHEME.dll.g.cs (9)
152 /// <inheritdoc cref="DrawThemeParentBackground(winmdroot.Foundation.HWND, winmdroot.Graphics.Gdi.HDC, winmdroot.Foundation.RECT*)"/> 155 internal static unsafe winmdroot.Foundation.HRESULT DrawThemeParentBackground(winmdroot.Foundation.HWND hwnd, winmdroot.Graphics.Gdi.HDC hdc, [Optional] winmdroot.Foundation.RECT? prc) 183 internal static extern unsafe winmdroot.Foundation.HRESULT DrawThemeParentBackground(winmdroot.Foundation.HWND hwnd, winmdroot.Graphics.Gdi.HDC hdc, [Optional] winmdroot.Foundation.RECT* prc); 1280 /// <inheritdoc cref="OpenThemeData(winmdroot.Foundation.HWND, winmdroot.Foundation.PCWSTR)"/> 1283 internal static unsafe winmdroot.UI.Controls.HTHEME OpenThemeData([Optional] winmdroot.Foundation.HWND hwnd, string pszClassList) 1310 internal static extern winmdroot.UI.Controls.HTHEME OpenThemeData([Optional] winmdroot.Foundation.HWND hwnd, winmdroot.Foundation.PCWSTR pszClassList); 1323 /// <inheritdoc cref="SetWindowTheme(winmdroot.Foundation.HWND, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR)"/> 1326 internal static unsafe winmdroot.Foundation.HRESULT SetWindowTheme(winmdroot.Foundation.HWND hwnd, [Optional] string pszSubAppName, [Optional] string pszSubIdList) 1361 internal static extern winmdroot.Foundation.HRESULT SetWindowTheme(winmdroot.Foundation.HWND hwnd, [Optional] winmdroot.Foundation.PCWSTR pszSubAppName, [Optional] winmdroot.Foundation.PCWSTR pszSubIdList);
_generated\427\Windows.Win32.PInvoke.winspool.drv.g.cs (5)
47 /// <inheritdoc cref="DocumentProperties(winmdroot.Foundation.HWND, winmdroot.Graphics.Printing.PRINTER_HANDLE, winmdroot.Foundation.PWSTR, winmdroot.Graphics.Gdi.DEVMODEW*, winmdroot.Graphics.Gdi.DEVMODEW*, uint)"/> 49 internal static unsafe int DocumentProperties([Optional] winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Printing.PRINTER_HANDLE hPrinter, winmdroot.Foundation.PWSTR pDeviceName, out winmdroot.Graphics.Gdi.DEVMODEW pDevModeOutput, [Optional] winmdroot.Graphics.Gdi.DEVMODEW? pDevModeInput, uint fMode) 59 /// <inheritdoc cref="DocumentProperties(winmdroot.Foundation.HWND, winmdroot.Graphics.Printing.PRINTER_HANDLE, winmdroot.Foundation.PWSTR, winmdroot.Graphics.Gdi.DEVMODEW*, winmdroot.Graphics.Gdi.DEVMODEW*, uint)"/> 60 internal static unsafe int DocumentProperties([Optional] winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Printing.PRINTER_HANDLE hPrinter, winmdroot.Foundation.PWSTR pDeviceName, [Optional] winmdroot.Graphics.Gdi.DEVMODEW? pDevModeInput, uint fMode) 90 internal static extern unsafe int DocumentProperties([Optional] winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Printing.PRINTER_HANDLE hPrinter, winmdroot.Foundation.PWSTR pDeviceName, [Optional] winmdroot.Graphics.Gdi.DEVMODEW* pDevModeOutput, [Optional] winmdroot.Graphics.Gdi.DEVMODEW* pDevModeInput, uint fMode);
_generated\47\Windows.Win32.DRAWITEMSTRUCT.g.cs (1)
60 internal winmdroot.Foundation.HWND hwndItem;
_generated\501\Windows.Win32.System_Ole_IOleInPlaceActiveObject_Extensions.g.cs (3)
23 /// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceActiveObject.Interface.GetWindow(winmdroot.Foundation.HWND*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetWindow(this winmdroot.System.Ole.IOleInPlaceActiveObject.Interface @this, out winmdroot.Foundation.HWND phwnd) 26 fixed (winmdroot.Foundation.HWND* phwndLocal = &phwnd)
_generated\502\Windows.Win32.System_Ole_IOleInPlaceFrame_Extensions.g.cs (3)
23 /// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceFrame.Interface.GetWindow(winmdroot.Foundation.HWND*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetWindow(this winmdroot.System.Ole.IOleInPlaceFrame.Interface @this, out winmdroot.Foundation.HWND phwnd) 26 fixed (winmdroot.Foundation.HWND* phwndLocal = &phwnd)
_generated\503\Windows.Win32.System_Ole_IOleInPlaceObjectWindowless_Extensions.g.cs (3)
23 /// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceObjectWindowless.Interface.GetWindow(winmdroot.Foundation.HWND*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetWindow(this winmdroot.System.Ole.IOleInPlaceObjectWindowless.Interface @this, out winmdroot.Foundation.HWND phwnd) 26 fixed (winmdroot.Foundation.HWND* phwndLocal = &phwnd)
_generated\504\Windows.Win32.System_Ole_IOleInPlaceObject_Extensions.g.cs (3)
23 /// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceObject.Interface.GetWindow(winmdroot.Foundation.HWND*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetWindow(this winmdroot.System.Ole.IOleInPlaceObject.Interface @this, out winmdroot.Foundation.HWND phwnd) 26 fixed (winmdroot.Foundation.HWND* phwndLocal = &phwnd)
_generated\505\Windows.Win32.System_Ole_IOleInPlaceSite_Extensions.g.cs (3)
23 /// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceSite.Interface.GetWindow(winmdroot.Foundation.HWND*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetWindow(this winmdroot.System.Ole.IOleInPlaceSite.Interface @this, out winmdroot.Foundation.HWND phwnd) 26 fixed (winmdroot.Foundation.HWND* phwndLocal = &phwnd)
_generated\506\Windows.Win32.System_Ole_IOleInPlaceUIWindow_Extensions.g.cs (3)
23 /// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceUIWindow.Interface.GetWindow(winmdroot.Foundation.HWND*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetWindow(this winmdroot.System.Ole.IOleInPlaceUIWindow.Interface @this, out winmdroot.Foundation.HWND phwnd) 26 fixed (winmdroot.Foundation.HWND* phwndLocal = &phwnd)
_generated\507\Windows.Win32.System_Ole_IOleObject_Extensions.g.cs (2)
36 /// <inheritdoc cref="winmdroot.System.Ole.IOleObject.Interface.DoVerb(int, winmdroot.UI.WindowsAndMessaging.MSG*, winmdroot.System.Ole.IOleClientSite*, int, winmdroot.Foundation.HWND, winmdroot.Foundation.RECT*)"/> 37 internal static unsafe winmdroot.Foundation.HRESULT DoVerb(this winmdroot.System.Ole.IOleObject.Interface @this, int iVerb, in winmdroot.UI.WindowsAndMessaging.MSG lpmsg, winmdroot.System.Ole.IOleClientSite* pActiveSite, int lindex, winmdroot.Foundation.HWND hwndParent, in winmdroot.Foundation.RECT lprcPosRect)
_generated\511\Windows.Win32.System_Ole_IOleWindow_Extensions.g.cs (3)
23 /// <inheritdoc cref="winmdroot.System.Ole.IOleWindow.Interface.GetWindow(winmdroot.Foundation.HWND*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetWindow(this winmdroot.System.Ole.IOleWindow.Interface @this, out winmdroot.Foundation.HWND phwnd) 26 fixed (winmdroot.Foundation.HWND* phwndLocal = &phwnd)
_generated\518\Windows.Win32.System_Ole_ISimpleFrameSite_Extensions.g.cs (4)
23 /// <inheritdoc cref="winmdroot.System.Ole.ISimpleFrameSite.Interface.PreMessageFilter(winmdroot.Foundation.HWND, uint, winmdroot.Foundation.WPARAM, winmdroot.Foundation.LPARAM, winmdroot.Foundation.LRESULT*, uint*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT PreMessageFilter(this winmdroot.System.Ole.ISimpleFrameSite.Interface @this, winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, out winmdroot.Foundation.LRESULT plResult, out uint pdwCookie) 36 /// <inheritdoc cref="winmdroot.System.Ole.ISimpleFrameSite.Interface.PostMessageFilter(winmdroot.Foundation.HWND, uint, winmdroot.Foundation.WPARAM, winmdroot.Foundation.LPARAM, winmdroot.Foundation.LRESULT*, uint)"/> 37 internal static unsafe winmdroot.Foundation.HRESULT PostMessageFilter(this winmdroot.System.Ole.ISimpleFrameSite.Interface @this, winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, out winmdroot.Foundation.LRESULT plResult, uint dwCookie)
_generated\525\Windows.Win32.TASKDIALOGCONFIG.g.cs (2)
40 internal winmdroot.Foundation.HWND hwndParent; 157 internal unsafe delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,uint,global::Windows.Win32.Foundation.WPARAM,global::Windows.Win32.Foundation.LPARAM,nint,global::Windows.Win32.Foundation.HRESULT> pfCallback;
_generated\545\Windows.Win32.TRACKMOUSEEVENT.g.cs (1)
43 internal winmdroot.Foundation.HWND hwndTrack;
_generated\549\Windows.Win32.TTTOOLINFOW.g.cs (1)
44 internal winmdroot.Foundation.HWND hwnd;
_generated\553\Windows.Win32.TVITEMEXW.g.cs (1)
102 internal winmdroot.Foundation.HWND hwnd;
_generated\59\Windows.Win32.EVENTMSG.g.cs (1)
57 internal winmdroot.Foundation.HWND hwnd;
_generated\595\Windows.Win32.UI_Shell_IAutoComplete2_Extensions.g.cs (2)
23 /// <inheritdoc cref="winmdroot.UI.Shell.IAutoComplete2.Interface.Init(winmdroot.Foundation.HWND, winmdroot.System.Com.IUnknown*, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT Init(this winmdroot.UI.Shell.IAutoComplete2.Interface @this, winmdroot.Foundation.HWND hwndEdit, winmdroot.System.Com.IUnknown* punkACL, [Optional] string pwszRegKeyPath, [Optional] string pwszQuickComplete)
_generated\596\Windows.Win32.UI_Shell_IAutoComplete_Extensions.g.cs (2)
23 /// <inheritdoc cref="winmdroot.UI.Shell.IAutoComplete.Interface.Init(winmdroot.Foundation.HWND, winmdroot.System.Com.IUnknown*, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT Init(this winmdroot.UI.Shell.IAutoComplete.Interface @this, winmdroot.Foundation.HWND hwndEdit, winmdroot.System.Com.IUnknown* punkACL, [Optional] string pwszRegKeyPath, [Optional] string pwszQuickComplete)
_generated\605\Windows.Win32.UI_Shell_IShellFolder_Extensions.g.cs (10)
23 /// <inheritdoc cref="winmdroot.UI.Shell.IShellFolder.Interface.ParseDisplayName(winmdroot.Foundation.HWND, winmdroot.System.Com.IBindCtx*, winmdroot.Foundation.PWSTR, uint*, winmdroot.UI.Shell.Common.ITEMIDLIST**, uint*)"/> 25 internal static unsafe winmdroot.Foundation.HRESULT ParseDisplayName(this winmdroot.UI.Shell.IShellFolder.Interface @this, winmdroot.Foundation.HWND hwnd, winmdroot.System.Com.IBindCtx* pbc, winmdroot.Foundation.PWSTR pszDisplayName, out winmdroot.UI.Shell.Common.ITEMIDLIST* ppidl, ref uint pdwAttributes) 82 /// <inheritdoc cref="winmdroot.UI.Shell.IShellFolder.Interface.CreateViewObject(winmdroot.Foundation.HWND, global::System.Guid*, void**)"/> 83 internal static unsafe winmdroot.Foundation.HRESULT CreateViewObject(this winmdroot.UI.Shell.IShellFolder.Interface @this, winmdroot.Foundation.HWND hwndOwner, in global::System.Guid riid, out void* ppv) 105 /// <inheritdoc cref="winmdroot.UI.Shell.IShellFolder.Interface.GetUIObjectOf(winmdroot.Foundation.HWND, uint, winmdroot.UI.Shell.Common.ITEMIDLIST**, global::System.Guid*, uint*, void**)"/> 107 internal static unsafe winmdroot.Foundation.HRESULT GetUIObjectOf(this winmdroot.UI.Shell.IShellFolder.Interface @this, winmdroot.Foundation.HWND hwndOwner, uint cidl, winmdroot.UI.Shell.Common.ITEMIDLIST** apidl, in global::System.Guid riid, out void* ppv) 132 /// <inheritdoc cref="winmdroot.UI.Shell.IShellFolder.Interface.SetNameOf(winmdroot.Foundation.HWND, winmdroot.UI.Shell.Common.ITEMIDLIST*, winmdroot.Foundation.PCWSTR, winmdroot.UI.Shell.SHGDNF, winmdroot.UI.Shell.Common.ITEMIDLIST**)"/> 133 internal static unsafe winmdroot.Foundation.HRESULT SetNameOf(this winmdroot.UI.Shell.IShellFolder.Interface @this, [Optional] winmdroot.Foundation.HWND hwnd, in winmdroot.UI.Shell.Common.ITEMIDLIST pidl, string pszName, winmdroot.UI.Shell.SHGDNF uFlags, out winmdroot.UI.Shell.Common.ITEMIDLIST* ppidlOut) 148 /// <inheritdoc cref="winmdroot.UI.Shell.IShellFolder.Interface.SetNameOf(winmdroot.Foundation.HWND, winmdroot.UI.Shell.Common.ITEMIDLIST*, winmdroot.Foundation.PCWSTR, winmdroot.UI.Shell.SHGDNF, winmdroot.UI.Shell.Common.ITEMIDLIST**)"/> 150 internal static unsafe winmdroot.Foundation.HRESULT SetNameOf(this winmdroot.UI.Shell.IShellFolder.Interface @this, [Optional] winmdroot.Foundation.HWND hwnd, in winmdroot.UI.Shell.Common.ITEMIDLIST pidl, string pszName, winmdroot.UI.Shell.SHGDNF uFlags)
_generated\649\Windows.Win32.WINDOWPOS.g.cs (2)
33 internal winmdroot.Foundation.HWND hwnd; 39 internal winmdroot.Foundation.HWND hwndInsertAfter;
_generated\654\Windows.Win32.WNDCLASSW.g.cs (1)
40 internal unsafe delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,uint,global::Windows.Win32.Foundation.WPARAM,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.LRESULT> lpfnWndProc;
Microsoft\Office\IMsoComponent.cs (6)
45internal delegate* unmanaged[Stdcall]<IMsoComponent*, msocWindow, uint, HWND> HwndGetWindow_14; 99private static HWND HwndGetWindow(IMsoComponent* @this, msocWindow dwWhich, uint dwReserved) 100=> UnwrapAndInvoke<IMsoComponent, Interface, HWND>(@this, o => o.HwndGetWindow(dwWhich, dwReserved)); 219public HWND HwndGetWindow(msocWindow dwWhich, uint dwReserved) 222return ((delegate* unmanaged[Stdcall]<IMsoComponent*, msocWindow, uint, HWND>)_lpVtbl[13])(pThis, dwWhich, dwReserved); 498HWND HwndGetWindow(
Microsoft\VisualStudio\Shell\IProvidePropertyBuilder.cs (4)
74HWND hwndBldrOwner, 79return ((delegate* unmanaged[Stdcall]<IProvidePropertyBuilder*, int, BSTR*, IDispatch*, HWND, VARIANT*, VARIANT_BOOL*, HRESULT>)_lpVtbl[4])( 92/// browser and are invoked through <see cref="ExecuteBuilder(int, BSTR*, IDispatch*, HWND, VARIANT*, VARIANT_BOOL*)"/> 141HWND hwndBldrOwner,
System\Windows\Forms\Automation\UiaTextProvider.cs (2)
75public static WINDOW_EX_STYLE GetWindowExStyle(IHandle<HWND> hWnd) => 78public static WINDOW_STYLE GetWindowStyle(IHandle<HWND> hWnd) =>
System\Windows\Forms\IExtender.cs (3)
76internal delegate* unmanaged[Stdcall]<IExtender*, HWND*, HRESULT> get_Hwnd_22; 201private static HRESULT get_Hwnd(IExtender* @this, HWND* value) 237HWND Hwnd { get; }
System\Windows\Forms\Internals\MessageDecoder.cs (1)
19private static string ToString(HWND hwnd, MessageId messageId, WPARAM wparam, LPARAM lparam, LRESULT result)
System\Windows\Forms\Message.cs (7)
11public struct Message : IEquatable<Message>, IHandle<HWND> 25internal readonly HWND HWND => (HWND)HWnd; 82readonly HWND IHandle<HWND>.Handle => HWND; 94internal static Message Create(HWND hWnd, uint msg, WPARAM wparam, LPARAM lparam) 97internal static Message Create(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)
Windows\Win32\PInvoke.ChildWindowFromPointEx.cs (4)
10/// <inheritdoc cref="ChildWindowFromPointEx(HWND, Point, CWP_FLAGS)"/> 11public static HWND ChildWindowFromPointEx<T>(T hwndParent, Point pt, CWP_FLAGS uFlags) 12where T : IHandle<HWND> 14HWND result = ChildWindowFromPointEx(hwndParent.Handle, pt, uFlags);
Windows\Win32\PInvoke.ClientToScreen.cs (2)
10/// <inheritdoc cref="ClientToScreen(HWND, ref Point)"/> 12where T : IHandle<HWND>
Windows\Win32\PInvoke.CreateWindowEx.cs (3)
11/// <inheritdoc cref="CreateWindowEx(WINDOW_EX_STYLE, string, string, WINDOW_STYLE, int, int, int, int, HWND, HMENU, HINSTANCE, void*)"/> 12public static unsafe HWND CreateWindowEx( 21HWND hWndParent,
Windows\Win32\PInvoke.DrawMenuBar.cs (2)
8/// <inheritdoc cref="DrawMenuBar(HWND)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.EnableScrollBar.cs (2)
8/// <inheritdoc cref="EnableScrollBar(HWND, uint, ENABLE_SCROLL_BAR_ARROWS)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.EnableWindow.cs (2)
8/// <inheritdoc cref="EnableWindow(HWND, BOOL)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.EndDialog.cs (2)
8/// <inheritdoc cref="EndDialog(HWND, nint)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.GetAncestor.cs (4)
8/// <inheritdoc cref="GetAncestor(HWND, GET_ANCESTOR_FLAGS)"/> 9public static HWND GetAncestor<T>(T hwnd, GET_ANCESTOR_FLAGS flags) where T : IHandle<HWND> 11HWND result = GetAncestor(hwnd.Handle, flags);
Windows\Win32\PInvoke.GetDlgItem.cs (4)
8/// <inheritdoc cref="GetDlgItem(HWND, int)"/> 9public static HWND GetDlgItem<T>(T hDlg, int nIDDlgItem) 10where T : IHandle<HWND> 12HWND result = GetDlgItem(hDlg.Handle, nIDDlgItem);
Windows\Win32\PInvoke.GetDpiForWindow.cs (2)
8/// <inheritdoc cref="GetDpiForWindow(HWND)"/> 9public static uint GetDpiForWindow<T>(T hwnd) where T : IHandle<HWND>
Windows\Win32\PInvoke.GetMenu.cs (2)
8/// <inheritdoc cref="GetMenu(HWND)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.GetParent.cs (4)
8/// <inheritdoc cref="GetParent(HWND)"/> 9public static HWND GetParent<T>(T hwnd) where T : IHandle<HWND> 11HWND result = GetParent(hwnd.Handle);
Windows\Win32\PInvoke.GetScrollInfo.cs (2)
8/// <inheritdoc cref="GetScrollInfo(HWND, SCROLLBAR_CONSTANTS, ref SCROLLINFO)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.GetSystemMenu.cs (2)
8/// <inheritdoc cref="GetSystemMenu(HWND, BOOL)"/> 9public static HMENU GetSystemMenu<T>(T hwnd, BOOL bRevert) where T : IHandle<HWND>
Windows\Win32\PInvoke.GetWindow.cs (4)
8/// <inheritdoc cref="GetWindow(HWND, GET_WINDOW_CMD)"/> 9public static HWND GetWindow<T>(T hWnd, GET_WINDOW_CMD uCmd) where T : IHandle<HWND> 11HWND result = GetWindow(hWnd.Handle, uCmd);
Windows\Win32\PInvoke.HtmlHelp.cs (12)
10/// <inheritdoc cref="HtmlHelp(HWND, string, HTML_HELP_COMMAND, nuint)" /> 11internal static unsafe HWND HtmlHelp<T>(T hwndCaller, string? pszFile, HTML_HELP_COMMAND uCommand, nuint dwData) 12where T : IHandle<HWND> 14HWND result = HtmlHelp(hwndCaller.Handle, pszFile, uCommand, dwData); 19/// <inheritdoc cref="HtmlHelp(HWND, string, HTML_HELP_COMMAND, nuint)" /> 20internal static unsafe HWND HtmlHelp<T>(T hwndCaller, string? pszFile, HTML_HELP_COMMAND uCommand, string? dwData) 21where T : IHandle<HWND> 25HWND result = HtmlHelp(hwndCaller.Handle, pszFile, uCommand, (nuint)d); 31/// <inheritdoc cref="HtmlHelp(HWND, string, HTML_HELP_COMMAND, nuint)" /> 32internal static unsafe HWND HtmlHelp<TCaller, TData>( 37where TCaller : IHandle<HWND> 42HWND result = HtmlHelp(hwndCaller.Handle, pszFile, uCommand, (nuint)v);
Windows\Win32\PInvoke.ImmGetContext.cs (2)
10/// <inheritdoc cref="ImmGetContext(HWND)"/> 11public static HIMC ImmGetContext<T>(T hWnd) where T : IHandle<HWND>
Windows\Win32\PInvoke.ImmReleaseContext.cs (2)
10/// <inheritdoc cref="ImmReleaseContext(HWND, HIMC)"/> 11public static BOOL ImmReleaseContext<T>(T hWnd, HIMC hIMC) where T : IHandle<HWND>
Windows\Win32\PInvoke.InvalidateRect.cs (2)
8/// <inheritdoc cref="InvalidateRect(HWND, RECT*, BOOL)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.InvalidateRgn.cs (2)
8/// <inheritdoc cref="InvalidateRgn(HWND, HRGN, BOOL)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.IsChild.cs (4)
8/// <inheritdoc cref="IsChild(HWND, HWND)"/> 10where TParent : IHandle<HWND> 11where TChild : IHandle<HWND>
Windows\Win32\PInvoke.IsWindow.cs (2)
8/// <inheritdoc cref="IsWindow(HWND)"/> 9public static BOOL IsWindow<T>(T hWnd) where T : IHandle<HWND>
Windows\Win32\PInvoke.IsWindowEnabled.cs (2)
8/// <inheritdoc cref="IsWindowEnabled(HWND)"/> 9public static BOOL IsWindowEnabled<T>(T hWnd) where T : IHandle<HWND>
Windows\Win32\PInvoke.IsWindowVisible.cs (2)
8/// <inheritdoc cref="IsWindowVisible(HWND)"/> 9public static BOOL IsWindowVisible<T>(T hWnd) where T : IHandle<HWND>
Windows\Win32\PInvoke.KillTimer.cs (2)
8/// <inheritdoc cref="KillTimer(HWND, nuint)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.NotifyWinEvent.cs (2)
8/// <inheritdoc cref="NotifyWinEvent(uint, HWND, int, int)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.OpenThemeDataScope.cs (2)
26/// Opens the requested theme data using <see cref="OpenThemeData(HWND, string)"/>. 28public OpenThemeDataScope(HWND hwnd, string pszClassList)
Windows\Win32\PInvoke.RedrawWindow.cs (2)
8/// <inheritdoc cref="RedrawWindow(HWND, RECT*, HRGN, REDRAW_WINDOW_FLAGS)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.ScreenToClient.cs (2)
10/// <inheritdoc cref="ScreenToClient(HWND, ref Point)"/> 12where T : IHandle<HWND>
Windows\Win32\PInvoke.ScrollWindow.cs (2)
8/// <inheritdoc cref="ScrollWindow(HWND, int, int, RECT*, RECT*)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.ScrollWindowEx.cs (2)
8/// <inheritdoc cref="ScrollWindowEx(HWND, int, int, RECT*, RECT*, HRGN, RECT*, SCROLL_WINDOW_FLAGS)"/> 17SCROLL_WINDOW_FLAGS flags) where T : IHandle<HWND>
Windows\Win32\PInvoke.SendMessageCallback.cs (2)
17where T : IHandle<HWND> 26private static void NativeCallback(HWND hwnd, uint Msg, nuint dwData, LRESULT lResult)
Windows\Win32\PInvoke.SetActiveWindow.cs (4)
8/// <inheritdoc cref="SetActiveWindow(HWND)"/> 9public static HWND SetActiveWindow<T>(T hWnd) where T : IHandle<HWND> 11HWND result = SetActiveWindow(hWnd.Handle);
Windows\Win32\PInvoke.SetCapture.cs (2)
8/// <inheritdoc cref="SetCapture(HWND)"/> 9public static IntPtr SetCapture<T>(T hWnd) where T : IHandle<HWND>
Windows\Win32\PInvoke.SetFocus.cs (4)
8/// <inheritdoc cref="SetFocus(HWND)"/> 9public static HWND SetFocus<T>(T hWnd) where T : IHandle<HWND> 11HWND result = SetFocus(hWnd.Handle);
Windows\Win32\PInvoke.SetForegroundWindow.cs (2)
8/// <inheritdoc cref="SetForegroundWindow(HWND)"/> 9public static BOOL SetForegroundWindow<T>(T hWnd) where T : IHandle<HWND>
Windows\Win32\PInvoke.SetLayeredWindowAttributes.cs (2)
8/// <inheritdoc cref="SetLayeredWindowAttributes(HWND, COLORREF, byte, LAYERED_WINDOW_ATTRIBUTES_FLAGS)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.SetMenu.cs (4)
8/// <inheritdoc cref="SetMenu(HWND, HMENU)"/> 10where T : IHandle<HWND> 17/// <inheritdoc cref="SetMenu(HWND, HMENU)"/> 19where T1 : IHandle<HWND>
Windows\Win32\PInvoke.SetParent.cs (6)
8/// <inheritdoc cref="SetParent(HWND, HWND)"/> 9public static HWND SetParent<TChild, TParent>(TChild hWndChild, TParent hWndNewParent) 10where TChild : IHandle<HWND> 11where TParent : IHandle<HWND> 13HWND result = SetParent(hWndChild.Handle, hWndNewParent.Handle);
Windows\Win32\PInvoke.SetScrollInfo.cs (2)
8/// <inheritdoc cref="SetScrollInfo(HWND, SCROLLBAR_CONSTANTS, in SCROLLINFO, BOOL)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.SetScrollPos.cs (2)
8/// <inheritdoc cref="SetScrollPos(HWND, SCROLLBAR_CONSTANTS, int, BOOL)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.SetTimer.cs (1)
9where T : IHandle<HWND>
Windows\Win32\PInvoke.SetWindowPos.cs (4)
8/// <inheritdoc cref="SetWindowPos(HWND, HWND, int, int, int, int, SET_WINDOW_POS_FLAGS)"/> 10where T1 : IHandle<HWND> 11where T2 : IHandle<HWND>
Windows\Win32\PInvoke.SetWindowRgn.cs (2)
8/// <inheritdoc cref="SetWindowRgn(HWND, HRGN, BOOL)"/> 10where T : IHandle<HWND>
Windows\Win32\PInvoke.SetWindowText.cs (2)
8/// <inheritdoc cref="SetWindowText(HWND, string)"/> 9public static BOOL SetWindowText<T>(T hWnd, string text) where T : IHandle<HWND>
Windows\Win32\PInvoke.SHAutoComplete.cs (2)
8/// <inheritdoc cref="SHAutoComplete(HWND, SHELL_AUTOCOMPLETE_FLAGS)"/> 9public static HRESULT SHAutoComplete<T>(T hwndEdit, SHELL_AUTOCOMPLETE_FLAGS flags) where T : IHandle<HWND>
Windows\Win32\PInvoke.ShowWindow.cs (2)
8/// <inheritdoc cref="ShowWindow(HWND, SHOW_WINDOW_CMD)"/> 9public static BOOL ShowWindow<T>(T hWnd, SHOW_WINDOW_CMD nCmdShow) where T : IHandle<HWND>
Windows\Win32\PInvoke.UiaHostProviderFromHwnd.cs (2)
10/// <inheritdoc cref="UiaHostProviderFromHwnd(HWND, IRawElementProviderSimple**)"/> 11public static unsafe HRESULT UiaHostProviderFromHwnd<T>(T hwnd, out IRawElementProviderSimple* ppProvider) where T : IHandle<HWND>
Windows\Win32\PInvoke.UiaReturnRawElementProvider.cs (2)
10/// <inheritdoc cref="UiaReturnRawElementProvider(HWND, WPARAM, LPARAM, IRawElementProviderSimple*)"/> 16where T : IHandle<HWND>
Windows\Win32\PInvoke.UpdateWindow.cs (2)
8/// <inheritdoc cref="UpdateWindow(HWND)"/> 9public static BOOL UpdateWindow<T>(T hWnd) where T : IHandle<HWND>
Windows\Win32\PInvoke.ValidateRect.cs (2)
8/// <inheritdoc cref="ValidateRect(HWND, RECT*)"/> 10where T : IHandle<HWND>
Windows\Win32\UI\Controls\Dialogs\CHOOSECOLORW.cs (3)
45public HWND hwndOwner; 61public HWND hInstance; 146public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnHook;
Windows\Win32\UI\Controls\Dialogs\CHOOSEFONTW.cs (2)
39public HWND hwndOwner; 142public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnHook;
Windows\Win32\UI\Controls\Dialogs\OPENFILENAME.cs (1)
10public HWND hwndOwner;
Windows\Win32\UI\Controls\Dialogs\PAGESETUPDLGW.cs (3)
52public HWND hwndOwner; 187public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnPageSetupHook; 203public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnPagePaintHook;
Windows\Win32\UI\Controls\Dialogs\PRINTDLGW_32.cs (3)
18public HWND hwndOwner; 42public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnPrintHook; 44public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnSetupHook;
Windows\Win32\UI\Controls\Dialogs\PRINTDLGW_64.cs (3)
47public HWND hwndOwner; 255public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnPrintHook; 270public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnSetupHook;
Windows\Win32\UI\Controls\ToolInfoWrapper.cs (2)
7where T : IHandle<HWND> 36public LRESULT SendMessage(IHandle<HWND> sender, MessageId message, bool state = false)
Windows\Win32\UI\Shell\FolderBrowserHelper.cs (2)
20HWND owner, 21delegate* unmanaged[Stdcall]<HWND, uint, LPARAM, LPARAM, int> callback,