72 instantiations of RECT
System.Windows.Forms (72)
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
98
NativeMethods.RECT r = new NativeMethods.
RECT
(bounds.X, bounds.Y, bounds.Right, bounds.Bottom);
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
549
NativeMethods.RECT rect = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\ComboBox.cs (10)
1607
NativeMethods.RECT comboRectMid = new NativeMethods.
RECT
();
1612
NativeMethods.RECT editRectMid = new NativeMethods.
RECT
();
1837
NativeMethods.RECT r = new NativeMethods.
RECT
();
1982
NativeMethods.RECT rect = new NativeMethods.
RECT
();
3453
NativeMethods.RECT rect = new NativeMethods.
RECT
();
3723
NativeMethods.RECT r = new NativeMethods.
RECT
();
6109
validRect = new NativeMethods.
RECT
(topOwnerDrawArea);
6114
validRect = new NativeMethods.
RECT
(bottomOwnerDrawArea);
6119
validRect = new NativeMethods.
RECT
(leftOwnerDrawArea);
6124
validRect = new NativeMethods.
RECT
(rightOwnerDrawArea);
winforms\Managed\System\WinForms\CommonDialog.cs (1)
177
NativeMethods.RECT r = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\ContainerControl.cs (1)
715
NativeMethods.RECT clientRectangle = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\Control.cs (14)
541
NativeMethods.RECT rect = new NativeMethods.
RECT
();
2087
NativeMethods.RECT r = new NativeMethods.
RECT
();
2991
NativeMethods.RECT temp = new NativeMethods.
RECT
();
6587
NativeMethods.RECT adornments = new NativeMethods.
RECT
(0, 0, 0, 0);
9403
NativeMethods.RECT rect = new NativeMethods.
RECT
();
10378
NativeMethods.RECT windowRect = new NativeMethods.
RECT
();
11483
NativeMethods.RECT adornments = new NativeMethods.
RECT
(0, 0, 0, 0);
11953
NativeMethods.RECT rect = new NativeMethods.
RECT
(0, 0, width, height);
12516
NativeMethods.RECT rect = new NativeMethods.
RECT
();
12539
NativeMethods.RECT rect = new NativeMethods.
RECT
();
12964
NativeMethods.RECT rc = new NativeMethods.
RECT
();
16193
NativeMethods.RECT rectangle = new NativeMethods.
RECT
();
16685
rc = new NativeMethods.
RECT
(prcBounds.left, prcBounds.top, prcBounds.right, prcBounds.bottom);
19247
destRect = new NativeMethods.
RECT
(0, 0, size.Width, size.Height);
winforms\Managed\System\WinForms\Cursor.cs (1)
184
NativeMethods.RECT r = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\Form.cs (3)
3432
NativeMethods.RECT rc = new NativeMethods.
RECT
();
3593
NativeMethods.RECT result = new NativeMethods.
RECT
(0, 0, clientSize.Width, clientSize.Height);
4456
NativeMethods.RECT ownerRect = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\GroupBox.cs (1)
770
NativeMethods.RECT rect = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\LinkLabel.cs (1)
404
NativeMethods.RECT r = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\ListBox.cs (2)
1505
NativeMethods.RECT rect = new NativeMethods.
RECT
();
1564
NativeMethods.RECT r = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\ListView.cs (3)
3425
NativeMethods.RECT itemrect = new NativeMethods.
RECT
();
3448
NativeMethods.RECT itemrect = new NativeMethods.
RECT
();
3518
NativeMethods.RECT itemrect = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\ListViewInsertionMark.cs (1)
63
NativeMethods.RECT rect = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\MDIClient.cs (1)
292
NativeMethods.RECT rect = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
984
NativeMethods.RECT rect = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\NativeMethods.cs (5)
2826
internal RECT rcMonitor = new
RECT
();
2827
internal RECT rcWork = new
RECT
();
2836
internal RECT rcMonitor = new
RECT
();
2837
internal RECT rcWork = new
RECT
();
3098
return new
RECT
(x, y, x + width, y + height);
winforms\Managed\System\WinForms\SplitContainer.cs (1)
587
NativeMethods.RECT r = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\StatusBarPanel.cs (1)
656
NativeMethods.RECT rect = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\StatusStrip.cs (1)
570
NativeMethods.RECT rootHwndClientArea = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\SystemInformation.cs (1)
448
NativeMethods.RECT rc = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\TabControl.cs (1)
1244
NativeMethods.RECT rect = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\ToolBar.cs (3)
707
NativeMethods.RECT rect = new NativeMethods.
RECT
();
775
NativeMethods.RECT rect = new NativeMethods.
RECT
();
1542
NativeMethods.RECT rc = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\ToolBarButton.cs (1)
334
NativeMethods.RECT rc = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\ToolStripTextBox.cs (2)
638
NativeMethods.RECT rect = new NativeMethods.
RECT
();
734
NativeMethods.RECT ignored = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\ToolTip.cs (9)
1556
NativeMethods.RECT r = new NativeMethods.
RECT
();
1571
NativeMethods.RECT visibleRect = new NativeMethods.
RECT
();
1659
NativeMethods.RECT r = new NativeMethods.
RECT
();
1686
NativeMethods.RECT r = new NativeMethods.
RECT
();
1711
NativeMethods.RECT r = new NativeMethods.
RECT
();
1736
NativeMethods.RECT r = new NativeMethods.
RECT
();
2185
NativeMethods.RECT r = new NativeMethods.
RECT
();
2246
NativeMethods.RECT r = new NativeMethods.
RECT
();
2284
NativeMethods.RECT r = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\TreeNode.cs (3)
281
NativeMethods.RECT rc = new NativeMethods.
RECT
();
301
NativeMethods.RECT rc = new NativeMethods.
RECT
();
634
NativeMethods.RECT rc = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\TreeView.cs (1)
2577
NativeMethods.RECT rc = new NativeMethods.
RECT
();
winforms\Managed\System\WinForms\WinFormsUtils.cs (1)
651
NativeMethods.RECT originalClipRect = new NativeMethods.
RECT
();
177 references to RECT
System.Windows.Forms (177)
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
98
NativeMethods.
RECT
r = new NativeMethods.RECT(bounds.X, bounds.Y, bounds.Right, bounds.Bottom);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (2)
257
NativeMethods.
RECT
rcCheck = NativeMethods.
RECT
.FromXYWH(0, 0, fullSize.Width, fullSize.Height);
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
549
NativeMethods.
RECT
rect = new NativeMethods.RECT();
winforms\Managed\System\WinForms\ComboBox.cs (7)
1607
NativeMethods.
RECT
comboRectMid = new NativeMethods.RECT();
1612
NativeMethods.
RECT
editRectMid = new NativeMethods.RECT();
1837
NativeMethods.
RECT
r = new NativeMethods.RECT();
1982
NativeMethods.
RECT
rect = new NativeMethods.RECT();
3453
NativeMethods.
RECT
rect = new NativeMethods.RECT();
3723
NativeMethods.
RECT
r = new NativeMethods.RECT();
6101
NativeMethods.
RECT
validRect;
winforms\Managed\System\WinForms\CommonDialog.cs (1)
177
NativeMethods.
RECT
r = new NativeMethods.RECT();
winforms\Managed\System\WinForms\ContainerControl.cs (1)
715
NativeMethods.
RECT
clientRectangle = new NativeMethods.RECT();
winforms\Managed\System\WinForms\Control.cs (27)
541
NativeMethods.
RECT
rect = new NativeMethods.RECT();
2087
NativeMethods.
RECT
r = new NativeMethods.RECT();
2991
NativeMethods.
RECT
temp = new NativeMethods.RECT();
6587
NativeMethods.
RECT
adornments = new NativeMethods.RECT(0, 0, 0, 0);
7313
NativeMethods.
RECT
rcArea = NativeMethods.
RECT
.FromXYWH(rc.X, rc.Y, rc.Width, rc.Height);
7321
NativeMethods.
RECT
rcArea =
7322
NativeMethods.
RECT
.FromXYWH(rc.X, rc.Y, rc.Width,
7757
internal void AdjustWindowRectEx(ref NativeMethods.
RECT
rect, int style, bool bMenu, int exStyle) {
9403
NativeMethods.
RECT
rect = new NativeMethods.RECT();
10378
NativeMethods.
RECT
windowRect = new NativeMethods.RECT();
11061
NativeMethods.
RECT
rect = NativeMethods.
RECT
.FromXYWH(r.X, r.Y, r.Width, r.Height);
11078
NativeMethods.
RECT
rect = NativeMethods.
RECT
.FromXYWH(r.X, r.Y, r.Width, r.Height);
11483
NativeMethods.
RECT
adornments = new NativeMethods.RECT(0, 0, 0, 0);
11762
internal IntPtr SendMessage(int msg, int wparam, ref NativeMethods.
RECT
lparam) {
11953
NativeMethods.
RECT
rect = new NativeMethods.RECT(0, 0, width, height);
12516
NativeMethods.
RECT
rect = new NativeMethods.RECT();
12539
NativeMethods.
RECT
rect = new NativeMethods.RECT();
12964
NativeMethods.
RECT
rc = new NativeMethods.RECT();
16193
NativeMethods.
RECT
rectangle = new NativeMethods.RECT();
16671
NativeMethods.
RECT
rc;
18406
NativeMethods.
RECT
rcIntersect = NativeMethods.
RECT
.FromXYWH(intersect.X, intersect.Y, intersect.Width, intersect.Height);
19232
NativeMethods.
RECT
destRect;
19293
private unsafe bool DICopy(HandleRef hdcDest, HandleRef hdcSrc, NativeMethods.
RECT
rect, bool bStretch) {
winforms\Managed\System\WinForms\ControlPaint.cs (6)
954
NativeMethods.
RECT
rc = NativeMethods.
RECT
.FromXYWH(x, y, width, height);
1278
NativeMethods.
RECT
rcCheck = NativeMethods.
RECT
.FromXYWH(0, 0, rectangle.Width, rectangle.Height);
1361
NativeMethods.
RECT
rcFrame = NativeMethods.
RECT
.FromXYWH(0, 0, width, height);
winforms\Managed\System\WinForms\Cursor.cs (3)
184
NativeMethods.
RECT
r = new NativeMethods.RECT();
193
NativeMethods.
RECT
rcClip = NativeMethods.
RECT
.FromXYWH(value.X, value.Y, value.Width, value.Height);
winforms\Managed\System\WinForms\DataGrid.cs (9)
148
private NativeMethods.
RECT
[] cachedScrollableRegion = null;
2287
NativeMethods.
RECT
[] rects = CreateScrollableRegion(scroll);
2293
private void ScrollRectangles(NativeMethods.
RECT
[] rects, int change) {
2295
NativeMethods.
RECT
scroll;
5755
private NativeMethods.
RECT
[] CreateScrollableRegion(Rectangle scroll) {
8628
NativeMethods.
RECT
scrollArea = NativeMethods.
RECT
.FromXYWH(rowsRect.X, rowsRect.Y, rowsRect.Width, rowsRect.Height);
8881
NativeMethods.
RECT
scrollRECT = NativeMethods.
RECT
.FromXYWH(underParentRows.X, underParentRows.Y - layout.ParentRows.Height, underParentRows.Width, underParentRows.Height + layout.ParentRows.Height);
winforms\Managed\System\WinForms\DataGridToolTip.cs (1)
71
toolInfo.rect = NativeMethods.
RECT
.FromXYWH(iconBounds.X, iconBounds.Y, iconBounds.Width, iconBounds.Height);
winforms\Managed\System\WinForms\DataGridView.cs (2)
398
private NativeMethods.
RECT
[] cachedScrollableRegion;
3468
NativeMethods.
RECT
[] rects = CreateScrollableRegion(rectTmp);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (2)
1433
NativeMethods.
RECT
rcCheck = NativeMethods.
RECT
.FromXYWH(0, 0, fullSize.Width, fullSize.Height);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (5)
5428
private NativeMethods.
RECT
[] CreateScrollableRegion(Rectangle scroll)
26347
private void ScrollRectangles(NativeMethods.
RECT
[] rects, int change)
26356
NativeMethods.
RECT
scroll;
26470
NativeMethods.
RECT
scrollArea = NativeMethods.
RECT
.FromXYWH(rowsRect.X, rowsRect.Y, rowsRect.Width, rowsRect.Height);
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (2)
701
private void DrawTreeItem(string itemText, int imageIndex, IntPtr dc, NativeMethods.
RECT
rcIn,
833
private void FillRectDither(IntPtr dc, NativeMethods.
RECT
rc) {
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
1226
toolInfo.rect = NativeMethods.
RECT
.FromXYWH(iconBounds.X, iconBounds.Y, iconBounds.Width, iconBounds.Height);
winforms\Managed\System\WinForms\Form.cs (4)
3432
NativeMethods.
RECT
rc = new NativeMethods.RECT();
3593
NativeMethods.
RECT
result = new NativeMethods.RECT(0, 0, clientSize.Width, clientSize.Height);
4456
NativeMethods.
RECT
ownerRect = new NativeMethods.RECT();
7858
toolInfo.rect = NativeMethods.
RECT
.FromXYWH(r.X, r.Y, r.Width, r.Height);
winforms\Managed\System\WinForms\GroupBox.cs (1)
770
NativeMethods.
RECT
rect = new NativeMethods.RECT();
winforms\Managed\System\WinForms\LinkLabel.cs (1)
404
NativeMethods.
RECT
r = new NativeMethods.RECT();
winforms\Managed\System\WinForms\ListBox.cs (2)
1505
NativeMethods.
RECT
rect = new NativeMethods.RECT();
1564
NativeMethods.
RECT
r = new NativeMethods.RECT();
winforms\Managed\System\WinForms\ListView.cs (4)
3425
NativeMethods.
RECT
itemrect = new NativeMethods.RECT();
3448
NativeMethods.
RECT
itemrect = new NativeMethods.RECT();
3518
NativeMethods.
RECT
itemrect = new NativeMethods.RECT();
4573
prc = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(NativeMethods.
RECT
)));
winforms\Managed\System\WinForms\ListViewInsertionMark.cs (1)
63
NativeMethods.
RECT
rect = new NativeMethods.RECT();
winforms\Managed\System\WinForms\MDIClient.cs (1)
292
NativeMethods.
RECT
rect = new NativeMethods.RECT();
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
984
NativeMethods.
RECT
rect = new NativeMethods.RECT();
winforms\Managed\System\WinForms\NativeMethods.cs (14)
2802
internal
RECT
rcMargins =
RECT
.FromXYWH(-1, -1, -1, -1); // amount of space between edges of window and text, -1 for each member to ignore
2826
internal
RECT
rcMonitor = new RECT();
2827
internal
RECT
rcWork = new RECT();
2836
internal
RECT
rcMonitor = new RECT();
2837
internal
RECT
rcWork = new RECT();
3097
public static
RECT
FromXYWH(int x, int y, int width, int height) {
4765
public
RECT
rect;
4779
public
RECT
rect;
5032
public
RECT
rcItem;
5234
public
RECT
rc;
5298
public
RECT
rcText;
5466
public
RECT
rcLabelMargin;
5836
public
RECT
rc;
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (2)
749
NativeMethods.
RECT
scroll = NativeMethods.
RECT
.FromXYWH(rect.X, rect.Y, rect.Width, rect.Height);
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (2)
180
NativeMethods.
RECT
rect = NativeMethods.
RECT
.FromXYWH(itemRect.X, itemRect.Y, itemRect.Width, itemRect.Height);
winforms\Managed\System\WinForms\SafeNativeMethods.cs (17)
339
public static extern IntPtr MonitorFromRect(ref NativeMethods.
RECT
rect, int flags);
469
public extern static bool GetClipCursor([In, Out] ref NativeMethods.
RECT
lpRect);
493
public static extern bool AdjustWindowRectEx(ref NativeMethods.
RECT
lpRect, int dwStyle, bool bMenu, int dwExStyle);
498
public static extern bool AdjustWindowRectExForDpi(ref NativeMethods.
RECT
lpRect, int dwStyle, bool bMenu, int dwExStyle, uint dpi);
511
public static extern bool GetClientRect(HandleRef hWnd, [In, Out] ref NativeMethods.
RECT
rect);
520
public static extern bool ValidateRect(HandleRef hWnd, [In, Out] ref NativeMethods.
RECT
rect);
537
public static extern int FillRect(HandleRef hdc, [In] ref NativeMethods.
RECT
rect, HandleRef hbrush);
578
public static extern bool LPtoDP(HandleRef hDC, [In, Out] ref NativeMethods.
RECT
lpRect, int nCount);
635
public static extern bool RedrawWindow(HandleRef hwnd, ref NativeMethods.
RECT
rcUpdate, HandleRef hrgnUpdate, int flags);
641
public static extern bool InvalidateRect(HandleRef hWnd, ref NativeMethods.
RECT
rect, bool erase);
656
public static extern int ScrollWindowEx(HandleRef hWnd, int nXAmount, int nYAmount, NativeMethods.COMRECT rectScrollRegion, ref NativeMethods.
RECT
rectClip, HandleRef hrgnUpdate, ref NativeMethods.
RECT
prcUpdate, int flags);
687
public static extern bool ScrollWindow(HandleRef hWnd, int nXAmount, int nYAmount, ref NativeMethods.
RECT
rectScrollRegion, ref NativeMethods.
RECT
rectClip);
705
public static extern bool DrawEdge(HandleRef hDC, ref NativeMethods.
RECT
rect, int edge, int flags);
708
public static extern bool DrawFrameControl(HandleRef hDC, ref NativeMethods.
RECT
rect, int type, int state);
714
public static extern int GetRgnBox(HandleRef hRegion, ref NativeMethods.
RECT
clipRect);
winforms\Managed\System\WinForms\Screen.cs (2)
328
NativeMethods.
RECT
rc = NativeMethods.
RECT
.FromXYWH(rect.X, rect.Y, rect.Width, rect.Height);
winforms\Managed\System\WinForms\ScrollableControl.cs (4)
876
NativeMethods.
RECT
rcClip = NativeMethods.
RECT
.FromXYWH(cr.X, cr.Y, cr.Width, cr.Height);
877
NativeMethods.
RECT
rcUpdate = NativeMethods.
RECT
.FromXYWH(cr.X, cr.Y, cr.Width, cr.Height);
winforms\Managed\System\WinForms\SplitContainer.cs (1)
587
NativeMethods.
RECT
r = new NativeMethods.RECT();
winforms\Managed\System\WinForms\StatusBar.cs (1)
1888
ti.rect = NativeMethods.
RECT
.FromXYWH(tool.rect.X, tool.rect.Y, tool.rect.Width, tool.rect.Height);
winforms\Managed\System\WinForms\StatusBarPanel.cs (1)
656
NativeMethods.
RECT
rect = new NativeMethods.RECT();
winforms\Managed\System\WinForms\StatusStrip.cs (1)
570
NativeMethods.
RECT
rootHwndClientArea = new NativeMethods.RECT();
winforms\Managed\System\WinForms\SystemInformation.cs (1)
448
NativeMethods.
RECT
rc = new NativeMethods.RECT();
winforms\Managed\System\WinForms\TabControl.cs (3)
414
NativeMethods.
RECT
rect = NativeMethods.
RECT
.FromXYWH(bounds.X, bounds.Y, bounds.Width, bounds.Height);
1244
NativeMethods.
RECT
rect = new NativeMethods.RECT();
winforms\Managed\System\WinForms\ToolBar.cs (3)
707
NativeMethods.
RECT
rect = new NativeMethods.RECT();
775
NativeMethods.
RECT
rect = new NativeMethods.RECT();
1542
NativeMethods.
RECT
rc = new NativeMethods.RECT();
winforms\Managed\System\WinForms\ToolBarButton.cs (1)
334
NativeMethods.
RECT
rc = new NativeMethods.RECT();
winforms\Managed\System\WinForms\ToolStripTextBox.cs (5)
636
private NativeMethods.
RECT
AbsoluteClientRECT {
638
NativeMethods.
RECT
rect = new NativeMethods.RECT();
660
NativeMethods.
RECT
rect = AbsoluteClientRECT;
720
NativeMethods.
RECT
absoluteClientRectangle = AbsoluteClientRECT;
734
NativeMethods.
RECT
ignored = new NativeMethods.RECT();
winforms\Managed\System\WinForms\ToolTip.cs (9)
1556
NativeMethods.
RECT
r = new NativeMethods.RECT();
1571
NativeMethods.
RECT
visibleRect = new NativeMethods.RECT();
1659
NativeMethods.
RECT
r = new NativeMethods.RECT();
1686
NativeMethods.
RECT
r = new NativeMethods.RECT();
1711
NativeMethods.
RECT
r = new NativeMethods.RECT();
1736
NativeMethods.
RECT
r = new NativeMethods.RECT();
2185
NativeMethods.
RECT
r = new NativeMethods.RECT();
2246
NativeMethods.
RECT
r = new NativeMethods.RECT();
2284
NativeMethods.
RECT
r = new NativeMethods.RECT();
winforms\Managed\System\WinForms\TreeNode.cs (3)
281
NativeMethods.
RECT
rc = new NativeMethods.RECT();
301
NativeMethods.
RECT
rc = new NativeMethods.RECT();
634
NativeMethods.
RECT
rc = new NativeMethods.RECT();
winforms\Managed\System\WinForms\TreeView.cs (1)
2577
NativeMethods.
RECT
rc = new NativeMethods.RECT();
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (19)
856
public static extern int MapWindowPoints(HandleRef hWndFrom, HandleRef hWndTo, [In, Out] ref NativeMethods.
RECT
rect, int cPoints);
1050
public extern static IntPtr SendMessage(HandleRef hWnd, int Msg, IntPtr wParam, [In, Out] ref NativeMethods.
RECT
lParam);
1062
public extern static IntPtr SendMessage(HandleRef hWnd, int Msg, int wParam, [In, Out] ref NativeMethods.
RECT
lParam);
1081
public static extern bool GetWindowRect(HandleRef hWnd, [In, Out] ref NativeMethods.
RECT
rect);
1157
public static extern bool SystemParametersInfo(int nAction, int nParam, ref NativeMethods.
RECT
rc, int nUpdate);
1513
public static extern bool ClipCursor(ref NativeMethods.
RECT
rcClip);
1578
public static extern bool GetClientRect(HandleRef hWnd, [In, Out] ref NativeMethods.
RECT
rect);
1663
public unsafe static NativeMethods.
RECT
[] GetRectsFromRegion(IntPtr hRgn) {
1664
NativeMethods.
RECT
[] regionRects = null;
1677
regionRects = new NativeMethods.
RECT
[pRgnDataHeader->nCount];
1680
Debug.Assert(Marshal.SizeOf(typeof(NativeMethods.
RECT
)) == pRgnDataHeader->nRgnSize || pRgnDataHeader->nRgnSize == 0);
1686
regionRects[i] = *((NativeMethods.
RECT
*)((byte*)pBytes + rectStart + (Marshal.SizeOf(typeof(NativeMethods.
RECT
)) * i)));
7732
ref NativeMethods.
RECT
prcView);
7737
ref NativeMethods.
RECT
prcView);
7742
NativeMethods.
RECT
prcView,
7744
NativeMethods.
RECT
prcHScroll,
7746
NativeMethods.
RECT
prcVScroll,
7748
NativeMethods.
RECT
prcSizeBox);
winforms\Managed\System\WinForms\WinFormsUtils.cs (1)
651
NativeMethods.
RECT
originalClipRect = new NativeMethods.RECT();