37 references to NativeMethodsSetLastError
UIAutomationClientsideProviders (37)
MS\Internal\AutomationProxies\Misc.cs (14)
33using NativeMethodsSetLastError = MS.Internal.UIAutomationClientSideProviders.NativeMethodsSetLastError; 192IntPtr result = NativeMethodsSetLastError.FindWindowEx(hwndParent, hwndChildAfter, className, wndName); 231int result = NativeMethodsSetLastError.GetWindowText(label, sb, MaxLengthNameProperty); 402while ((peer = NativeMethodsSetLastError.GetWindow(peer, NativeMethods.GW_HWNDPREV)) != IntPtr.Zero) 441bool result = NativeMethodsSetLastError.GetMenuBarInfo(hwnd, idObject, item, ref mbi); 520IntPtr hwndParent = NativeMethodsSetLastError.GetAncestor(hwnd, NativeMethods.GA_PARENT); 566int result = NativeMethodsSetLastError.GetTextExtentPoint32(hdc, text, length, out size); 631IntPtr resultHwnd = NativeMethodsSetLastError.GetWindow(hwnd, cmd); 740short result = NativeMethodsSetLastError.GlobalDeleteAtom(atom); 771hwnd = NativeMethodsSetLastError.GetAncestor(hwnd, NativeMethods.GA_PARENT); 891hwnd = NativeMethodsSetLastError.GetAncestor(hwnd, NativeMethods.GA_PARENT); 912int mappingOffset = NativeMethodsSetLastError.MapWindowPoints(hWndFrom, hWndTo, ref rect, cPoints); 937int mappingOffset = NativeMethodsSetLastError.MapWindowPoints(hWndFrom, hWndTo, ref pt, cPoints); 1635int prevPos = NativeMethodsSetLastError.SetScrollPos(hwnd, bar, pos, redraw);
MS\Internal\AutomationProxies\WindowsComboBox.cs (4)
24using NativeMethodsSetLastError = MS.Internal.UIAutomationClientSideProviders.NativeMethodsSetLastError; 525IntPtr hwndEx = NativeMethodsSetLastError.GetAncestor (hwnd, NativeMethods.GA_PARENT); 553if (cbInfo.hwndItem == IntPtr.Zero && IsComboEx (NativeMethodsSetLastError.GetAncestor (hwnd, NativeMethods.GA_PARENT))) 810IntPtr hwndCombo = NativeMethodsSetLastError.GetAncestor (hwnd, NativeMethods.GA_PARENT);
MS\Internal\AutomationProxies\WindowsEditBox.cs (6)
29using NativeMethodsSetLastError = MS.Internal.UIAutomationClientSideProviders.NativeMethodsSetLastError; 123IntPtr hwndParent = NativeMethodsSetLastError.GetAncestor(hwnd, NativeMethods.GA_PARENT); 954IntPtr hwndParent = NativeMethodsSetLastError.GetAncestor(_hwnd, NativeMethods.GA_PARENT); 974IntPtr hwndParent = NativeMethodsSetLastError.GetAncestor(_hwnd, NativeMethods.GA_PARENT); 990IntPtr hwndParent = NativeMethodsSetLastError.GetAncestor(hwnd, NativeMethods.GA_PARENT); 1006IntPtr hwndParent = NativeMethodsSetLastError.GetAncestor(hwnd, NativeMethods.GA_PARENT);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (2)
27using NativeMethodsSetLastError = MS.Internal.UIAutomationClientSideProviders.NativeMethodsSetLastError; 723IntPtr hwndParent = NativeMethodsSetLastError.GetAncestor(_hwnd, NativeMethods.GA_PARENT);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (3)
28using NativeMethodsSetLastError = MS.Internal.UIAutomationClientSideProviders.NativeMethodsSetLastError; 89IntPtr hwndParent = NativeMethodsSetLastError.GetAncestor (hwnd, NativeMethods.GA_PARENT); 260IntPtr hwndParent = NativeMethodsSetLastError.GetAncestor (_hwnd, NativeMethods.GA_PARENT);
MS\Internal\AutomationProxies\WindowsTab.cs (2)
22using NativeMethodsSetLastError = MS.Internal.UIAutomationClientSideProviders.NativeMethodsSetLastError; 728IntPtr hwndParent = NativeMethodsSetLastError.GetAncestor(hwnd, NativeMethods.GA_PARENT);
MS\Internal\AutomationProxies\WindowsUpDown.cs (3)
24using NativeMethodsSetLastError = MS.Internal.UIAutomationClientSideProviders.NativeMethodsSetLastError; 310IntPtr hwndParent = NativeMethodsSetLastError.GetAncestor(_hwnd, NativeMethods.GA_PARENT); 641IntPtr hwndParent = NativeMethodsSetLastError.GetAncestor(_hwnd, NativeMethods.GA_PARENT);
MS\Win32\UnsafeNativeMethods.cs (3)
24using NativeMethodsSetLastError = MS.Internal.UIAutomationClientSideProviders.NativeMethodsSetLastError; 392iResult = NativeMethodsSetLastError.GetWindowLong(hWnd, nIndex); 399result = NativeMethodsSetLastError.GetWindowLongPtr(hWnd, nIndex);