63 instantiations of Win32Rect
UIAutomationClientSideProviders (63)
MS\Internal\AutomationProxies\ClickablePoint.cs (2)
151NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(simple.BoundingRectangle); 239NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\Misc.cs (12)
249rc = new NativeMethods.Win32Rect(leftTop.x, leftTop.y, rightBottom.x, rightBottom.y); 813NativeMethods.Win32Rect clientRect = new NativeMethods.Win32Rect(0, 0, 0, 0); 817NativeMethods.Win32Rect intersection = new NativeMethods.Win32Rect(0, 0, 0, 0); 826NativeMethods.Win32Rect intersection = new NativeMethods.Win32Rect(0, 0, 0, 0); 835NativeMethods.Win32Rect itemRc = new NativeMethods.Win32Rect(itemRect); 836NativeMethods.Win32Rect intersection = new NativeMethods.Win32Rect(0, 0, 0, 0); 845NativeMethods.Win32Rect parentRc = new NativeMethods.Win32Rect(parentRect); 846NativeMethods.Win32Rect intersection = new NativeMethods.Win32Rect(0, 0, 0, 0); 855NativeMethods.Win32Rect itemRc = new NativeMethods.Win32Rect(itemRect); 856NativeMethods.Win32Rect parentRc = new NativeMethods.Win32Rect(parentRect); 857NativeMethods.Win32Rect intersection = new NativeMethods.Win32Rect(0, 0, 0, 0); 1372NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\NonClientArea.cs (2)
111NativeMethods.Win32Rect clientRect = new NativeMethods.Win32Rect(); 112NativeMethods.Win32Rect windowRect = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
473NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect ();
MS\Internal\AutomationProxies\ProxySimple.cs (3)
329NativeMethods.Win32Rect itemWin32Rect = new NativeMethods.Win32Rect(itemRect); 571NativeMethods.Win32Rect rcItem = new NativeMethods.Win32Rect(BoundingRectangle); 577NativeMethods.Win32Rect rcOutside = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\WindowsAltTab.cs (2)
130NativeMethods.Win32Rect clientRect = new NativeMethods.Win32Rect(); 385new NativeMethods.Win32Rect(left, top, left + cxItem, top + cyItem);
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
118NativeMethods.Win32Rect rcCombo = new NativeMethods.Win32Rect (base.BoundingRectangle);
MS\Internal\AutomationProxies\WindowsEditBox.cs (4)
360NativeMethods.Win32Rect clientRect = new NativeMethods.Win32Rect(); 565NativeMethods.Win32Rect rect = new NativeMethods.Win32Rect(); 594NativeMethods.Win32Rect rect = new NativeMethods.Win32Rect(); 719NativeMethods.Win32Rect rect = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\WindowsGrip.cs (2)
50NativeMethods.Win32Rect client = new NativeMethods.Win32Rect(); 83NativeMethods.Win32Rect client = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\WindowsListBox.cs (2)
286NativeMethods.Win32Rect listboxrect = new NativeMethods.Win32Rect (); 1052NativeMethods.Win32Rect itemRect = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (2)
700NativeMethods.Win32Rect rect = new NativeMethods.Win32Rect(); 819return new NativeMethods.Win32Rect(sbi.rcScrollBar.left, sbi.rcScrollBar.top, sbi.rcScrollBar.right, sbi.rcScrollBar.bottom);
MS\Internal\AutomationProxies\WindowsListViewGroupSubsetLink.cs (1)
74NativeMethods.Win32Rect rect = new NativeMethods.Win32Rect
MS\Internal\AutomationProxies\WindowsListViewItem.cs (3)
853NativeMethods.Win32Rect listViewRect = new NativeMethods.Win32Rect(); 854NativeMethods.Win32Rect headerRect = new NativeMethods.Win32Rect(); 862new NativeMethods.Win32Rect(BoundingRectangle);
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (3)
167return new NativeMethods.Win32Rect (controlRectangle.left, rc.top, right, rc.bottom); 189return new NativeMethods.Win32Rect (selectable.right, wholeItem.top, wholeItem.right, wholeItem.bottom); 193return new NativeMethods.Win32Rect (wholeItem.left, wholeItem.top, selectable.left, wholeItem.bottom);
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
1415NativeMethods.Win32Rect itemWin32Rect = new NativeMethods.Win32Rect(itemRect);
MS\Internal\AutomationProxies\WindowsRebar.cs (1)
123NativeMethods.Win32Rect rebarRect = new NativeMethods.Win32Rect ();
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
170NativeMethods.Win32Rect w32rect = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\WindowsScrollBar.cs (1)
330NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(WindowsScrollBarBits.GetBoundingRectangle(_hwnd, this, item, _sbFlag));
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (2)
297NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(sbi.rcScrollBar.left, sbi.xyThumbTop, sbi.rcScrollBar.right, sbi.xyThumbBottom); 389NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(sbi.xyThumbTop, sbi.rcScrollBar.top, sbi.xyThumbBottom, sbi.rcScrollBar.bottom);
MS\Internal\AutomationProxies\WindowsSlider.cs (3)
138NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect (SliderItem.GetBoundingRectangle (_hwnd, item, _fHorizontal)); 456NativeMethods.Win32Rect rcChannel = new NativeMethods.Win32Rect (); 468NativeMethods.Win32Rect rcThumb = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\WindowsStatusBar.cs (4)
224NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect (WindowsStatusBarPane.GetBoundingRectangle (_hwnd, item)); 797NativeMethods.Win32Rect client = new NativeMethods.Win32Rect(); 810return new NativeMethods.Win32Rect(client.left, client.bottom - sizeGrip.cy, client.left + sizeGrip.cx, client.bottom); 814return new NativeMethods.Win32Rect(client.right - sizeGrip.cx, client.bottom - sizeGrip.cy, client.right, client.bottom);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (1)
719NativeMethods.Win32Rect rectW32 = new NativeMethods.Win32Rect(rect);
MS\Internal\AutomationProxies\WindowsTab.cs (3)
574NativeMethods.Win32Rect viewable = new NativeMethods.Win32Rect 595NativeMethods.Win32Rect rectW32 = new NativeMethods.Win32Rect (); 1275NativeMethods.Win32Rect rectW32 = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
211NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect (ToolbarItem.GetBoundingRectangle (_hwnd, item));
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
909NativeMethods.Win32Rect itemWin32Rect = new NativeMethods.Win32Rect(itemRect);
MS\Internal\AutomationProxies\WindowsUpDown.cs (3)
185NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect (SpinButtonItem.GetBoundingRectangle (_hwnd, item)); 531NativeMethods.Win32Rect updownRect = new NativeMethods.Win32Rect(); 559NativeMethods.Win32Rect updownRect = new NativeMethods.Win32Rect();
MS\Win32\NativeMethods.cs (1)
1204return new Win32Rect (0, 0, 0, 0);
210 references to Win32Rect
UIAutomationClientSideProviders (210)
MS\Internal\AutomationProxies\Accessible.cs (9)
544NativeMethods.Win32Rect rcW32 = GetLocation(_acc, _idChild); 1023NativeMethods.Win32Rect rect1 = GetLocation(_acc, _idChild); 1024NativeMethods.Win32Rect rect2 = GetLocation(acc, idChild); 1259internal static NativeMethods.Win32Rect GetLocation(IAccessible acc, int idChild) 1262NativeMethods.Win32Rect rect = NativeMethods.Win32Rect.Empty; 1277return NativeMethods.Win32Rect.Empty; 1413NativeMethods.Win32Rect ownLoc = GetLocation(old, NativeMethods.CHILD_SELF); 1434NativeMethods.Win32Rect loc = GetLocation(accChild, NativeMethods.CHILD_SELF);
MS\Internal\AutomationProxies\ClickablePoint.cs (3)
151NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(simple.BoundingRectangle); 199internal CPRect(ref NativeMethods.Win32Rect rc, bool fRiAsInsideRect) 239NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\CommonXSendMessage.cs (4)
1171NativeMethods.Win32Rect rectW32 = NativeMethods.Win32Rect.Empty; 2525internal NativeMethods.Win32Rect rect; 2569internal NativeMethods.Win32Rect rect;
MS\Internal\AutomationProxies\Misc.cs (30)
228internal static bool GetClientRectInScreenCoordinates(IntPtr hwnd, ref NativeMethods.Win32Rect rc) 230rc = NativeMethods.Win32Rect.Empty; 253internal static bool GetClientRect(IntPtr hwnd, ref NativeMethods.Win32Rect rc) 462internal static bool GetMenuItemRect(IntPtr hwnd, IntPtr hmenu, int item, out NativeMethods.Win32Rect rc) 670internal static bool GetWindowRect(IntPtr hwnd, ref NativeMethods.Win32Rect rc) 776internal static bool IntersectRect(ref NativeMethods.Win32Rect rcDest, ref NativeMethods.Win32Rect rc1, ref NativeMethods.Win32Rect rc2) 811static internal bool IsItemVisible(IntPtr hwnd, ref NativeMethods.Win32Rect itemRect) 813NativeMethods.Win32Rect clientRect = new NativeMethods.Win32Rect(0, 0, 0, 0); 817NativeMethods.Win32Rect intersection = new NativeMethods.Win32Rect(0, 0, 0, 0); 824static internal bool IsItemVisible(ref NativeMethods.Win32Rect parentRect, ref NativeMethods.Win32Rect itemRect) 826NativeMethods.Win32Rect intersection = new NativeMethods.Win32Rect(0, 0, 0, 0); 833static internal bool IsItemVisible(ref NativeMethods.Win32Rect parentRect, ref Rect itemRect) 835NativeMethods.Win32Rect itemRc = new NativeMethods.Win32Rect(itemRect); 836NativeMethods.Win32Rect intersection = new NativeMethods.Win32Rect(0, 0, 0, 0); 843static internal bool IsItemVisible(ref Rect parentRect, ref NativeMethods.Win32Rect itemRect) 845NativeMethods.Win32Rect parentRc = new NativeMethods.Win32Rect(parentRect); 846NativeMethods.Win32Rect intersection = new NativeMethods.Win32Rect(0, 0, 0, 0); 855NativeMethods.Win32Rect itemRc = new NativeMethods.Win32Rect(itemRect); 856NativeMethods.Win32Rect parentRc = new NativeMethods.Win32Rect(parentRect); 857NativeMethods.Win32Rect intersection = new NativeMethods.Win32Rect(0, 0, 0, 0); 891internal static bool MapWindowPoints(IntPtr hWndFrom, IntPtr hWndTo, ref NativeMethods.Win32Rect rect, int cPoints) 1328internal static IntPtr ProxySendMessage(IntPtr hwnd, int msg, IntPtr wParam, ref NativeMethods.Win32Rect lParam) 1359internal static bool PtInRect(ref NativeMethods.Win32Rect rc, int x, int y) 1372NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(); 1717internal static bool UnionRect(out NativeMethods.Win32Rect rcDst, ref NativeMethods.Win32Rect rc1, ref NativeMethods.Win32Rect rc2)
MS\Internal\AutomationProxies\NonClientArea.cs (2)
111NativeMethods.Win32Rect clientRect = new NativeMethods.Win32Rect(); 112NativeMethods.Win32Rect windowRect = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\ProxyHwnd.cs (3)
240NativeMethods.Win32Rect parentRect = NativeMethods.Win32Rect.Empty; 473NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect ();
MS\Internal\AutomationProxies\ProxySimple.cs (5)
97NativeMethods.Win32Rect controlRectangle = NativeMethods.Win32Rect.Empty; 329NativeMethods.Win32Rect itemWin32Rect = new NativeMethods.Win32Rect(itemRect); 571NativeMethods.Win32Rect rcItem = new NativeMethods.Win32Rect(BoundingRectangle); 577NativeMethods.Win32Rect rcOutside = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\WindowsAltTab.cs (4)
130NativeMethods.Win32Rect clientRect = new NativeMethods.Win32Rect(); 373private NativeMethods.Win32Rect GetBoundingRect() 384NativeMethods.Win32Rect itemRect = 390itemRect = NativeMethods.Win32Rect.Empty;
MS\Internal\AutomationProxies\WindowsComboBox.cs (6)
118NativeMethods.Win32Rect rcCombo = new NativeMethods.Win32Rect (base.BoundingRectangle); 128NativeMethods.Win32Rect rcList = NativeMethods.Win32Rect.Empty; 266NativeMethods.Win32Rect rcList = NativeMethods.Win32Rect.Empty; 549cbInfo.rcItem = NativeMethods.Win32Rect.Empty;
MS\Internal\AutomationProxies\WindowsEditBox.cs (4)
360NativeMethods.Win32Rect clientRect = new NativeMethods.Win32Rect(); 565NativeMethods.Win32Rect rect = new NativeMethods.Win32Rect(); 594NativeMethods.Win32Rect rect = new NativeMethods.Win32Rect(); 719NativeMethods.Win32Rect rect = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\WindowsGrip.cs (2)
50NativeMethods.Win32Rect client = new NativeMethods.Win32Rect(); 83NativeMethods.Win32Rect client = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\WindowsHyperlink.cs (2)
440NativeMethods.Win32Rect BoundingRect = NativeMethods.Win32Rect.Empty;
MS\Internal\AutomationProxies\WindowsListBox.cs (4)
286NativeMethods.Win32Rect listboxrect = new NativeMethods.Win32Rect (); 1050private NativeMethods.Win32Rect BoundingRect() 1052NativeMethods.Win32Rect itemRect = new NativeMethods.Win32Rect(); 1054return Misc.MapWindowPoints(_hwnd, IntPtr.Zero, ref itemRect, 2) ? itemRect : NativeMethods.Win32Rect.Empty;
MS\Internal\AutomationProxies\WindowsListView.cs (5)
412NativeMethods.Win32Rect rc = manager.GetGroupRcByIndex (i); 1263static internal unsafe bool GetItemRect (IntPtr hwnd, int item, int lvir, out NativeMethods.Win32Rect itemRectangle) 1265itemRectangle = NativeMethods.Win32Rect.Empty; 1486static public unsafe bool GetSubItemRect (IntPtr hwnd, int item, int subItem, int lvir, out NativeMethods.Win32Rect itemRectangle) 1488itemRectangle = NativeMethods.Win32Rect.Empty;
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (9)
72NativeMethods.Win32Rect itemRectangle = manager.GetGroupRc(ID); 682static private NewItemInDimension IsNewColumn (NativeMethods.Win32Rect rc1, NativeMethods.Win32Rect rc2) 720static private NewItemInDimension IsNewRow (NativeMethods.Win32Rect rc1, NativeMethods.Win32Rect rc2) 789NativeMethods.Win32Rect rc; 790NativeMethods.Win32Rect rcNext; 849private delegate NewItemInDimension IsNewItemInDimension (NativeMethods.Win32Rect rc1, NativeMethods.Win32Rect rc2);
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (19)
124internal NativeMethods.Win32Rect GetGroupRc(int id) 130return NativeMethods.Win32Rect.Empty; 135internal NativeMethods.Win32Rect GetGroupRcByIndex(int index) 139return NativeMethods.Win32Rect.Empty; 485private NativeMethods.Win32Rect GetGroupRcInternal(Group group) 487NativeMethods.Win32Rect rcGroup = group.GetGroupRect(); 618NativeMethods.Win32Rect rc1; 621NativeMethods.Win32Rect rc2; 698internal unsafe NativeMethods.Win32Rect GetGroupRect() 700NativeMethods.Win32Rect rect = new NativeMethods.Win32Rect(); 711internal NativeMethods.Win32Rect CalculateRectNoHeader() 713NativeMethods.Win32Rect rcLv = NativeMethods.Win32Rect.Empty; 717return NativeMethods.Win32Rect.Empty; 721NativeMethods.Win32Rect item; 724NativeMethods.Win32Rect groupRc; 746NativeMethods.Win32Rect rc = GetScrollbarRect(); 812private NativeMethods.Win32Rect GetScrollbarRect() 822return NativeMethods.Win32Rect.Empty;
MS\Internal\AutomationProxies\WindowsListViewGroupSubsetLink.cs (1)
74NativeMethods.Win32Rect rect = new NativeMethods.Win32Rect
MS\Internal\AutomationProxies\WindowsListViewItem.cs (7)
98NativeMethods.Win32Rect itemRectangle = NativeMethods.Win32Rect.Empty; 340NativeMethods.Win32Rect checkboxRectangle = ListViewItemCheckbox.ListViewCheckBoxRect (_hwnd, _item); 853NativeMethods.Win32Rect listViewRect = new NativeMethods.Win32Rect(); 854NativeMethods.Win32Rect headerRect = new NativeMethods.Win32Rect(); 861NativeMethods.Win32Rect itemRect = 916NativeMethods.Win32Rect itemRectangle;
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (12)
74NativeMethods.Win32Rect itemRect = ListViewCheckBoxRect(_hwnd, _listviewItem); 145internal static NativeMethods.Win32Rect ListViewCheckBoxRect (IntPtr hwnd, int item) 151NativeMethods.Win32Rect controlRectangle = NativeMethods.Win32Rect.Empty; 155return NativeMethods.Win32Rect.Empty; 161NativeMethods.Win32Rect rc; 173NativeMethods.Win32Rect wholeItem; 177return NativeMethods.Win32Rect.Empty; 180NativeMethods.Win32Rect selectable; 184return NativeMethods.Win32Rect.Empty; 197return NativeMethods.Win32Rect.Empty; 247NativeMethods.Win32Rect rc = ListViewCheckBoxRect(_hwnd, _listviewItem);
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (3)
74NativeMethods.Win32Rect itemRectangle; 91NativeMethods.Win32Rect itemRectangle1; 111NativeMethods.Win32Rect checkboxRectangle = ListViewItemCheckbox.ListViewCheckBoxRect (_hwnd, _itemParent);
MS\Internal\AutomationProxies\WindowsMenu.cs (2)
1274NativeMethods.Win32Rect rc; 1415NativeMethods.Win32Rect itemWin32Rect = new NativeMethods.Win32Rect(itemRect);
MS\Internal\AutomationProxies\WindowsRebar.cs (3)
123NativeMethods.Win32Rect rebarRect = new NativeMethods.Win32Rect (); 396NativeMethods.Win32Rect rectW32 = NativeMethods.Win32Rect.Empty;
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
170NativeMethods.Win32Rect w32rect = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\WindowsScrollBar.cs (1)
330NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(WindowsScrollBarBits.GetBoundingRectangle(_hwnd, this, item, _sbFlag));
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (2)
297NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(sbi.rcScrollBar.left, sbi.xyThumbTop, sbi.rcScrollBar.right, sbi.xyThumbBottom); 389NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(sbi.xyThumbTop, sbi.rcScrollBar.top, sbi.xyThumbBottom, sbi.rcScrollBar.bottom);
MS\Internal\AutomationProxies\WindowsSlider.cs (3)
138NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect (SliderItem.GetBoundingRectangle (_hwnd, item, _fHorizontal)); 456NativeMethods.Win32Rect rcChannel = new NativeMethods.Win32Rect (); 468NativeMethods.Win32Rect rcThumb = new NativeMethods.Win32Rect();
MS\Internal\AutomationProxies\WindowsStatusBar.cs (8)
224NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect (WindowsStatusBarPane.GetBoundingRectangle (_hwnd, item)); 235NativeMethods.Win32Rect rc = StatusBarGrip.GetBoundingRectangle (_hwnd); 364NativeMethods.Win32Rect rc = NativeMethods.Win32Rect.Empty; 790internal static NativeMethods.Win32Rect GetBoundingRectangle (IntPtr hwnd) 794return NativeMethods.Win32Rect.Empty; 797NativeMethods.Win32Rect client = new NativeMethods.Win32Rect(); 800return NativeMethods.Win32Rect.Empty;
MS\Internal\AutomationProxies\WindowsSysHeader.cs (9)
423NativeMethods.Win32Rect itemRect = BoundingRect(); 433NativeMethods.Win32Rect parentRect = NativeMethods.Win32Rect.Empty; 560private NativeMethods.Win32Rect BoundingRect () 564NativeMethods.Win32Rect rectW32 = NativeMethods.Win32Rect.Empty; 576return NativeMethods.Win32Rect.Empty; 631return NativeMethods.Win32Rect.Empty; 719NativeMethods.Win32Rect rectW32 = new NativeMethods.Win32Rect(rect);
MS\Internal\AutomationProxies\WindowsTab.cs (8)
574NativeMethods.Win32Rect viewable = new NativeMethods.Win32Rect 595NativeMethods.Win32Rect rectW32 = new NativeMethods.Win32Rect (); 654NativeMethods.Win32Rect rectW32 = NativeMethods.Win32Rect.Empty; 1273private unsafe NativeMethods.Win32Rect BoundingRect() 1275NativeMethods.Win32Rect rectW32 = new NativeMethods.Win32Rect(); 1279return NativeMethods.Win32Rect.Empty; 1282return Misc.MapWindowPoints(_hwnd, IntPtr.Zero, ref rectW32, 2) ? rectW32 : NativeMethods.Win32Rect.Empty;
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
211NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect (ToolbarItem.GetBoundingRectangle (_hwnd, item));
MS\Internal\AutomationProxies\WindowsTreeView.cs (8)
545private static unsafe NativeMethods.Win32Rect GetItemRect (IntPtr hwnd, IntPtr treeItem, bool labelOnly) 547NativeMethods.Win32Rect rc = NativeMethods.Win32Rect.Empty; 559return NativeMethods.Win32Rect.Empty; 566return Misc.MapWindowPoints(hwnd, IntPtr.Zero, ref rc, 2) ? rc : NativeMethods.Win32Rect.Empty; 846NativeMethods.Win32Rect itemRect = GetItemRect(_hwnd, _hItem, true); 909NativeMethods.Win32Rect itemWin32Rect = new NativeMethods.Win32Rect(itemRect); 1456NativeMethods.Win32Rect rectItem = WindowsTreeView.GetItemRect(_hwnd, _hItem, true);
MS\Internal\AutomationProxies\WindowsUpDown.cs (3)
185NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect (SpinButtonItem.GetBoundingRectangle (_hwnd, item)); 531NativeMethods.Win32Rect updownRect = new NativeMethods.Win32Rect(); 559NativeMethods.Win32Rect updownRect = new NativeMethods.Win32Rect();
MS\Win32\NativeMethods.cs (11)
1200static internal Win32Rect Empty 1208static public explicit operator Rect (Win32Rect rc) 1326internal Win32Rect rcScrollBar; 1469internal Win32Rect rcItem; 1470internal Win32Rect rcButton; 1479rcItem = Win32Rect.Empty; 1480rcButton = Win32Rect.Empty; 1493internal Win32Rect rcBar; 1516internal Win32Rect rc; 1928internal Win32Rect rect; 1939rect = Win32Rect.Empty;
MS\Win32\SafeNativeMethods.cs (6)
20public static extern bool IntersectRect (ref NativeMethods.Win32Rect rcDest, ref NativeMethods.Win32Rect rc1, ref NativeMethods.Win32Rect rc2); 30internal static extern bool UnionRect (out NativeMethods.Win32Rect rcDst, ref NativeMethods.Win32Rect rc1, ref NativeMethods.Win32Rect rc2);
MS\Win32\UnsafeNativeMethods.cs (9)
150public static extern bool GetMenuItemRect(IntPtr hWnd, IntPtr hMenu, int uItem, out NativeMethods.Win32Rect lprcItem); 170internal static extern IntPtr SendMessageTimeout(IntPtr hwnd, int uMsg, IntPtr wParam, ref NativeMethods.Win32Rect lParam, int flags, int uTimeout, out IntPtr result); 184internal static extern IntPtr MonitorFromRect(ref NativeMethods.Win32Rect rect, int dwFlags); 261internal static extern bool GetClientRect(IntPtr hWnd, [In, Out] ref NativeMethods.Win32Rect rect); 267internal static extern bool GetWindowRect(IntPtr hWnd, [In, Out] ref NativeMethods.Win32Rect rect); 325internal NativeMethods.Win32Rect rcTitleBar; 334internal NativeMethods.Win32Rect rcTitleBar; 338internal NativeMethods.Win32Rect[] rgrect; 356internal NativeMethods.Win32Rect rc;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsSetLastError.cs (1)
85public static extern int MapWindowPoints(IntPtr hWndFrom, IntPtr hWndTo, [In, Out] ref NativeMethods.Win32Rect rect, int cPoints);