68 instantiations of RECT
System.Private.Windows.Core (2)
Windows.Win32.RECT.g.cs (2)
60
new
RECT
(x, y, unchecked(x + width), unchecked(y + height));
78
public static implicit operator RECT(global::System.Drawing.Rectangle value) => new
RECT
(value);
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (1)
10247
RECT rect =
new
(size);
System\Windows\Forms\Control.MetafileDCWrapper.cs (1)
39
_destRect =
new
(size);
System\Windows\Forms\Controls\ListView\ListView.cs (3)
3592
RECT itemrect =
new
()
3621
RECT itemrect =
new
()
3668
RECT itemrect =
new
()
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (1)
411
RECT posRect =
new
(0, 0, lprcPosRect->right - lprcPosRect->left, lprcPosRect->bottom - lprcPosRect->top);
System\Windows\Forms\Form.cs (1)
3277
RECT result =
new
(clientSize);
System\Windows\Forms\Help\Help.cs (1)
83
rcMargins = new
RECT
(-1, -1, -1, -1), // Ignore
System\Windows\Forms\Rendering\ControlPaint.cs (2)
1398
RECT rcCheck =
new
(rectangle.Size);
1468
RECT rcFrame =
new
(0, 0, width, height);
System\Windows\Forms\Rendering\TextExtensions.cs (1)
244
RECT rect =
new
(proposedSize);
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1325
RECT visibleRect = new
RECT
System.Windows.Forms.Primitives.TestUtilities (1)
Win32\WindowClass.cs (1)
13
=>
new
(PInvoke.CW_USEDEFAULT, PInvoke.CW_USEDEFAULT, PInvoke.CW_USEDEFAULT, PInvoke.CW_USEDEFAULT);
System.Windows.Forms.Tests (52)
System\Windows\Forms\ListBoxTests.cs (2)
5387
yield return new object[] { new
RECT
(1, 2, 3, 4), new Rectangle(1, 2, 2, 2) };
5442
*pRect = new
RECT
(1, 2, 3, 4);
System\Windows\Forms\ListViewInsertionMarkTests.cs (2)
218
yield return new object[] { new
RECT
(1, 2, 3, 4), new Rectangle(1, 2, 2, 2) };
272
*pRect = new
RECT
(1, 2, 3, 4);
System\Windows\Forms\ListViewTests.cs (2)
4146
yield return new object[] { new
RECT
(1, 2, 3, 4), new Rectangle(1, 2, 2, 2) };
4203
*pRect = new
RECT
(1, 2, 3, 4);
System\Windows\Forms\MonthCalendarTests.cs (6)
2446
yield return new object[] { new
RECT
(0, 0, 0, 0), Size.Empty };
2447
yield return new object[] { new
RECT
(1, 2, 3, 4), new Size(3, 4) };
2448
yield return new object[] { new
RECT
(1, 2, 1, 6), new Size(1, 6) };
2449
yield return new object[] { new
RECT
(1, 2, 6, 1), new Size(6, 1) };
2450
yield return new object[] { new
RECT
(1, 2, 6, 6), new Size(6, 6) };
2451
yield return new object[] { new
RECT
(1, 2, 30, 40), new Size(30, 40) };
System\Windows\Forms\TabControlTests.cs (2)
3715
yield return new object[] { new
RECT
(1, 2, 3, 4), new Rectangle(1, 2, 2, 2) };
3772
*pRect = new
RECT
(1, 2, 3, 4);
System\Windows\Forms\ToolStripTests.Rendering.cs (7)
38
new
(0, 0, 1, 1),
39
new
(bounds.Width - 3, 0, bounds.Width, 1),
40
new
(bounds.Width - 1, 1, bounds.Width, 3),
41
new
(0, bounds.Height - 2, 1, bounds.Height - 1),
42
new
(bounds.Width - 1, bounds.Height - 2, bounds.Width, bounds.Height - 1),
43
new
(0, bounds.Height - 1, 2, bounds.Height),
44
new
(bounds.Width - 2, bounds.Height - 1, bounds.Width, bounds.Height)
System\Windows\Forms\TreeNodeTests.cs (31)
494
yield return new object[] { new
RECT
(1, 2, 3, 4), new Rectangle(1, 2, 2, 2) };
496
yield return new object[] { new
RECT
(0, 1, 3, 4), new Rectangle(0, 1, 3, 3) };
497
yield return new object[] { new
RECT
(1, 0, 3, 4), new Rectangle(1, 0, 2, 4) };
498
yield return new object[] { new
RECT
(1, 2, 0, 4), new Rectangle(1, 2, -1, 2) };
499
yield return new object[] { new
RECT
(1, 2, 3, 0), new Rectangle(1, 2, 2, -2) };
500
yield return new object[] { new
RECT
(0, 0, 3, 4), new Rectangle(0, 0, 3, 4) };
502
yield return new object[] { new
RECT
(-1, 0, 3, 4), new Rectangle(-1, 0, 4, 4) };
503
yield return new object[] { new
RECT
(1, -2, 3, 4), new Rectangle(1, -2, 2, 6) };
504
yield return new object[] { new
RECT
(1, 2, -3, 4), new Rectangle(1, 2, -4, 2) };
505
yield return new object[] { new
RECT
(1, 2, 3, -4), new Rectangle(1, 2, 2, -6) };
506
yield return new object[] { new
RECT
(-3, -4, -1, -2), new Rectangle(-3, -4, 2, 2) };
508
yield return new object[] { new
RECT
(1, 118, 3, 4), new Rectangle(1, 118, 2, -114) };
509
yield return new object[] { new
RECT
(1, 117, 3, 4), new Rectangle(1, 117, 2, -113) };
510
yield return new object[] { new
RECT
(94, 2, 3, 4), new Rectangle(94, 2, -91, 2) };
511
yield return new object[] { new
RECT
(93, 2, 3, 4), new Rectangle(93, 2, -90, 2) };
1938
yield return new object[] { new
RECT
(1, 2, 3, 4), true };
1940
yield return new object[] { new
RECT
(0, 1, 3, 4), true };
1941
yield return new object[] { new
RECT
(1, 0, 3, 4), true };
1942
yield return new object[] { new
RECT
(1, 2, 0, 4), false };
1943
yield return new object[] { new
RECT
(1, 2, 3, 0), false };
1944
yield return new object[] { new
RECT
(0, 0, 3, 4), true };
1946
yield return new object[] { new
RECT
(-1, 0, 3, 4), true };
1947
yield return new object[] { new
RECT
(1, -2, 3, 4), true };
1948
yield return new object[] { new
RECT
(1, 2, -3, 4), false };
1949
yield return new object[] { new
RECT
(1, 2, 3, -4), false };
1950
yield return new object[] { new
RECT
(-3, -4, -1, -2), false };
1952
yield return new object[] { new
RECT
(1, 118, 3, 4), false };
1953
yield return new object[] { new
RECT
(1, 117, 3, 4), false };
1954
yield return new object[] { new
RECT
(94, 2, 3, 4), true };
1955
yield return new object[] { new
RECT
(93, 2, 3, 4), true };
4941
*pRect = new
RECT
(1, 2, 3, 4);
System.Windows.Forms.UI.IntegrationTests (1)
Dpi\DpiMessageHelper.cs (1)
23
RECT suggestedRect =
new
(0,
750 references to RECT
System.Drawing.Common (1)
System\Drawing\Bitmap.cs (1)
373
RECT
rect = area;
System.Drawing.Common.Tests (1)
Helpers.cs (1)
137
PInvokeCore.GetClientRect(hwnd, out
RECT
rect);
System.Private.Windows.Core (60)
Windows.Win32.IPicture.g.cs (8)
277
/// <inheritdoc cref="Render(winmdroot.Graphics.Gdi.HDC, int, int, int, int, int, int, int, int, winmdroot.Foundation.
RECT
*)"/>
278
internal unsafe winmdroot.Foundation.HRESULT Render(winmdroot.Graphics.Gdi.HDC hDC, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc, in winmdroot.Foundation.
RECT
pRcWBounds)
280
fixed (winmdroot.Foundation.
RECT
* pRcWBoundsLocal = &pRcWBounds)
290
private static winmdroot.Foundation.HRESULT Render(IPicture* pThis, winmdroot.Graphics.Gdi.HDC hDC, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc, winmdroot.Foundation.
RECT
* pRcWBounds)
325
public unsafe winmdroot.Foundation.HRESULT Render(winmdroot.Graphics.Gdi.HDC hDC, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc, winmdroot.Foundation.
RECT
* pRcWBounds)
327
return ((delegate *unmanaged [Stdcall]<IPicture*,winmdroot.Graphics.Gdi.HDC ,int ,int ,int ,int ,int ,int ,int ,int ,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IPicture*)Unsafe.AsPointer(ref this), hDC, x, y, cx, cy, xSrc, ySrc, cxSrc, cySrc, pRcWBounds);
685
internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.Graphics.Gdi.HDC ,int ,int ,int ,int ,int ,int ,int ,int ,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT> Render_9;
756
unsafe winmdroot.Foundation.HRESULT Render(winmdroot.Graphics.Gdi.HDC hDC, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc, winmdroot.Foundation.
RECT
* pRcWBounds);
Windows.Win32.MONITORINFO.g.cs (2)
36
internal winmdroot.Foundation.
RECT
rcMonitor;
39
internal winmdroot.Foundation.
RECT
rcWork;
Windows.Win32.PAINTSTRUCT.g.cs (1)
36
internal winmdroot.Foundation.
RECT
rcPaint;
Windows.Win32.PInvokeCore.GDI32.dll.g.cs (9)
247
/// <inheritdoc cref="CreateEnhMetaFile(winmdroot.Graphics.Gdi.HDC, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.
RECT
*, winmdroot.Foundation.PCWSTR)"/>
249
internal static unsafe winmdroot.Graphics.Gdi.HDC CreateEnhMetaFile(winmdroot.Graphics.Gdi.HDC hdc, string lpFilename, winmdroot.Foundation.
RECT
? lprc, string lpDesc)
255
winmdroot.Foundation.
RECT
lprcLocal = lprc ?? default(winmdroot.Foundation.
RECT
);
276
internal static extern unsafe winmdroot.Graphics.Gdi.HDC CreateEnhMetaFile(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Foundation.PCWSTR lpFilename, [Optional] winmdroot.Foundation.
RECT
* lprc, winmdroot.Foundation.PCWSTR lpDesc);
396
internal static unsafe winmdroot.Foundation.BOOL EnumEnhMetaFile(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Graphics.Gdi.HENHMETAFILE hmf, delegate *unmanaged[Stdcall]<global::Windows.Win32.Graphics.Gdi.HDC,global::Windows.Win32.Graphics.Gdi.HANDLETABLE*,global::Windows.Win32.Graphics.Gdi.ENHMETARECORD*,int,global::Windows.Win32.Foundation.LPARAM,int> proc, void* param3, winmdroot.Foundation.
RECT
? lpRect)
398
winmdroot.Foundation.
RECT
lpRectLocal = lpRect ?? default(winmdroot.Foundation.
RECT
);
417
internal static extern unsafe winmdroot.Foundation.BOOL EnumEnhMetaFile(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Graphics.Gdi.HENHMETAFILE hmf, delegate *unmanaged[Stdcall]<global::Windows.Win32.Graphics.Gdi.HDC,global::Windows.Win32.Graphics.Gdi.HANDLETABLE*,global::Windows.Win32.Graphics.Gdi.ENHMETARECORD*,int,global::Windows.Win32.Foundation.LPARAM,int> proc, [Optional] void* param3, [Optional] winmdroot.Foundation.
RECT
* lpRect);
Windows.Win32.PInvokeCore.USER32.dll.g.cs (21)
274
/// <inheritdoc cref="EnumDisplayMonitors(winmdroot.Graphics.Gdi.HDC, winmdroot.Foundation.
RECT
*, delegate *unmanaged[Stdcall]{global::Windows.Win32.Graphics.Gdi.HMONITOR,global::Windows.Win32.Graphics.Gdi.HDC,global::Windows.Win32.Foundation.RECT*,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL}, winmdroot.Foundation.LPARAM)"/>
276
internal static unsafe winmdroot.Foundation.BOOL EnumDisplayMonitors(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Foundation.
RECT
? lprcClip, delegate *unmanaged[Stdcall]<global::Windows.Win32.Graphics.Gdi.HMONITOR,global::Windows.Win32.Graphics.Gdi.HDC,global::Windows.Win32.Foundation.
RECT
*,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpfnEnum, winmdroot.Foundation.LPARAM dwData)
278
winmdroot.Foundation.
RECT
lprcClipLocal = lprcClip ?? default(winmdroot.Foundation.
RECT
);
304
internal static extern unsafe winmdroot.Foundation.BOOL EnumDisplayMonitors(winmdroot.Graphics.Gdi.HDC hdc, [Optional] winmdroot.Foundation.
RECT
* lprcClip, delegate *unmanaged[Stdcall]<global::Windows.Win32.Graphics.Gdi.HMONITOR,global::Windows.Win32.Graphics.Gdi.HDC,global::Windows.Win32.Foundation.
RECT
*,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpfnEnum, winmdroot.Foundation.LPARAM dwData);
357
/// <inheritdoc cref="GetClientRect(winmdroot.Foundation.HWND, winmdroot.Foundation.
RECT
*)"/>
359
internal static unsafe winmdroot.Foundation.BOOL GetClientRect(winmdroot.Foundation.HWND hWnd, out winmdroot.Foundation.
RECT
lpRect)
361
fixed (winmdroot.Foundation.
RECT
* lpRectLocal = &lpRect)
382
internal static unsafe winmdroot.Foundation.BOOL GetClientRect(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.
RECT
* lpRect)
390
static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.
RECT
* lpRect);
603
/// <inheritdoc cref="GetWindowRect(winmdroot.Foundation.HWND, winmdroot.Foundation.
RECT
*)"/>
605
internal static unsafe winmdroot.Foundation.BOOL GetWindowRect(winmdroot.Foundation.HWND hWnd, out winmdroot.Foundation.
RECT
lpRect)
607
fixed (winmdroot.Foundation.
RECT
* lpRectLocal = &lpRect)
631
internal static unsafe winmdroot.Foundation.BOOL GetWindowRect(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.
RECT
* lpRect)
639
static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.
RECT
* lpRect);
825
/// <inheritdoc cref="MonitorFromRect(winmdroot.Foundation.
RECT
*, winmdroot.Graphics.Gdi.MONITOR_FROM_FLAGS)"/>
827
internal static unsafe winmdroot.Graphics.Gdi.HMONITOR MonitorFromRect(in winmdroot.Foundation.
RECT
lprc, winmdroot.Graphics.Gdi.MONITOR_FROM_FLAGS dwFlags)
829
fixed (winmdroot.Foundation.
RECT
* lprcLocal = &lprc)
847
internal static extern unsafe winmdroot.Graphics.Gdi.HMONITOR MonitorFromRect(winmdroot.Foundation.
RECT
* lprc, winmdroot.Graphics.Gdi.MONITOR_FROM_FLAGS dwFlags);
Windows.Win32.RECT.g.cs (4)
59
internal static
RECT
FromXYWH(int x, int y, int width, int height) =>
74
public static implicit operator global::System.Drawing.Rectangle(
RECT
value) => new global::System.Drawing.Rectangle(value.left, value.top, value.Width, value.Height);
76
public static implicit operator global::System.Drawing.RectangleF(
RECT
value) => new global::System.Drawing.RectangleF(value.left, value.top, value.Width, value.Height);
78
public static implicit operator
RECT
(global::System.Drawing.Rectangle value) => new RECT(value);
Windows.Win32.RGNDATAHEADER.g.cs (1)
42
internal winmdroot.Foundation.
RECT
rcBound;
Windows.Win32.System_Ole_IPicture_Extensions.g.cs (3)
73
/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.Render(winmdroot.Graphics.Gdi.HDC, int, int, int, int, int, int, int, int, winmdroot.Foundation.
RECT
*)"/>
74
internal static unsafe winmdroot.Foundation.HRESULT Render(this winmdroot.System.Ole.IPicture.Interface @this, winmdroot.Graphics.Gdi.HDC hDC, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc, in winmdroot.Foundation.
RECT
pRcWBounds)
76
fixed (winmdroot.Foundation.
RECT
* pRcWBoundsLocal = &pRcWBounds)
Windows\Win32\Graphics\Gdi\HRGN.cs (2)
8
public unsafe
RECT
[] GetRegionRects()
25
RECT
[] result = RGNDATAHEADER.GetRegionRects((RGNDATAHEADER*)b);
Windows\Win32\Graphics\Gdi\RGNDATAHEADER.cs (2)
8
public static unsafe
RECT
[] GetRegionRects(RGNDATAHEADER* regionData)
16
return new Span<
RECT
>((byte*)regionData + regionData->dwSize, (int)regionData->nCount).ToArray();
Windows\Win32\PInvokeCore.EnumDisplayMonitors.cs (2)
18
return EnumDisplayMonitors(default, (
RECT
*)null, &EnumDisplayMonitorsNativeCallback, (LPARAM)(nint)gcHandle);
27
private static BOOL EnumDisplayMonitorsNativeCallback(HMONITOR monitor, HDC hdc,
RECT
* lprcMonitor, LPARAM lParam)
Windows\Win32\PInvokeCore.GetClientRect.cs (2)
8
/// <inheritdoc cref="GetClientRect(HWND, out
RECT
)"/>
9
public static BOOL GetClientRect<T>(T hWnd, out
RECT
lpRect)
Windows\Win32\PInvokeCore.GetWindowRect.cs (2)
8
/// <inheritdoc cref="GetWindowRect(HWND, out
RECT
)"/>
9
public static BOOL GetWindowRect<T>(T hWnd, out
RECT
lpRect) where T : IHandle<HWND>
Windows\Win32\PInvokeCore.MapWindowPoints.cs (1)
11
public static unsafe int MapWindowPoints<TFrom, TTo>(TFrom hWndFrom, TTo hWndTo, ref
RECT
lpRect)
System.Private.Windows.GdiPlus (4)
Windows.Win32.PInvokeGdiPlus.gdiplus.dll.g.cs (4)
408
/// <inheritdoc cref="GdipBitmapApplyEffect(winmdroot.Graphics.GdiPlus.GpBitmap*, winmdroot.Graphics.GdiPlus.CGpEffect*, winmdroot.Foundation.
RECT
*, winmdroot.Foundation.BOOL, void**, int*)"/>
409
internal static unsafe winmdroot.Graphics.GdiPlus.Status GdipBitmapApplyEffect(ref winmdroot.Graphics.GdiPlus.GpBitmap bitmap, ref winmdroot.Graphics.GdiPlus.CGpEffect effect, ref winmdroot.Foundation.
RECT
roi, winmdroot.Foundation.BOOL useAuxData, ref void* auxData, ref int auxDataSize)
415
fixed (winmdroot.Foundation.
RECT
* roiLocal = &roi)
431
internal static extern unsafe winmdroot.Graphics.GdiPlus.Status GdipBitmapApplyEffect(winmdroot.Graphics.GdiPlus.GpBitmap* bitmap, winmdroot.Graphics.GdiPlus.CGpEffect* effect, winmdroot.Foundation.
RECT
* roi, winmdroot.Foundation.BOOL useAuxData, void** auxData, int* auxDataSize);
System.Windows.Forms (174)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (4)
286
RECT
clientRectangle = _owningChildEditAccessibilityObject.BoundingRectangle;
307
RECT
r = rect;
351
private
RECT
GetFormattingRectangle()
354
RECT
rectangle = default;
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (6)
621
HRESULT IOleInPlaceFrame.Interface.GetBorder(
RECT
* lprectBorder) => HRESULT.E_NOTIMPL;
623
HRESULT IOleInPlaceFrame.Interface.RequestBorderSpace(
RECT
* pborderwidths) => HRESULT.E_NOTIMPL;
625
HRESULT IOleInPlaceFrame.Interface.SetBorderSpace(
RECT
* pborderwidths) => HRESULT.E_NOTIMPL;
717
HRESULT IOleInPlaceUIWindow.Interface.GetBorder(
RECT
* lprectBorder)
720
HRESULT IOleInPlaceUIWindow.Interface.RequestBorderSpace(
RECT
* pborderwidths)
723
HRESULT IOleInPlaceUIWindow.Interface.SetBorderSpace(
RECT
* pborderwidths)
System\Windows\Forms\ActiveX\AxHost.cs (3)
1164
RECT
posRect = bounds;
1165
RECT
clipRect = WebBrowserHelper.GetClipRect();
2150
RECT
posRect = Bounds;
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (4)
371
RECT
* lprcPosRect,
372
RECT
* lprcClipRect,
442
HRESULT IOleInPlaceSite.Interface.OnPosRectChange(
RECT
* lprcPosRect)
460
RECT
clipRect = WebBrowserHelper.GetClipRect();
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (15)
137
private
RECT
* _adjustRect; // temporary rect used during OnPosRectChange && SetObjectRects
331
/// <inheritdoc cref="IOleObject.DoVerb(int, MSG*, IOleClientSite*, int, HWND,
RECT
*)"/>
338
RECT
* lprcPosRect)
414
RECT
* prcBounds,
415
RECT
* lprcWBounds,
454
RECT
rc = *prcBounds;
831
RECT
posRect = default;
832
RECT
clipRect = default;
1708
RECT
posRect = bounds;
1751
/// <inheritdoc cref="IOleInPlaceObject.SetObjectRects(
RECT
*,
RECT
*)"/>
1752
internal unsafe HRESULT SetObjectRects(
RECT
* lprcPosRect,
RECT
* lprcClipRect)
1809
RECT
rcIntersect = intersect;
1995
RECT
rect = default;
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (10)
109
/// <inheritdoc cref="IOleInPlaceActiveObject.ResizeBorder(
RECT
*, IOleInPlaceUIWindow*, BOOL)"/>
110
HRESULT IOleInPlaceActiveObject.Interface.ResizeBorder(
RECT
* prcBorder, IOleInPlaceUIWindow* pUIWindow, BOOL fFrameWindow) =>
136
/// <inheritdoc cref="IOleInPlaceObject.SetObjectRects(
RECT
*,
RECT
*)"/>
137
HRESULT IOleInPlaceObject.Interface.SetObjectRects(
RECT
* lprcPosRect,
RECT
* lprcClipRect) =>
205
/// <inheritdoc cref="IOleObject.DoVerb(int, MSG*, IOleClientSite*, int, HWND,
RECT
*)"/>
212
RECT
* lprcPosRect)
533
(
RECT
*)lprcBounds,
534
(
RECT
*)lprcWBounds,
System\Windows\Forms\Application.cs (1)
742
lprcUpdate: (
RECT
*)null,
System\Windows\Forms\Control.cs (18)
379
RECT
rect = default;
1589
PInvokeCore.GetWindowRect(this, out
RECT
r);
2336
PInvokeCore.GetWindowRect(this, out
var
temp);
5403
RECT
adornmentsBeforeDpiChange = default;
5404
RECT
adornmentsAfterDpiChange = default;
6002
RECT
rcArea = rc;
6464
private protected void AdjustWindowRectExForControlDpi(ref
RECT
rect, WINDOW_STYLE style, bool bMenu, WINDOW_EX_STYLE exStyle)
6469
private static void AdjustWindowRectExForDpi(ref
RECT
rect, WINDOW_STYLE style, bool bMenu, WINDOW_EX_STYLE exStyle, int dpi)
7992
PInvokeCore.GetClientRect(new HandleRef<HWND>(_window, InternalHandle), out
RECT
rect);
8833
bool success = PInvokeCore.GetWindowRect(this, out
var
windowRect);
9394
RECT
rect = r;
9404
RECT
rect = r;
9803
RECT
adornments = default;
10247
RECT
rect = new(size);
10857
RECT
rect = default;
10889
RECT
rect = default;
11286
PInvokeCore.GetClientRect(this, out
RECT
rc);
12895
PInvokeCore.GetWindowRect(this, out
var
rect);
System\Windows\Forms\Control.MetafileDCWrapper.cs (2)
26
private
RECT
_destRect;
86
private unsafe bool DICopy(HDC hdcDest, HDC hdcSrc,
RECT
rect, bool bStretch)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (2)
113
RECT
rect = bounds;
307
RECT
rcCheck = new Rectangle(0, 0, fullSize.Width, fullSize.Height);
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildListUiaProvider.cs (1)
36
PInvokeCore.GetWindowRect(_owningComboBox.GetListNativeWindow(), out
var
rect);
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxItemAccessibleObject.cs (2)
39
RECT
itemRect = default;
53
RECT
translated = itemRect;
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (3)
359
RECT
clientRectangle = _owningComboBox.ChildEditAccessibleObject.BoundingRectangle;
426
private
RECT
GetFormattingRectangle()
429
RECT
rectangle = default;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (7)
1388
PInvokeCore.GetWindowRect(this, out
var
comboRectMid);
1391
PInvokeCore.GetWindowRect(_childEdit, out
var
editRectMid);
1666
PInvokeCore.GetWindowRect(this, out
var
rect);
1814
PInvokeCore.GetWindowRect(this, out
var
rect);
3450
PInvokeCore.GetClientRect(this, out
RECT
rect);
3738
PInvokeCore.GetWindowRect(this, out
var
rect);
3782
RECT
updateRegionBoundingRect = default;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
360
private
RECT
[]? _cachedScrollableRegion;
2767
RECT
[]? rects = CreateScrollableRegion(rectTmp);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
5422
private
RECT
[]? CreateScrollableRegion(Rectangle scroll)
26237
private unsafe void ScrollRectangles(
RECT
[]? rects, int change)
26246
RECT
scroll;
26364
RECT
scrollArea = rowsRect;
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
1355
RECT
rcCheck = new Rectangle(0, 0, fullSize.Width, fullSize.Height);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1444
PInvoke.InvalidateRect(c.hwndFound, lpRect: (
RECT
*)null, bErase: true);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
662
PInvokeCore.GetClientRect(this, out
RECT
rect);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
301
PInvokeCore.GetWindowRect(this, out
var
r);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
391
RECT
rect = default;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
1443
RECT
rect = default;
1512
PInvokeCore.GetClientRect(this, out
RECT
r);
System\Windows\Forms\Controls\ListView\ListView.cs (4)
3592
RECT
itemrect = new()
3621
RECT
itemrect = new()
3668
RECT
itemrect = new()
4944
PInvokeCore.GetClientRect(this, out
RECT
clientRect);
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (1)
28
PInvokeCore.GetWindowRect(owningListView, out
var
rect);
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
54
RECT
groupRect = default;
System\Windows\Forms\Controls\ListView\ListViewInsertionMark.cs (1)
56
RECT
bounds = default;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarButtonAccessibleObject.cs (1)
62
RECT
rectangle = Bounds;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
797
RECT
rect = default;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (1)
257
internal unsafe
RECT
GetCalendarPartRectangle(MCGRIDINFO_PART dwPart, int calendarIndex = 0, int rowIndex = 0, int columnIndex = 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3819
RECT
rect = itemRect;
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
367
RECT
rect = Bounds;
1116
RECT
rect = default;
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (3)
124
RECT
clientRectangle = Owner.ClientRectangle;
430
private
RECT
GetFormattingRectangle()
440
RECT
rectangle = default;
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
577
PInvokeCore.GetClientRect(rootHwnd, out
RECT
rootHwndClientArea);
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (4)
26
private
RECT
AbsoluteClientRECT
30
RECT
rect = default;
40
PInvokeCore.GetClientRect(this, out
var
clientRect);
114
var
absoluteClientRectangle = AbsoluteClientRECT;
System\Windows\Forms\Controls\TreeView\TreeNode.cs (3)
237
RECT
rc = default;
260
RECT
rc = default;
624
RECT
rc = default;
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
2537
RECT
rc = default;
System\Windows\Forms\Controls\WebBrowser\WebBrowser.WebBrowserSite.cs (1)
127
unsafe HRESULT IDocHostUIHandler.ResizeBorder(
RECT
* rect, IOleInPlaceUIWindow.Interface doc, BOOL fFrameWindow)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (3)
201
RECT
posRect = new Rectangle(0, 0, width, height);
202
RECT
clipRect = WebBrowserHelper.GetClipRect();
671
RECT
posRect = Bounds;
System\Windows\Forms\Controls\WebBrowser\WebBrowserContainer.cs (6)
82
HRESULT IOleInPlaceFrame.Interface.GetBorder(
RECT
* lprectBorder) => HRESULT.E_NOTIMPL;
84
HRESULT IOleInPlaceFrame.Interface.RequestBorderSpace(
RECT
* pborderwidths) => HRESULT.E_NOTIMPL;
86
HRESULT IOleInPlaceFrame.Interface.SetBorderSpace(
RECT
* pborderwidths) => HRESULT.E_NOTIMPL;
420
HRESULT IOleInPlaceUIWindow.Interface.GetBorder(
RECT
* lprectBorder)
423
HRESULT IOleInPlaceUIWindow.Interface.RequestBorderSpace(
RECT
* pborderwidths)
426
HRESULT IOleInPlaceUIWindow.Interface.SetBorderSpace(
RECT
* pborderwidths)
System\Windows\Forms\Controls\WebBrowser\WebBrowserHelper.cs (1)
109
internal static
RECT
GetClipRect() => new Rectangle(0, 0, 32000, 32000);
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (8)
195
RECT
posRect = Host.Bounds;
232
RECT
posRect = Host.Bounds;
247
RECT
* lprcPosRect,
248
RECT
* lprcClipRect,
306
HRESULT IOleInPlaceSite.Interface.OnPosRectChange(
RECT
* lprcPosRect) => OnActiveXRectChange(lprcPosRect);
404
private unsafe HRESULT OnActiveXRectChange(
RECT
* lprcPosRect)
411
RECT
posRect = new(0, 0, lprcPosRect->right - lprcPosRect->left, lprcPosRect->bottom - lprcPosRect->top);
412
RECT
clipRect = WebBrowserHelper.GetClipRect();
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (4)
90
RECT
rcIn,
96
RECT
rc2 = default;
97
RECT
rc = rcIn;
260
private void FillRectDither(HDC dc,
RECT
rc)
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (1)
97
PInvokeCore.GetWindowRect(hwnd, out
var
r);
System\Windows\Forms\Form.cs (3)
3106
PInvokeCore.GetClientRect(this, out
RECT
currentClient);
3277
RECT
result = new(clientSize);
3909
PInvokeCore.GetWindowRect(ownerHandle, out
var
ownerRect);
System\Windows\Forms\Input\Cursor.cs (3)
122
PInvoke.GetClipCursor(out
RECT
rect);
129
PInvoke.ClipCursor((
RECT
*)null);
133
RECT
rect = value;
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
688
PInvokeCore.GetClientRect(this, out
RECT
clientRectangle);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
452
PInvokeCore.GetWindowRect(this, out
var
r);
System\Windows\Forms\MDI\MDIClient.cs (1)
280
RECT
rect = default;
System\Windows\Forms\Rendering\ControlPaint.cs (3)
1062
RECT
rc = new Rectangle(x, y, width, height);
1398
RECT
rcCheck = new(rectangle.Size);
1468
RECT
rcFrame = new(0, 0, width, height);
System\Windows\Forms\Rendering\DCMapping.cs (1)
69
RECT
originalClipRect = default;
System\Windows\Forms\Rendering\DpiChangedEventArgs.cs (1)
22
SuggestedRectangle = *(
RECT
*)(nint)m.LParamInternal;
System\Windows\Forms\Rendering\TextExtensions.cs (3)
96
RECT
rect = bounds;
167
RECT
rect = bounds;
244
RECT
rect = new(proposedSize);
System\Windows\Forms\Scrolling\ScrollableControl.cs (2)
787
RECT
rcClip = ClientRectangle;
788
RECT
rcUpdate = ClientRectangle;
System\Windows\Forms\SystemInformation.cs (1)
185
RECT
workingArea = default;
System\Windows\Forms\ToolTip\ToolTip.cs (9)
1311
PInvokeCore.GetWindowRect(associatedControl, out
var
rect);
1325
RECT
visibleRect = new RECT
1409
PInvokeCore.GetWindowRect(Control.GetSafeHandle(window), out
var
r);
1429
PInvokeCore.GetWindowRect(Control.GetSafeHandle(window), out
var
r);
1447
PInvokeCore.GetWindowRect(Control.GetSafeHandle(window), out
var
r);
1465
PInvokeCore.GetWindowRect(Control.GetSafeHandle(window), out
var
r);
1989
PInvokeCore.GetWindowRect(this, out
var
rectangle);
2007
PInvokeCore.GetWindowRect(Control.GetSafeHandle(window), out
var
r);
2041
PInvokeCore.GetWindowRect(this, out
var
rect);
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (5)
281
RECT
contentRect;
420
_lastHResult = PInvoke.GetThemeBackgroundContentRect(HTHEME, dc, Part, State, bounds, out
RECT
rect);
437
_lastHResult = PInvoke.GetThemeBackgroundExtent(HTHEME, hdc, Part, State, contentBounds, out
RECT
extents);
673
out
RECT
rect);
696
out
RECT
rect);
System.Windows.Forms.Design (3)
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
184
RECT
rect = default;
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
299
RECT
clip = default;
System\Windows\Forms\Design\ControlDesigner.cs (1)
2065
RECT
clip = default;
System.Windows.Forms.Primitives (413)
Interop\Mshtml\Interop.IDocHostUIHandler.cs (1)
58
RECT
* rect,
Interop\Richedit\Interop.REQRESIZE.cs (1)
14
public
RECT
rc;
System\Windows\Forms\DeviceContextExtensions.cs (2)
46
RECT
rect = rectangle;
155
RECT
rect = rectangle;
Windows.Win32.COMBOBOXINFO.g.cs (2)
42
internal winmdroot.Foundation.
RECT
rcItem;
48
internal winmdroot.Foundation.
RECT
rcButton;
Windows.Win32.DRAWITEMSTRUCT.g.cs (1)
72
internal winmdroot.Foundation.
RECT
rcItem;
Windows.Win32.HDLAYOUT.g.cs (1)
33
internal unsafe winmdroot.Foundation.
RECT
* prc;
Windows.Win32.HH_POPUP.g.cs (1)
51
internal winmdroot.Foundation.
RECT
rcMargins;
Windows.Win32.IMAGEINFO.g.cs (1)
57
internal winmdroot.Foundation.
RECT
rcImage;
Windows.Win32.IOleInPlaceActiveObject.g.cs (8)
220
/// <inheritdoc cref="ResizeBorder(winmdroot.Foundation.
RECT
*, winmdroot.System.Ole.IOleInPlaceUIWindow*, winmdroot.Foundation.BOOL)"/>
221
internal unsafe void ResizeBorder(in winmdroot.Foundation.
RECT
prcBorder, winmdroot.System.Ole.IOleInPlaceUIWindow* pUIWindow, winmdroot.Foundation.BOOL fFrameWindow)
223
fixed (winmdroot.Foundation.
RECT
* prcBorderLocal = &prcBorder)
232
private static winmdroot.Foundation.HRESULT ResizeBorder(IOleInPlaceActiveObject* pThis, winmdroot.Foundation.
RECT
* prcBorder, winmdroot.System.Ole.IOleInPlaceUIWindow* pUIWindow, winmdroot.Foundation.BOOL fFrameWindow)
262
public unsafe void ResizeBorder(winmdroot.Foundation.
RECT
* prcBorder, winmdroot.System.Ole.IOleInPlaceUIWindow* pUIWindow, winmdroot.Foundation.BOOL fFrameWindow)
264
((delegate *unmanaged [Stdcall]<IOleInPlaceActiveObject*,winmdroot.Foundation.
RECT
* ,winmdroot.System.Ole.IOleInPlaceUIWindow* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IOleInPlaceActiveObject*)Unsafe.AsPointer(ref this), prcBorder, pUIWindow, fFrameWindow).ThrowOnFailure();
335
internal delegate *unmanaged [Stdcall]<IOleInPlaceActiveObject*,winmdroot.Foundation.
RECT
* ,winmdroot.System.Ole.IOleInPlaceUIWindow* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> ResizeBorder_9;
385
unsafe winmdroot.Foundation.HRESULT ResizeBorder(winmdroot.Foundation.
RECT
* prcBorder, winmdroot.System.Ole.IOleInPlaceUIWindow* pUIWindow, winmdroot.Foundation.BOOL fFrameWindow);
Windows.Win32.IOleInPlaceFrame.g.cs (24)
115
/// <inheritdoc cref="GetBorder(winmdroot.Foundation.
RECT
*)"/>
116
internal unsafe winmdroot.Foundation.HRESULT GetBorder(out winmdroot.Foundation.
RECT
lprectBorder)
118
fixed (winmdroot.Foundation.
RECT
* lprectBorderLocal = &lprectBorder)
128
private static winmdroot.Foundation.HRESULT GetBorder(IOleInPlaceFrame* pThis, winmdroot.Foundation.
RECT
* lprectBorder)
145
public unsafe winmdroot.Foundation.HRESULT GetBorder(winmdroot.Foundation.
RECT
* lprectBorder)
147
return ((delegate *unmanaged [Stdcall]<IOleInPlaceFrame*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IOleInPlaceFrame*)Unsafe.AsPointer(ref this), lprectBorder);
150
/// <inheritdoc cref="RequestBorderSpace(winmdroot.Foundation.
RECT
*)"/>
151
internal unsafe winmdroot.Foundation.HRESULT RequestBorderSpace(in winmdroot.Foundation.
RECT
pborderwidths)
153
fixed (winmdroot.Foundation.
RECT
* pborderwidthsLocal = &pborderwidths)
163
private static winmdroot.Foundation.HRESULT RequestBorderSpace(IOleInPlaceFrame* pThis, winmdroot.Foundation.
RECT
* pborderwidths)
180
public unsafe winmdroot.Foundation.HRESULT RequestBorderSpace(winmdroot.Foundation.
RECT
* pborderwidths)
182
return ((delegate *unmanaged [Stdcall]<IOleInPlaceFrame*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IOleInPlaceFrame*)Unsafe.AsPointer(ref this), pborderwidths);
185
/// <inheritdoc cref="SetBorderSpace(winmdroot.Foundation.
RECT
*)"/>
186
internal unsafe winmdroot.Foundation.HRESULT SetBorderSpace(in winmdroot.Foundation.
RECT
pborderwidths)
188
fixed (winmdroot.Foundation.
RECT
* pborderwidthsLocal = &pborderwidths)
198
private static winmdroot.Foundation.HRESULT SetBorderSpace(IOleInPlaceFrame* pThis, winmdroot.Foundation.
RECT
* pborderwidths)
215
public unsafe winmdroot.Foundation.HRESULT SetBorderSpace(winmdroot.Foundation.
RECT
* pborderwidths)
217
return ((delegate *unmanaged [Stdcall]<IOleInPlaceFrame*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IOleInPlaceFrame*)Unsafe.AsPointer(ref this), pborderwidths);
528
internal delegate *unmanaged [Stdcall]<IOleInPlaceFrame*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT> GetBorder_6;
530
internal delegate *unmanaged [Stdcall]<IOleInPlaceFrame*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT> RequestBorderSpace_7;
532
internal delegate *unmanaged [Stdcall]<IOleInPlaceFrame*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT> SetBorderSpace_8;
590
unsafe new winmdroot.Foundation.HRESULT GetBorder(winmdroot.Foundation.
RECT
* lprectBorder);
593
unsafe new winmdroot.Foundation.HRESULT RequestBorderSpace(winmdroot.Foundation.
RECT
* pborderwidths);
596
unsafe new winmdroot.Foundation.HRESULT SetBorderSpace(winmdroot.Foundation.
RECT
* pborderwidths);
Windows.Win32.IOleInPlaceObject.g.cs (16)
184
/// <inheritdoc cref="SetObjectRects(winmdroot.Foundation.
RECT
*, winmdroot.Foundation.
RECT
*)"/>
185
internal unsafe winmdroot.Foundation.HRESULT SetObjectRects(in winmdroot.Foundation.
RECT
lprcPosRect, in winmdroot.Foundation.
RECT
lprcClipRect)
187
fixed (winmdroot.Foundation.
RECT
* lprcClipRectLocal = &lprcClipRect)
189
fixed (winmdroot.Foundation.
RECT
* lprcPosRectLocal = &lprcPosRect)
200
private static winmdroot.Foundation.HRESULT SetObjectRects(IOleInPlaceObject* pThis, winmdroot.Foundation.
RECT
* lprcPosRect, winmdroot.Foundation.
RECT
* lprcClipRect)
228
public unsafe winmdroot.Foundation.HRESULT SetObjectRects(winmdroot.Foundation.
RECT
* lprcPosRect, winmdroot.Foundation.
RECT
* lprcClipRect)
230
return ((delegate *unmanaged [Stdcall]<IOleInPlaceObject*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IOleInPlaceObject*)Unsafe.AsPointer(ref this), lprcPosRect, lprcClipRect);
299
internal delegate *unmanaged [Stdcall]<IOleInPlaceObject*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT> SetObjectRects_8;
345
unsafe winmdroot.Foundation.HRESULT SetObjectRects(winmdroot.Foundation.
RECT
* lprcPosRect, winmdroot.Foundation.
RECT
* lprcClipRect);
Windows.Win32.IOleInPlaceObjectWindowless.g.cs (16)
164
/// <inheritdoc cref="SetObjectRects(winmdroot.Foundation.
RECT
*, winmdroot.Foundation.
RECT
*)"/>
165
internal unsafe void SetObjectRects(in winmdroot.Foundation.
RECT
lprcPosRect, in winmdroot.Foundation.
RECT
lprcClipRect)
167
fixed (winmdroot.Foundation.
RECT
* lprcClipRectLocal = &lprcClipRect)
169
fixed (winmdroot.Foundation.
RECT
* lprcPosRectLocal = &lprcPosRect)
179
private static winmdroot.Foundation.HRESULT SetObjectRects(IOleInPlaceObjectWindowless* pThis, winmdroot.Foundation.
RECT
* lprcPosRect, winmdroot.Foundation.
RECT
* lprcClipRect)
196
public unsafe void SetObjectRects(winmdroot.Foundation.
RECT
* lprcPosRect, winmdroot.Foundation.
RECT
* lprcClipRect)
198
((delegate *unmanaged [Stdcall]<IOleInPlaceObjectWindowless*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IOleInPlaceObjectWindowless*)Unsafe.AsPointer(ref this), lprcPosRect, lprcClipRect).ThrowOnFailure();
345
internal delegate *unmanaged [Stdcall]<IOleInPlaceObjectWindowless*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT> SetObjectRects_8;
397
unsafe new winmdroot.Foundation.HRESULT SetObjectRects(winmdroot.Foundation.
RECT
* lprcPosRect, winmdroot.Foundation.
RECT
* lprcClipRect);
Windows.Win32.IOleInPlaceSite.g.cs (24)
218
/// <inheritdoc cref="GetWindowContext(winmdroot.System.Ole.IOleInPlaceFrame**, winmdroot.System.Ole.IOleInPlaceUIWindow**, winmdroot.Foundation.
RECT
*, winmdroot.Foundation.
RECT
*, winmdroot.System.Ole.OLEINPLACEFRAMEINFO*)"/>
219
internal unsafe winmdroot.Foundation.HRESULT GetWindowContext(winmdroot.System.Ole.IOleInPlaceFrame** ppFrame, winmdroot.System.Ole.IOleInPlaceUIWindow** ppDoc, out winmdroot.Foundation.
RECT
lprcPosRect, out winmdroot.Foundation.
RECT
lprcClipRect, ref winmdroot.System.Ole.OLEINPLACEFRAMEINFO lpFrameInfo)
223
fixed (winmdroot.Foundation.
RECT
* lprcClipRectLocal = &lprcClipRect)
225
fixed (winmdroot.Foundation.
RECT
* lprcPosRectLocal = &lprcPosRect)
237
private static winmdroot.Foundation.HRESULT GetWindowContext(IOleInPlaceSite* pThis, winmdroot.System.Ole.IOleInPlaceFrame** ppFrame, winmdroot.System.Ole.IOleInPlaceUIWindow** ppDoc, winmdroot.Foundation.
RECT
* lprcPosRect, winmdroot.Foundation.
RECT
* lprcClipRect, winmdroot.System.Ole.OLEINPLACEFRAMEINFO* lpFrameInfo)
268
public unsafe winmdroot.Foundation.HRESULT GetWindowContext(winmdroot.System.Ole.IOleInPlaceFrame** ppFrame, winmdroot.System.Ole.IOleInPlaceUIWindow** ppDoc, winmdroot.Foundation.
RECT
* lprcPosRect, winmdroot.Foundation.
RECT
* lprcClipRect, winmdroot.System.Ole.OLEINPLACEFRAMEINFO* lpFrameInfo)
270
return ((delegate *unmanaged [Stdcall]<IOleInPlaceSite*,winmdroot.System.Ole.IOleInPlaceFrame** ,winmdroot.System.Ole.IOleInPlaceUIWindow** ,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.
RECT
* ,winmdroot.System.Ole.OLEINPLACEFRAMEINFO* ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IOleInPlaceSite*)Unsafe.AsPointer(ref this), ppFrame, ppDoc, lprcPosRect, lprcClipRect, lpFrameInfo);
445
/// <inheritdoc cref="OnPosRectChange(winmdroot.Foundation.
RECT
*)"/>
446
internal unsafe winmdroot.Foundation.HRESULT OnPosRectChange(in winmdroot.Foundation.
RECT
lprcPosRect)
448
fixed (winmdroot.Foundation.
RECT
* lprcPosRectLocal = &lprcPosRect)
458
private static winmdroot.Foundation.HRESULT OnPosRectChange(IOleInPlaceSite* pThis, winmdroot.Foundation.
RECT
* lprcPosRect)
485
public unsafe winmdroot.Foundation.HRESULT OnPosRectChange(winmdroot.Foundation.
RECT
* lprcPosRect)
487
return ((delegate *unmanaged [Stdcall]<IOleInPlaceSite*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((IOleInPlaceSite*)Unsafe.AsPointer(ref this), lprcPosRect);
527
internal delegate *unmanaged [Stdcall]<IOleInPlaceSite*,winmdroot.System.Ole.IOleInPlaceFrame** ,winmdroot.System.Ole.IOleInPlaceUIWindow** ,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.
RECT
* ,winmdroot.System.Ole.OLEINPLACEFRAMEINFO* ,winmdroot.Foundation.HRESULT> GetWindowContext_9;
539
internal delegate *unmanaged [Stdcall]<IOleInPlaceSite*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT> OnPosRectChange_15;
592
unsafe winmdroot.Foundation.HRESULT GetWindowContext(winmdroot.System.Ole.IOleInPlaceFrame** ppFrame, winmdroot.System.Ole.IOleInPlaceUIWindow** ppDoc, winmdroot.Foundation.
RECT
* lprcPosRect, winmdroot.Foundation.
RECT
* lprcClipRect, winmdroot.System.Ole.OLEINPLACEFRAMEINFO* lpFrameInfo);
610
unsafe winmdroot.Foundation.HRESULT OnPosRectChange(winmdroot.Foundation.
RECT
* lprcPosRect);
Windows.Win32.IOleInPlaceUIWindow.g.cs (24)
115
/// <inheritdoc cref="GetBorder(winmdroot.Foundation.
RECT
*)"/>
116
internal unsafe winmdroot.Foundation.HRESULT GetBorder(out winmdroot.Foundation.
RECT
lprectBorder)
118
fixed (winmdroot.Foundation.
RECT
* lprectBorderLocal = &lprectBorder)
128
private static winmdroot.Foundation.HRESULT GetBorder(IOleInPlaceUIWindow* pThis, winmdroot.Foundation.
RECT
* lprectBorder)
155
public unsafe winmdroot.Foundation.HRESULT GetBorder(winmdroot.Foundation.
RECT
* lprectBorder)
157
return ((delegate *unmanaged [Stdcall]<IOleInPlaceUIWindow*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IOleInPlaceUIWindow*)Unsafe.AsPointer(ref this), lprectBorder);
160
/// <inheritdoc cref="RequestBorderSpace(winmdroot.Foundation.
RECT
*)"/>
161
internal unsafe winmdroot.Foundation.HRESULT RequestBorderSpace(in winmdroot.Foundation.
RECT
pborderwidths)
163
fixed (winmdroot.Foundation.
RECT
* pborderwidthsLocal = &pborderwidths)
173
private static winmdroot.Foundation.HRESULT RequestBorderSpace(IOleInPlaceUIWindow* pThis, winmdroot.Foundation.
RECT
* pborderwidths)
202
public unsafe winmdroot.Foundation.HRESULT RequestBorderSpace(winmdroot.Foundation.
RECT
* pborderwidths)
204
return ((delegate *unmanaged [Stdcall]<IOleInPlaceUIWindow*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IOleInPlaceUIWindow*)Unsafe.AsPointer(ref this), pborderwidths);
207
/// <inheritdoc cref="SetBorderSpace(winmdroot.Foundation.
RECT
*)"/>
208
internal unsafe winmdroot.Foundation.HRESULT SetBorderSpace(in winmdroot.Foundation.
RECT
pborderwidths)
210
fixed (winmdroot.Foundation.
RECT
* pborderwidthsLocal = &pborderwidths)
220
private static winmdroot.Foundation.HRESULT SetBorderSpace(IOleInPlaceUIWindow* pThis, winmdroot.Foundation.
RECT
* pborderwidths)
248
public unsafe winmdroot.Foundation.HRESULT SetBorderSpace(winmdroot.Foundation.
RECT
* pborderwidths)
250
return ((delegate *unmanaged [Stdcall]<IOleInPlaceUIWindow*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IOleInPlaceUIWindow*)Unsafe.AsPointer(ref this), pborderwidths);
330
internal delegate *unmanaged [Stdcall]<IOleInPlaceUIWindow*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT> GetBorder_6;
332
internal delegate *unmanaged [Stdcall]<IOleInPlaceUIWindow*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT> RequestBorderSpace_7;
334
internal delegate *unmanaged [Stdcall]<IOleInPlaceUIWindow*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT> SetBorderSpace_8;
374
unsafe winmdroot.Foundation.HRESULT GetBorder(winmdroot.Foundation.
RECT
* lprectBorder);
377
unsafe winmdroot.Foundation.HRESULT RequestBorderSpace(winmdroot.Foundation.
RECT
* pborderwidths);
380
unsafe winmdroot.Foundation.HRESULT SetBorderSpace(winmdroot.Foundation.
RECT
* pborderwidths);
Windows.Win32.IOleObject.g.cs (8)
352
/// <inheritdoc cref="DoVerb(int, winmdroot.UI.WindowsAndMessaging.MSG*, winmdroot.System.Ole.IOleClientSite*, int, winmdroot.Foundation.HWND, winmdroot.Foundation.
RECT
*)"/>
353
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)
355
fixed (winmdroot.Foundation.
RECT
* lprcPosRectLocal = &lprcPosRect)
368
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)
401
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)
403
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);
923
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;
1018
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);
Windows.Win32.IUIAutomation.g.cs (17)
1679
private static winmdroot.Foundation.HRESULT RectToVariant(IUIAutomation* pThis, winmdroot.Foundation.
RECT
rc, winmdroot.System.Variant.VARIANT* var)
1705
public winmdroot.System.Variant.VARIANT RectToVariant(winmdroot.Foundation.
RECT
rc)
1708
((delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.Foundation.
RECT
,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[44])((IUIAutomation*)Unsafe.AsPointer(ref this), rc, &__retVal).ThrowOnFailure();
1715
private static winmdroot.Foundation.HRESULT VariantToRect(IUIAutomation* pThis, winmdroot.System.Variant.VARIANT var, winmdroot.Foundation.
RECT
* rc)
1743
public winmdroot.Foundation.
RECT
VariantToRect(winmdroot.System.Variant.VARIANT var)
1745
winmdroot.Foundation.
RECT
__retVal = default(winmdroot.Foundation.
RECT
);
1746
((delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT>)lpVtbl[45])((IUIAutomation*)Unsafe.AsPointer(ref this), var, &__retVal).ThrowOnFailure();
1753
private static winmdroot.Foundation.HRESULT SafeArrayToRectNativeArray(IUIAutomation* pThis, winmdroot.System.Com.SAFEARRAY* rects, winmdroot.Foundation.
RECT
** rectArray, int* rectArrayCount)
1785
public unsafe int SafeArrayToRectNativeArray(winmdroot.System.Com.SAFEARRAY* rects, winmdroot.Foundation.
RECT
** rectArray)
1788
((delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.
RECT
** ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[46])((IUIAutomation*)Unsafe.AsPointer(ref this), rects, rectArray, &__retVal).ThrowOnFailure();
2356
internal delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.Foundation.
RECT
,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> RectToVariant_45;
2358
internal delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT> VariantToRect_46;
2360
internal delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.
RECT
** ,int* ,winmdroot.Foundation.HRESULT> SafeArrayToRectNativeArray_47;
2598
unsafe winmdroot.Foundation.HRESULT RectToVariant(winmdroot.Foundation.
RECT
rc, winmdroot.System.Variant.VARIANT* var);
2601
unsafe winmdroot.Foundation.HRESULT VariantToRect(winmdroot.System.Variant.VARIANT var, winmdroot.Foundation.
RECT
* rc);
2604
unsafe winmdroot.Foundation.HRESULT SafeArrayToRectNativeArray(winmdroot.System.Com.SAFEARRAY* rects, winmdroot.Foundation.
RECT
** rectArray, int* rectArrayCount);
Windows.Win32.IUIAutomationElement.g.cs (14)
1509
/// <inheritdoc cref="get_CurrentBoundingRectangle(winmdroot.Foundation.
RECT
*)"/>
1510
internal unsafe winmdroot.Foundation.HRESULT get_CurrentBoundingRectangle(out winmdroot.Foundation.
RECT
retVal)
1512
fixed (winmdroot.Foundation.
RECT
* retValLocal = &retVal)
1522
private static winmdroot.Foundation.HRESULT get_CurrentBoundingRectangle(IUIAutomationElement* pThis, winmdroot.Foundation.
RECT
* retVal)
1543
public unsafe winmdroot.Foundation.HRESULT get_CurrentBoundingRectangle(winmdroot.Foundation.
RECT
* retVal)
1545
return ((delegate *unmanaged [Stdcall]<IUIAutomationElement*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT>)lpVtbl[43])((IUIAutomationElement*)Unsafe.AsPointer(ref this), retVal);
2612
private static winmdroot.Foundation.HRESULT get_CachedBoundingRectangle(IUIAutomationElement* pThis, winmdroot.Foundation.
RECT
* retVal)
2634
internal winmdroot.Foundation.
RECT
CachedBoundingRectangle
2638
winmdroot.Foundation.
RECT
__result;
2639
((delegate *unmanaged [Stdcall]<IUIAutomationElement*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT>)lpVtbl[75])((IUIAutomationElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
3083
internal delegate *unmanaged [Stdcall]<IUIAutomationElement*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT> get_CurrentBoundingRectangle_44;
3147
internal delegate *unmanaged [Stdcall]<IUIAutomationElement*,winmdroot.Foundation.
RECT
* ,winmdroot.Foundation.HRESULT> get_CachedBoundingRectangle_76;
3437
unsafe winmdroot.Foundation.HRESULT get_CurrentBoundingRectangle(winmdroot.Foundation.
RECT
* retVal);
3594
winmdroot.Foundation.
RECT
CachedBoundingRectangle
Windows.Win32.LVTILEVIEWINFO.g.cs (1)
56
internal winmdroot.Foundation.
RECT
rcLabelMargin;
Windows.Win32.MCGRIDINFO.g.cs (1)
81
internal winmdroot.Foundation.
RECT
rc;
Windows.Win32.MCHITTESTINFO.g.cs (1)
56
internal winmdroot.Foundation.
RECT
rc;
Windows.Win32.NMCUSTOMDRAW.g.cs (1)
46
internal winmdroot.Foundation.
RECT
rc;
Windows.Win32.NMLVCUSTOMDRAW.g.cs (1)
103
internal winmdroot.Foundation.
RECT
rcText;
Windows.Win32.PInvoke.GDI32.dll.g.cs (13)
103
/// <inheritdoc cref="ExtTextOut(winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Graphics.Gdi.ETO_OPTIONS, winmdroot.Foundation.
RECT
*, winmdroot.Foundation.PCWSTR, uint, int*)"/>
105
internal static unsafe winmdroot.Foundation.BOOL ExtTextOut(winmdroot.Graphics.Gdi.HDC hdc, int x, int y, winmdroot.Graphics.Gdi.ETO_OPTIONS options, winmdroot.Foundation.
RECT
? lprect, string lpString, ReadOnlySpan<int> lpDx)
111
winmdroot.Foundation.
RECT
lprectLocal = lprect ?? default(winmdroot.Foundation.
RECT
);
141
internal static extern unsafe winmdroot.Foundation.BOOL ExtTextOut(winmdroot.Graphics.Gdi.HDC hdc, int x, int y, winmdroot.Graphics.Gdi.ETO_OPTIONS options, [Optional] winmdroot.Foundation.
RECT
* lprect, winmdroot.Foundation.PCWSTR lpString, uint c, [Optional] int* lpDx);
212
/// <inheritdoc cref="GetClipBox(winmdroot.Graphics.Gdi.HDC, winmdroot.Foundation.
RECT
*)"/>
214
internal static unsafe winmdroot.Graphics.Gdi.GDI_REGION_TYPE GetClipBox(winmdroot.Graphics.Gdi.HDC hdc, out winmdroot.Foundation.
RECT
lprect)
216
fixed (winmdroot.Foundation.
RECT
* lprectLocal = &lprect)
235
internal static extern unsafe winmdroot.Graphics.Gdi.GDI_REGION_TYPE GetClipBox(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Foundation.
RECT
* lprect);
314
/// <inheritdoc cref="GetRgnBox(winmdroot.Graphics.Gdi.HRGN, winmdroot.Foundation.
RECT
*)"/>
316
internal static unsafe winmdroot.Graphics.Gdi.GDI_REGION_TYPE GetRgnBox(winmdroot.Graphics.Gdi.HRGN hrgn, out winmdroot.Foundation.
RECT
lprc)
318
fixed (winmdroot.Foundation.
RECT
* lprcLocal = &lprc)
337
internal static extern unsafe winmdroot.Graphics.Gdi.GDI_REGION_TYPE GetRgnBox(winmdroot.Graphics.Gdi.HRGN hrgn, winmdroot.Foundation.
RECT
* lprc);
Windows.Win32.PInvoke.USER32.dll.g.cs (85)
76
/// <inheritdoc cref="AdjustWindowRectEx(winmdroot.Foundation.
RECT
*, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE, winmdroot.Foundation.BOOL, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE)"/>
78
internal static unsafe winmdroot.Foundation.BOOL AdjustWindowRectEx(ref winmdroot.Foundation.
RECT
lpRect, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle)
80
fixed (winmdroot.Foundation.
RECT
* lpRectLocal = &lpRect)
112
internal static unsafe winmdroot.Foundation.BOOL AdjustWindowRectEx(winmdroot.Foundation.
RECT
* lpRect, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle)
120
static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.
RECT
* lpRect, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle);
123
/// <inheritdoc cref="AdjustWindowRectExForDpi(winmdroot.Foundation.
RECT
*, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE, winmdroot.Foundation.BOOL, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE, uint)"/>
125
internal static unsafe winmdroot.Foundation.BOOL AdjustWindowRectExForDpi(ref winmdroot.Foundation.
RECT
lpRect, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, uint dpi)
127
fixed (winmdroot.Foundation.
RECT
* lpRectLocal = &lpRect)
145
internal static unsafe winmdroot.Foundation.BOOL AdjustWindowRectExForDpi(winmdroot.Foundation.
RECT
* lpRect, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, uint dpi)
153
static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.
RECT
* lpRect, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, uint dpi);
289
/// <inheritdoc cref="ClipCursor(winmdroot.Foundation.
RECT
*)"/>
291
internal static unsafe winmdroot.Foundation.BOOL ClipCursor(winmdroot.Foundation.
RECT
? lpRect)
293
winmdroot.Foundation.
RECT
lpRectLocal = lpRect ?? default(winmdroot.Foundation.
RECT
);
311
internal static unsafe winmdroot.Foundation.BOOL ClipCursor([Optional] winmdroot.Foundation.
RECT
* lpRect)
319
static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction([Optional] winmdroot.Foundation.
RECT
* lpRect);
663
/// <inheritdoc cref="DrawEdge(winmdroot.Graphics.Gdi.HDC, winmdroot.Foundation.
RECT
*, winmdroot.Graphics.Gdi.DRAWEDGE_FLAGS, winmdroot.Graphics.Gdi.DRAW_EDGE_FLAGS)"/>
665
internal static unsafe winmdroot.Foundation.BOOL DrawEdge(winmdroot.Graphics.Gdi.HDC hdc, ref winmdroot.Foundation.
RECT
qrc, winmdroot.Graphics.Gdi.DRAWEDGE_FLAGS edge, winmdroot.Graphics.Gdi.DRAW_EDGE_FLAGS grfFlags)
667
fixed (winmdroot.Foundation.
RECT
* qrcLocal = &qrc)
691
internal static extern unsafe winmdroot.Foundation.BOOL DrawEdge(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Foundation.
RECT
* qrc, winmdroot.Graphics.Gdi.DRAWEDGE_FLAGS edge, winmdroot.Graphics.Gdi.DRAW_EDGE_FLAGS grfFlags);
693
/// <inheritdoc cref="DrawFrameControl(winmdroot.Graphics.Gdi.HDC, winmdroot.Foundation.
RECT
*, winmdroot.Graphics.Gdi.DFC_TYPE, winmdroot.Graphics.Gdi.DFCS_STATE)"/>
695
internal static unsafe winmdroot.Foundation.BOOL DrawFrameControl(winmdroot.Graphics.Gdi.HDC param0, ref winmdroot.Foundation.
RECT
param1, winmdroot.Graphics.Gdi.DFC_TYPE param2, winmdroot.Graphics.Gdi.DFCS_STATE param3)
697
fixed (winmdroot.Foundation.
RECT
* param1Local = ¶m1)
714
internal static extern unsafe winmdroot.Foundation.BOOL DrawFrameControl(winmdroot.Graphics.Gdi.HDC param0, winmdroot.Foundation.
RECT
* param1, winmdroot.Graphics.Gdi.DFC_TYPE param2, winmdroot.Graphics.Gdi.DFCS_STATE param3);
739
/// <inheritdoc cref="DrawText(winmdroot.Graphics.Gdi.HDC, winmdroot.Foundation.PCWSTR, int, winmdroot.Foundation.
RECT
*, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT)"/>
741
internal static unsafe int DrawText(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Foundation.PCWSTR lpchText, int cchText, ref winmdroot.Foundation.
RECT
lprc, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT format)
743
fixed (winmdroot.Foundation.
RECT
* lprcLocal = &lprc)
769
internal static extern unsafe int DrawText(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Foundation.PCWSTR lpchText, int cchText, winmdroot.Foundation.
RECT
* lprc, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT format);
771
/// <inheritdoc cref="DrawTextEx(winmdroot.Graphics.Gdi.HDC, winmdroot.Foundation.PWSTR, int, winmdroot.Foundation.
RECT
*, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT, winmdroot.Graphics.Gdi.DRAWTEXTPARAMS*)"/>
773
internal static unsafe int DrawTextEx(winmdroot.Graphics.Gdi.HDC hdc, ref Span<char>lpchText, int cchText, ref winmdroot.Foundation.
RECT
lprc, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT format, winmdroot.Graphics.Gdi.DRAWTEXTPARAMS? lpdtp)
776
fixed (winmdroot.Foundation.
RECT
* lprcLocal = &lprc)
809
internal static extern unsafe int DrawTextEx(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Foundation.PWSTR lpchText, int cchText, winmdroot.Foundation.
RECT
* lprc, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT format, [Optional] winmdroot.Graphics.Gdi.DRAWTEXTPARAMS* lpdtp);
942
/// <inheritdoc cref="FillRect(winmdroot.Graphics.Gdi.HDC, winmdroot.Foundation.
RECT
*, winmdroot.Graphics.Gdi.HBRUSH)"/>
944
internal static unsafe int FillRect(winmdroot.Graphics.Gdi.HDC hDC, in winmdroot.Foundation.
RECT
lprc, winmdroot.Graphics.Gdi.HBRUSH hbr)
946
fixed (winmdroot.Foundation.
RECT
* lprcLocal = &lprc)
968
internal static extern unsafe int FillRect(winmdroot.Graphics.Gdi.HDC hDC, winmdroot.Foundation.
RECT
* lprc, winmdroot.Graphics.Gdi.HBRUSH hbr);
1209
/// <inheritdoc cref="GetClipCursor(winmdroot.Foundation.
RECT
*)"/>
1211
internal static unsafe winmdroot.Foundation.BOOL GetClipCursor(out winmdroot.Foundation.
RECT
lpRect)
1213
fixed (winmdroot.Foundation.
RECT
* lpRectLocal = &lpRect)
1233
internal static unsafe winmdroot.Foundation.BOOL GetClipCursor(winmdroot.Foundation.
RECT
* lpRect)
1241
static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.
RECT
* lpRect);
1902
internal static extern unsafe winmdroot.Foundation.BOOL GetUpdateRect(winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.
RECT
* lpRect, winmdroot.Foundation.BOOL bErase);
2081
/// <inheritdoc cref="InvalidateRect(winmdroot.Foundation.HWND, winmdroot.Foundation.
RECT
*, winmdroot.Foundation.BOOL)"/>
2083
internal static unsafe winmdroot.Foundation.BOOL InvalidateRect(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.
RECT
? lpRect, winmdroot.Foundation.BOOL bErase)
2085
winmdroot.Foundation.
RECT
lpRectLocal = lpRect ?? default(winmdroot.Foundation.
RECT
);
2103
internal static extern unsafe winmdroot.Foundation.BOOL InvalidateRect(winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.
RECT
* lpRect, winmdroot.Foundation.BOOL bErase);
2589
/// <inheritdoc cref="RedrawWindow(winmdroot.Foundation.HWND, winmdroot.Foundation.
RECT
*, winmdroot.Graphics.Gdi.HRGN, winmdroot.Graphics.Gdi.REDRAW_WINDOW_FLAGS)"/>
2591
internal static unsafe winmdroot.Foundation.BOOL RedrawWindow(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.
RECT
? lprcUpdate, winmdroot.Graphics.Gdi.HRGN hrgnUpdate, winmdroot.Graphics.Gdi.REDRAW_WINDOW_FLAGS flags)
2593
winmdroot.Foundation.
RECT
lprcUpdateLocal = lprcUpdate ?? default(winmdroot.Foundation.
RECT
);
2613
internal static extern unsafe winmdroot.Foundation.BOOL RedrawWindow(winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.
RECT
* lprcUpdate, winmdroot.Graphics.Gdi.HRGN hrgnUpdate, winmdroot.Graphics.Gdi.REDRAW_WINDOW_FLAGS flags);
2741
/// <inheritdoc cref="ScrollWindow(winmdroot.Foundation.HWND, int, int, winmdroot.Foundation.
RECT
*, winmdroot.Foundation.
RECT
*)"/>
2743
internal static unsafe winmdroot.Foundation.BOOL ScrollWindow(winmdroot.Foundation.HWND hWnd, int XAmount, int YAmount, winmdroot.Foundation.
RECT
? lpRect, winmdroot.Foundation.
RECT
? lpClipRect)
2745
winmdroot.Foundation.
RECT
lpRectLocal = lpRect ?? default(winmdroot.Foundation.
RECT
);
2746
winmdroot.Foundation.
RECT
lpClipRectLocal = lpClipRect ?? default(winmdroot.Foundation.
RECT
);
2780
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)
2788
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);
2791
/// <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)"/>
2793
internal static unsafe int ScrollWindowEx(winmdroot.Foundation.HWND hWnd, int dx, int dy, winmdroot.Foundation.
RECT
? prcScroll, winmdroot.Foundation.
RECT
? prcClip, winmdroot.Graphics.Gdi.HRGN hrgnUpdate, winmdroot.Foundation.
RECT
* prcUpdate, winmdroot.UI.WindowsAndMessaging.SCROLL_WINDOW_FLAGS flags)
2795
winmdroot.Foundation.
RECT
prcScrollLocal = prcScroll ?? default(winmdroot.Foundation.
RECT
);
2796
winmdroot.Foundation.
RECT
prcClipLocal = prcClip ?? default(winmdroot.Foundation.
RECT
);
2839
internal static unsafe int ScrollWindowEx(winmdroot.Foundation.HWND hWnd, int dx, int dy, [Optional] winmdroot.Foundation.
RECT
* prcScroll, [Optional] winmdroot.Foundation.
RECT
* prcClip, winmdroot.Graphics.Gdi.HRGN hrgnUpdate, [Optional] winmdroot.Foundation.
RECT
* prcUpdate, winmdroot.UI.WindowsAndMessaging.SCROLL_WINDOW_FLAGS flags)
2847
static extern unsafe int LocalExternFunction(winmdroot.Foundation.HWND hWnd, int dx, int dy, [Optional] winmdroot.Foundation.
RECT
* prcScroll, [Optional] winmdroot.Foundation.
RECT
* prcClip, winmdroot.Graphics.Gdi.HRGN hrgnUpdate, [Optional] winmdroot.Foundation.
RECT
* prcUpdate, winmdroot.UI.WindowsAndMessaging.SCROLL_WINDOW_FLAGS flags);
3853
/// <inheritdoc cref="ValidateRect(winmdroot.Foundation.HWND, winmdroot.Foundation.
RECT
*)"/>
3855
internal static unsafe winmdroot.Foundation.BOOL ValidateRect(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.
RECT
? lpRect)
3857
winmdroot.Foundation.
RECT
lpRectLocal = lpRect ?? default(winmdroot.Foundation.
RECT
);
3874
internal static extern unsafe winmdroot.Foundation.BOOL ValidateRect(winmdroot.Foundation.HWND hWnd, [Optional] winmdroot.Foundation.
RECT
* lpRect);
Windows.Win32.PInvoke.UXTHEME.dll.g.cs (69)
39
/// <inheritdoc cref="DrawThemeBackground(winmdroot.UI.Controls.HTHEME, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.
RECT
*, winmdroot.Foundation.
RECT
*)"/>
41
internal static unsafe winmdroot.Foundation.HRESULT DrawThemeBackground(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, in winmdroot.Foundation.
RECT
pRect, winmdroot.Foundation.
RECT
? pClipRect)
43
fixed (winmdroot.Foundation.
RECT
* pRectLocal = &pRect)
45
winmdroot.Foundation.
RECT
pClipRectLocal = pClipRect ?? default(winmdroot.Foundation.
RECT
);
82
internal static extern unsafe winmdroot.Foundation.HRESULT DrawThemeBackground(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Foundation.
RECT
* pRect, [Optional] winmdroot.Foundation.
RECT
* pClipRect);
84
/// <inheritdoc cref="DrawThemeEdge(winmdroot.UI.Controls.HTHEME, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.
RECT
*, winmdroot.Graphics.Gdi.DRAWEDGE_FLAGS, winmdroot.Graphics.Gdi.DRAW_EDGE_FLAGS, winmdroot.Foundation.
RECT
*)"/>
86
internal static unsafe winmdroot.Foundation.HRESULT DrawThemeEdge(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, in winmdroot.Foundation.
RECT
pDestRect, winmdroot.Graphics.Gdi.DRAWEDGE_FLAGS uEdge, winmdroot.Graphics.Gdi.DRAW_EDGE_FLAGS uFlags, winmdroot.Foundation.
RECT
* pContentRect)
88
fixed (winmdroot.Foundation.
RECT
* pDestRectLocal = &pDestRect)
134
internal static extern unsafe winmdroot.Foundation.HRESULT DrawThemeEdge(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Foundation.
RECT
* pDestRect, winmdroot.Graphics.Gdi.DRAWEDGE_FLAGS uEdge, winmdroot.Graphics.Gdi.DRAW_EDGE_FLAGS uFlags, [Optional] winmdroot.Foundation.
RECT
* pContentRect);
136
/// <inheritdoc cref="DrawThemeParentBackground(winmdroot.Foundation.HWND, winmdroot.Graphics.Gdi.HDC, winmdroot.Foundation.
RECT
*)"/>
138
internal static unsafe winmdroot.Foundation.HRESULT DrawThemeParentBackground(winmdroot.Foundation.HWND hwnd, winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Foundation.
RECT
? prc)
140
winmdroot.Foundation.
RECT
prcLocal = prc ?? default(winmdroot.Foundation.
RECT
);
166
internal static extern unsafe winmdroot.Foundation.HRESULT DrawThemeParentBackground(winmdroot.Foundation.HWND hwnd, winmdroot.Graphics.Gdi.HDC hdc, [Optional] winmdroot.Foundation.
RECT
* prc);
168
/// <inheritdoc cref="DrawThemeText(winmdroot.UI.Controls.HTHEME, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.PCWSTR, int, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT, uint, winmdroot.Foundation.
RECT
*)"/>
170
internal static unsafe winmdroot.Foundation.HRESULT DrawThemeText(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, string pszText, int cchText, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT dwTextFlags, uint dwTextFlags2, in winmdroot.Foundation.
RECT
pRect)
172
fixed (winmdroot.Foundation.
RECT
* pRectLocal = &pRect)
225
internal static extern unsafe winmdroot.Foundation.HRESULT DrawThemeText(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Foundation.PCWSTR pszText, int cchText, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT dwTextFlags, uint dwTextFlags2, winmdroot.Foundation.
RECT
* pRect);
275
/// <inheritdoc cref="GetThemeBackgroundContentRect(winmdroot.UI.Controls.HTHEME, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.
RECT
*, winmdroot.Foundation.
RECT
*)"/>
277
internal static unsafe winmdroot.Foundation.HRESULT GetThemeBackgroundContentRect(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, in winmdroot.Foundation.
RECT
pBoundingRect, out winmdroot.Foundation.
RECT
pContentRect)
279
fixed (winmdroot.Foundation.
RECT
* pContentRectLocal = &pContentRect)
281
fixed (winmdroot.Foundation.
RECT
* pBoundingRectLocal = &pBoundingRect)
320
internal static extern unsafe winmdroot.Foundation.HRESULT GetThemeBackgroundContentRect(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Foundation.
RECT
* pBoundingRect, winmdroot.Foundation.
RECT
* pContentRect);
322
/// <inheritdoc cref="GetThemeBackgroundExtent(winmdroot.UI.Controls.HTHEME, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.
RECT
*, winmdroot.Foundation.
RECT
*)"/>
324
internal static unsafe winmdroot.Foundation.HRESULT GetThemeBackgroundExtent(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, in winmdroot.Foundation.
RECT
pContentRect, out winmdroot.Foundation.
RECT
pExtentRect)
326
fixed (winmdroot.Foundation.
RECT
* pExtentRectLocal = &pExtentRect)
328
fixed (winmdroot.Foundation.
RECT
* pContentRectLocal = &pContentRect)
367
internal static extern unsafe winmdroot.Foundation.HRESULT GetThemeBackgroundExtent(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Foundation.
RECT
* pContentRect, winmdroot.Foundation.
RECT
* pExtentRect);
369
/// <inheritdoc cref="GetThemeBackgroundRegion(winmdroot.UI.Controls.HTHEME, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.
RECT
*, winmdroot.Graphics.Gdi.HRGN*)"/>
371
internal static unsafe winmdroot.Foundation.HRESULT GetThemeBackgroundRegion(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, in winmdroot.Foundation.
RECT
pRect, winmdroot.Graphics.Gdi.HRGN* pRegion)
373
fixed (winmdroot.Foundation.
RECT
* pRectLocal = &pRect)
411
internal static extern unsafe winmdroot.Foundation.HRESULT GetThemeBackgroundRegion(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Foundation.
RECT
* pRect, winmdroot.Graphics.Gdi.HRGN* pRegion);
726
/// <inheritdoc cref="GetThemeMargins(winmdroot.UI.Controls.HTHEME, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID, winmdroot.Foundation.
RECT
*, winmdroot.UI.Controls.MARGINS*)"/>
728
internal static unsafe winmdroot.Foundation.HRESULT GetThemeMargins(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, winmdroot.Foundation.
RECT
? prc, out winmdroot.UI.Controls.MARGINS pMargins)
732
winmdroot.Foundation.
RECT
prcLocal = prc ?? default(winmdroot.Foundation.
RECT
);
774
internal static unsafe winmdroot.Foundation.HRESULT GetThemeMargins(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.UI.Controls.THEME_PROPERTY_SYMBOL_ID iPropId, [Optional] winmdroot.Foundation.
RECT
* prc, winmdroot.UI.Controls.MARGINS* pMargins)
780
static extern unsafe winmdroot.Foundation.HRESULT LocalExternFunction(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, int iPropId, [Optional] winmdroot.Foundation.
RECT
* prc, winmdroot.UI.Controls.MARGINS* pMargins);
783
/// <inheritdoc cref="GetThemePartSize(winmdroot.UI.Controls.HTHEME, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.
RECT
*, winmdroot.UI.Controls.THEMESIZE, winmdroot.Foundation.SIZE*)"/>
785
internal static unsafe winmdroot.Foundation.HRESULT GetThemePartSize(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Foundation.
RECT
? prc, winmdroot.UI.Controls.THEMESIZE eSize, out winmdroot.Foundation.SIZE psz)
789
winmdroot.Foundation.
RECT
prcLocal = prc ?? default(winmdroot.Foundation.
RECT
);
828
internal static extern unsafe winmdroot.Foundation.HRESULT GetThemePartSize(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, [Optional] winmdroot.Foundation.
RECT
* prc, winmdroot.UI.Controls.THEMESIZE eSize, winmdroot.Foundation.SIZE* psz);
976
/// <inheritdoc cref="GetThemeTextExtent(winmdroot.UI.Controls.HTHEME, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.Foundation.PCWSTR, int, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT, winmdroot.Foundation.
RECT
*, winmdroot.Foundation.
RECT
*)"/>
978
internal static unsafe winmdroot.Foundation.HRESULT GetThemeTextExtent(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, string pszText, int cchCharCount, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT dwTextFlags, winmdroot.Foundation.
RECT
? pBoundingRect, out winmdroot.Foundation.
RECT
pExtentRect)
980
fixed (winmdroot.Foundation.
RECT
* pExtentRectLocal = &pExtentRect)
984
winmdroot.Foundation.
RECT
pBoundingRectLocal = pBoundingRect ?? default(winmdroot.Foundation.
RECT
);
1036
internal static extern unsafe winmdroot.Foundation.HRESULT GetThemeTextExtent(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.Foundation.PCWSTR pszText, int cchCharCount, winmdroot.Graphics.Gdi.DRAW_TEXT_FORMAT dwTextFlags, [Optional] winmdroot.Foundation.
RECT
* pBoundingRect, winmdroot.Foundation.
RECT
* pExtentRect);
1080
/// <inheritdoc cref="HitTestThemeBackground(winmdroot.UI.Controls.HTHEME, winmdroot.Graphics.Gdi.HDC, int, int, winmdroot.UI.Controls.HIT_TEST_BACKGROUND_OPTIONS, winmdroot.Foundation.
RECT
*, winmdroot.Graphics.Gdi.HRGN, global::System.Drawing.Point, ushort*)"/>
1082
internal static unsafe winmdroot.Foundation.HRESULT HitTestThemeBackground(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.UI.Controls.HIT_TEST_BACKGROUND_OPTIONS dwOptions, in winmdroot.Foundation.
RECT
pRect, winmdroot.Graphics.Gdi.HRGN hrgn, global::System.Drawing.Point ptTest, out ushort pwHitTestCode)
1086
fixed (winmdroot.Foundation.
RECT
* pRectLocal = &pRect)
1138
internal static extern unsafe winmdroot.Foundation.HRESULT HitTestThemeBackground(winmdroot.UI.Controls.HTHEME hTheme, winmdroot.Graphics.Gdi.HDC hdc, int iPartId, int iStateId, winmdroot.UI.Controls.HIT_TEST_BACKGROUND_OPTIONS dwOptions, winmdroot.Foundation.
RECT
* pRect, winmdroot.Graphics.Gdi.HRGN hrgn, global::System.Drawing.Point ptTest, ushort* pwHitTestCode);
Windows.Win32.System_Ole_IOleInPlaceActiveObject_Extensions.g.cs (3)
41
/// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceActiveObject.Interface.ResizeBorder(winmdroot.Foundation.
RECT
*, winmdroot.System.Ole.IOleInPlaceUIWindow*, winmdroot.Foundation.BOOL)"/>
42
internal static unsafe winmdroot.Foundation.HRESULT ResizeBorder(this winmdroot.System.Ole.IOleInPlaceActiveObject.Interface @this, in winmdroot.Foundation.
RECT
prcBorder, winmdroot.System.Ole.IOleInPlaceUIWindow* pUIWindow, winmdroot.Foundation.BOOL fFrameWindow)
44
fixed (winmdroot.Foundation.
RECT
* prcBorderLocal = &prcBorder)
Windows.Win32.System_Ole_IOleInPlaceFrame_Extensions.g.cs (9)
33
/// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceFrame.Interface.GetBorder(winmdroot.Foundation.
RECT
*)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT GetBorder(this winmdroot.System.Ole.IOleInPlaceFrame.Interface @this, out winmdroot.Foundation.
RECT
lprectBorder)
36
fixed (winmdroot.Foundation.
RECT
* lprectBorderLocal = &lprectBorder)
43
/// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceFrame.Interface.RequestBorderSpace(winmdroot.Foundation.
RECT
*)"/>
44
internal static unsafe winmdroot.Foundation.HRESULT RequestBorderSpace(this winmdroot.System.Ole.IOleInPlaceFrame.Interface @this, in winmdroot.Foundation.
RECT
pborderwidths)
46
fixed (winmdroot.Foundation.
RECT
* pborderwidthsLocal = &pborderwidths)
53
/// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceFrame.Interface.SetBorderSpace(winmdroot.Foundation.
RECT
*)"/>
54
internal static unsafe winmdroot.Foundation.HRESULT SetBorderSpace(this winmdroot.System.Ole.IOleInPlaceFrame.Interface @this, in winmdroot.Foundation.
RECT
pborderwidths)
56
fixed (winmdroot.Foundation.
RECT
* pborderwidthsLocal = &pborderwidths)
Windows.Win32.System_Ole_IOleInPlaceObject_Extensions.g.cs (6)
33
/// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceObject.Interface.SetObjectRects(winmdroot.Foundation.
RECT
*, winmdroot.Foundation.
RECT
*)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT SetObjectRects(this winmdroot.System.Ole.IOleInPlaceObject.Interface @this, in winmdroot.Foundation.
RECT
lprcPosRect, in winmdroot.Foundation.
RECT
lprcClipRect)
36
fixed (winmdroot.Foundation.
RECT
* lprcClipRectLocal = &lprcClipRect)
38
fixed (winmdroot.Foundation.
RECT
* lprcPosRectLocal = &lprcPosRect)
Windows.Win32.System_Ole_IOleInPlaceObjectWindowless_Extensions.g.cs (6)
33
/// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceObjectWindowless.Interface.SetObjectRects(winmdroot.Foundation.
RECT
*, winmdroot.Foundation.
RECT
*)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT SetObjectRects(this winmdroot.System.Ole.IOleInPlaceObjectWindowless.Interface @this, in winmdroot.Foundation.
RECT
lprcPosRect, in winmdroot.Foundation.
RECT
lprcClipRect)
36
fixed (winmdroot.Foundation.
RECT
* lprcClipRectLocal = &lprcClipRect)
38
fixed (winmdroot.Foundation.
RECT
* lprcPosRectLocal = &lprcPosRect)
Windows.Win32.System_Ole_IOleInPlaceSite_Extensions.g.cs (9)
33
/// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceSite.Interface.GetWindowContext(winmdroot.System.Ole.IOleInPlaceFrame**, winmdroot.System.Ole.IOleInPlaceUIWindow**, winmdroot.Foundation.
RECT
*, winmdroot.Foundation.
RECT
*, winmdroot.System.Ole.OLEINPLACEFRAMEINFO*)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT GetWindowContext(this winmdroot.System.Ole.IOleInPlaceSite.Interface @this, winmdroot.System.Ole.IOleInPlaceFrame** ppFrame, winmdroot.System.Ole.IOleInPlaceUIWindow** ppDoc, out winmdroot.Foundation.
RECT
lprcPosRect, out winmdroot.Foundation.
RECT
lprcClipRect, ref winmdroot.System.Ole.OLEINPLACEFRAMEINFO lpFrameInfo)
38
fixed (winmdroot.Foundation.
RECT
* lprcClipRectLocal = &lprcClipRect)
40
fixed (winmdroot.Foundation.
RECT
* lprcPosRectLocal = &lprcPosRect)
49
/// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceSite.Interface.OnPosRectChange(winmdroot.Foundation.
RECT
*)"/>
50
internal static unsafe winmdroot.Foundation.HRESULT OnPosRectChange(this winmdroot.System.Ole.IOleInPlaceSite.Interface @this, in winmdroot.Foundation.
RECT
lprcPosRect)
52
fixed (winmdroot.Foundation.
RECT
* lprcPosRectLocal = &lprcPosRect)
Windows.Win32.System_Ole_IOleInPlaceUIWindow_Extensions.g.cs (9)
33
/// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceUIWindow.Interface.GetBorder(winmdroot.Foundation.
RECT
*)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT GetBorder(this winmdroot.System.Ole.IOleInPlaceUIWindow.Interface @this, out winmdroot.Foundation.
RECT
lprectBorder)
36
fixed (winmdroot.Foundation.
RECT
* lprectBorderLocal = &lprectBorder)
43
/// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceUIWindow.Interface.RequestBorderSpace(winmdroot.Foundation.
RECT
*)"/>
44
internal static unsafe winmdroot.Foundation.HRESULT RequestBorderSpace(this winmdroot.System.Ole.IOleInPlaceUIWindow.Interface @this, in winmdroot.Foundation.
RECT
pborderwidths)
46
fixed (winmdroot.Foundation.
RECT
* pborderwidthsLocal = &pborderwidths)
53
/// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceUIWindow.Interface.SetBorderSpace(winmdroot.Foundation.
RECT
*)"/>
54
internal static unsafe winmdroot.Foundation.HRESULT SetBorderSpace(this winmdroot.System.Ole.IOleInPlaceUIWindow.Interface @this, in winmdroot.Foundation.
RECT
pborderwidths)
56
fixed (winmdroot.Foundation.
RECT
* pborderwidthsLocal = &pborderwidths)
Windows.Win32.System_Ole_IOleObject_Extensions.g.cs (3)
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)
39
fixed (winmdroot.Foundation.
RECT
* lprcPosRectLocal = &lprcPosRect)
Windows.Win32.TTTOOLINFOW.g.cs (1)
56
internal winmdroot.Foundation.
RECT
rect;
Windows.Win32.UI_Accessibility_IUIAutomation_Extensions.g.cs (7)
76
/// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.RectToVariant(winmdroot.Foundation.
RECT
, winmdroot.System.Variant.VARIANT*)"/>
77
internal static unsafe winmdroot.Foundation.HRESULT RectToVariant(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, winmdroot.Foundation.
RECT
rc, out winmdroot.System.Variant.VARIANT var)
86
/// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.VariantToRect(winmdroot.System.Variant.VARIANT, winmdroot.Foundation.
RECT
*)"/>
87
internal static unsafe winmdroot.Foundation.HRESULT VariantToRect(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, winmdroot.System.Variant.VARIANT var, out winmdroot.Foundation.
RECT
rc)
89
fixed (winmdroot.Foundation.
RECT
* rcLocal = &rc)
96
/// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.SafeArrayToRectNativeArray(winmdroot.System.Com.SAFEARRAY*, winmdroot.Foundation.
RECT
**, int*)"/>
97
internal static unsafe winmdroot.Foundation.HRESULT SafeArrayToRectNativeArray(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, winmdroot.System.Com.SAFEARRAY* rects, winmdroot.Foundation.
RECT
** rectArray, out int rectArrayCount)
Windows.Win32.UI_Accessibility_IUIAutomationElement_Extensions.g.cs (3)
99
/// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomationElement.Interface.get_CurrentBoundingRectangle(winmdroot.Foundation.
RECT
*)"/>
100
internal static unsafe winmdroot.Foundation.HRESULT get_CurrentBoundingRectangle(this winmdroot.UI.Accessibility.IUIAutomationElement.Interface @this, out winmdroot.Foundation.
RECT
retVal)
102
fixed (winmdroot.Foundation.
RECT
* retValLocal = &retVal)
Windows.Win32.WINDOWPLACEMENT.g.cs (1)
58
internal winmdroot.Foundation.
RECT
rcNormalPosition;
Windows\Win32\PInvoke.DrawTextEx.cs (2)
8
/// <inheritdoc cref="DrawTextEx(HDC, PWSTR, int,
RECT
*, DRAW_TEXT_FORMAT, DRAWTEXTPARAMS*)"/>
12
RECT
* lprc,
Windows\Win32\PInvoke.FillRect.cs (2)
8
/// <inheritdoc cref="FillRect(HDC, in
RECT
, HBRUSH)"/>
9
public static int FillRect<T>(T hDC, ref
RECT
lprc, HBRUSH hbr)
Windows\Win32\PInvoke.InvalidateRect.cs (2)
8
/// <inheritdoc cref="InvalidateRect(HWND,
RECT
*, BOOL)"/>
9
public static unsafe BOOL InvalidateRect<T>(T hWnd,
RECT
* lpRect, BOOL bErase)
Windows\Win32\PInvoke.RedrawWindow.cs (2)
8
/// <inheritdoc cref="RedrawWindow(HWND,
RECT
*, HRGN, REDRAW_WINDOW_FLAGS)"/>
9
public static unsafe BOOL RedrawWindow<T>(T hWnd,
RECT
* lprcUpdate, HRGN hrgnUpdate, REDRAW_WINDOW_FLAGS flags)
Windows\Win32\PInvoke.ScrollWindow.cs (4)
8
/// <inheritdoc cref="ScrollWindow(HWND, int, int,
RECT
*,
RECT
*)"/>
9
public static unsafe BOOL ScrollWindow<T>(T hWnd, int XAmount, int YAmount,
RECT
* lpRect,
RECT
* rectClip)
Windows\Win32\PInvoke.ScrollWindowEx.cs (6)
8
/// <inheritdoc cref="ScrollWindowEx(HWND, int, int,
RECT
*,
RECT
*, HRGN,
RECT
*, SCROLL_WINDOW_FLAGS)"/>
13
RECT
* prcScroll,
14
RECT
* prcClip,
16
RECT
* prcUpdate,
Windows\Win32\PInvoke.ValidateRect.cs (2)
8
/// <inheritdoc cref="ValidateRect(HWND,
RECT
*)"/>
9
public static unsafe BOOL ValidateRect<T>(T hWnd,
RECT
* lpRect)
Windows\Win32\UI\Controls\Dialogs\PAGESETUPDLGW.cs (2)
123
public
RECT
rtMinMargin;
141
public
RECT
rtMargin;
Windows\Win32\UI\Controls\ToolInfoWrapper.cs (1)
21
public ToolInfoWrapper(T handle, nint id, TOOLTIP_FLAGS flags = default, string? text = null,
RECT
rect = default)
System.Windows.Forms.Primitives.Tests (13)
System\Windows\Forms\DeviceContextHdcScopeTests.cs (10)
33
RECT
clipRect = default;
48
RECT
clipRect = default;
63
RECT
clipRect = default;
78
RECT
clipRect = default;
94
RECT
originalClipRect = default;
116
RECT
clipRect = default;
129
RECT
currentClipRect = default;
143
RECT
clipRect = default;
166
RECT
clipRect = default;
189
RECT
clipRect = default;
System\Windows\Forms\DeviceContextScopeTests.cs (2)
30
RECT
rect2 = default;
48
RECT
rect = default;
Windows\Win32\RegionTests.cs (1)
58
RECT
rect = default;
System.Windows.Forms.Primitives.TestUtilities (31)
DeviceContextState.cs (2)
67
public
RECT
[] ClipRegion { get => _currentState.ClipRegion; set => _currentState.ClipRegion = value; }
84
public
RECT
[] ClipRegion { get; set; }
Metafiles\EmfScope.cs (2)
41
RECT
* lprc = null,
88
(
RECT
*)null);
Metafiles\RecordTypes\EMRBITBLT.cs (2)
16
public
RECT
rclBounds; // Inclusive-inclusive bounds in device units
35
RECT
dest = new Rectangle(xDest, yDest, cxDest, cyDest);
Metafiles\RecordTypes\EMREXTSELECTCLIPRGN.cs (2)
30
public
RECT
[] ClippingRectangles => RGNDATAHEADER.GetRegionRects(RegionDataHeader);
42
RECT
[] clippingRects = ClippingRectangles;
Metafiles\RecordTypes\EMREXTTEXTOUTW.cs (1)
14
public
RECT
rclBounds; // Inclusive-inclusive bounds in device units
Metafiles\RecordTypes\EMRPOLY16.cs (1)
27
public
RECT
rclBounds; // Inclusive-inclusive bounds in device units
Metafiles\RecordTypes\EMRPOLYPOLY16.cs (1)
26
public
RECT
rclBounds; // Inclusive-inclusive bounds in device units
Metafiles\RecordTypes\EMRRECTRECORD.cs (2)
11
/// Record that just has a single <see cref="
RECT
"/> value.
28
public
RECT
rect;
Metafiles\RecordTypes\EMRTEXT.cs (1)
18
public
RECT
rcl;
Metafiles\RecordTypes\ENHMETAHEADER.cs (2)
17
public
RECT
rclBounds; // Inclusive-inclusive bounds in device units
18
public
RECT
rclFrame; // Inclusive-inclusive Picture Frame of metafile in .01 mm units
Metafiles\Validators\BitBltValidator.cs (1)
17
RECT
? bounds,
Metafiles\Validators\ClippingValidator.cs (2)
10
private readonly
RECT
[] _clippingRectangles;
11
public ClippingValidator(
RECT
[] clippingRectangles) => _clippingRectangles = clippingRectangles;
Metafiles\Validators\Poly16Validator.cs (1)
19
RECT
? bounds,
Metafiles\Validators\Polygon16Validator.cs (1)
14
RECT
? bounds,
Metafiles\Validators\Polyline16Validator.cs (1)
14
RECT
? bounds,
Metafiles\Validators\PolyPoly16Validator.cs (1)
19
RECT
? bounds,
Metafiles\Validators\PolyPolygon16Validator.cs (1)
12
RECT
? bounds,
Metafiles\Validators\PolyPolyline16Validator.cs (1)
12
RECT
? bounds,
Metafiles\Validators\RectangleValidator.cs (1)
17
RECT
? bounds,
Metafiles\Validators\State.cs (1)
18
internal static IStateValidator Clipping(
RECT
[] clippingRectangles) => new ClippingValidator(clippingRectangles);
Metafiles\Validators\Validate.cs (2)
81
RECT
? bounds,
89
RECT
? bounds,
Win32\WindowClass.cs (2)
12
private static
RECT
DefaultBounds
147
RECT
bounds,
System.Windows.Forms.Tests (48)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (2)
296
RECT
groupRect = default;
332
RECT
groupRect = default;
System\Windows\Forms\AccessibleObjects\ListViewLabelEditAccessibleObjectTests.cs (1)
24
PInvokeCore.GetWindowRect(labelEdit, out
RECT
r);
System\Windows\Forms\AccessibleObjects\TreeViewLabelEditAccessibleObjectTests.cs (1)
23
PInvokeCore.GetWindowRect(labelEdit, out
RECT
r);
System\Windows\Forms\ComponentModel\Com2Interop\COM2PictureConverterTests.cs (1)
202
public HRESULT Render(HDC hDC, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc,
RECT
* pRcWBounds) => HRESULT.S_OK;
System\Windows\Forms\ListBoxTests.cs (8)
770
RECT
rc = default;
5386
yield return new object[] { default(
RECT
), Rectangle.Empty };
5396
GetItemRectResult = (
RECT
)getItemRectResult
5406
public
RECT
GetItemRectResult { get; set; }
5412
RECT
* pRect = (
RECT
*)m.LParam;
5441
RECT
* pRect = (
RECT
*)m.LParam;
System\Windows\Forms\ListViewInsertionMarkTests.cs (7)
217
yield return new object[] { default(
RECT
), Rectangle.Empty };
227
GetInsertMarkRectResult = (
RECT
)getInsertMarkRectResult
236
public
RECT
GetInsertMarkRectResult { get; set; }
242
RECT
* pRect = (
RECT
*)m.LParam;
271
RECT
* pRect = (
RECT
*)m.LParam;
System\Windows\Forms\ListViewTests.cs (7)
4145
yield return new object[] { default(
RECT
), Rectangle.Empty };
4155
GetItemRectResult = (
RECT
)getItemRectResult
4166
public
RECT
GetItemRectResult { get; set; }
4172
RECT
* pRect = (
RECT
*)m.LParam;
4202
RECT
* pRect = (
RECT
*)m.LParam;
System\Windows\Forms\MonthCalendarTests.cs (4)
2460
GetMinReqRectResult = (
RECT
)getMinReqRectResult
2469
public
RECT
GetMinReqRectResult { get; set; }
2475
RECT
* pRect = (
RECT
*)m.LParam;
System\Windows\Forms\TabControlTests.cs (7)
3714
yield return new object[] { default(
RECT
), Rectangle.Empty };
3724
GetItemRectResult = (
RECT
)getItemRectResult
3735
public
RECT
GetItemRectResult { get; set; }
3741
RECT
* pRect = (
RECT
*)m.LParam;
3771
RECT
* pRect = (
RECT
*)m.LParam;
System\Windows\Forms\ToolStripTests.Rendering.cs (1)
37
RECT
[] expectedRects = [
System\Windows\Forms\TreeNodeTests.cs (9)
493
yield return new object[] { default(
RECT
), Rectangle.Empty };
520
GetItemRectResult = (
RECT
)getItemRectResult
1937
yield return new object[] { default(
RECT
), false };
1964
GetItemRectResult = (
RECT
)getItemRectResult
4915
public
RECT
GetItemRectResult { get; set; }
4921
RECT
* pRect = (
RECT
*)m.LParam;
4940
RECT
* pRect = (
RECT
*)m.LParam;
System.Windows.Forms.UI.IntegrationTests (2)
Dpi\DpiMessageHelper.cs (1)
23
RECT
suggestedRect = new(0,
DragDropTests.cs (1)
182
uiAutomationElement.Value->get_CurrentBoundingRectangle(out
RECT
rect);