11 references to AccessibleObjectFromWindow
UIAutomationClientSideProviders (11)
MS\Internal\AutomationProxies\ProxySimple.cs (1)
649
_IAccessible = Accessible.
AccessibleObjectFromWindow
(_hwnd, NativeMethods.OBJID_CLIENT, ref acc) == NativeMethods.S_OK ? acc.IAccessible : null;
MS\Internal\AutomationProxies\WindowsButton.cs (4)
327
Accessible.
AccessibleObjectFromWindow
(hwndRadioButton, NativeMethods.OBJID_CLIENT, ref accRadioButton) != NativeMethods.S_OK ||
402
if (Accessible.
AccessibleObjectFromWindow
(hwndParent, NativeMethods.OBJID_CLIENT, ref accParent) != NativeMethods.S_OK || accParent == null)
688
if (Accessible.
AccessibleObjectFromWindow
(hwnd, NativeMethods.OBJID_CLIENT, ref acc) == NativeMethods.S_OK &&
728
if (Accessible.
AccessibleObjectFromWindow
(hwnd, NativeMethods.OBJID_CLIENT, ref acc) == NativeMethods.S_OK &&
MS\Internal\AutomationProxies\WindowsFormsHelpers.cs (2)
35
if (Accessible.
AccessibleObjectFromWindow
(hwnd, idObject, ref acc) != NativeMethods.S_OK || acc == null)
81
if (Accessible.
AccessibleObjectFromWindow
(hwnd, NativeMethods.OBJID_CLIENT, ref acc) != NativeMethods.S_OK || acc == null)
MS\Internal\AutomationProxies\WindowsStatic.cs (1)
178
return Accessible.
AccessibleObjectFromWindow
(hwnd, NativeMethods.OBJID_CLIENT, ref acc) == NativeMethods.S_OK && acc != null && acc.ChildCount > 0;
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
568
if (Accessible.
AccessibleObjectFromWindow
(hwnd, NativeMethods.OBJID_CLIENT, ref acc) != NativeMethods.S_OK || acc == null)
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
312
int hr = Accessible.
AccessibleObjectFromWindow
(hwnd, NativeMethods.OBJID_CLIENT, ref acc);
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
183
if (Accessible.
AccessibleObjectFromWindow
(hwndSpin, NativeMethods.OBJID_CLIENT, ref acc) != NativeMethods.S_OK || acc == null)