9 references to GetAncestor
UIAutomationClient (9)
MS\Internal\Automation\HwndProxyElementProvider.cs (8)
657
NativeMethods.HWND hwndParent = SafeNativeMethods.
GetAncestor
(NativeMethods.HWND.Cast(_hwnd), SafeNativeMethods.GA_PARENT);
1215
NativeMethods.HWND parent = SafeNativeMethods.
GetAncestor
(_hwnd, SafeNativeMethods.GA_PARENT);
1292
NativeMethods.HWND parent = SafeNativeMethods.
GetAncestor
(_hwnd, SafeNativeMethods.GA_PARENT);
1458
hwnd = SafeNativeMethods.
GetAncestor
( hwnd, SafeNativeMethods.GA_PARENT );
1513
return SafeNativeMethods.
GetAncestor
( hwnd, SafeNativeMethods.GA_PARENT ) == SafeNativeMethods.GetDesktopWindow();
1761
NativeMethods.HWND hwndTopLevel = SafeNativeMethods.
GetAncestor
(hChild, SafeNativeMethods.GA_ROOT);
1911
hwnd = SafeNativeMethods.
GetAncestor
(hwnd, SafeNativeMethods.GA_PARENT);
2004
NativeMethods.HWND parent = SafeNativeMethods.
GetAncestor
(hwnd, SafeNativeMethods.GA_PARENT);
MS\Internal\Automation\ProxyManager.cs (1)
296
NativeMethods.HWND hwndParent = SafeNativeMethods.
GetAncestor
(hwnd, SafeNativeMethods.GA_PARENT);