1 write to _hwnd
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
59
_hwnd
= hwnd;
30 references to _hwnd
UIAutomationClientSideProviders (30)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (30)
124
return Wrap(acc,
_hwnd
, null /*unknown parent*/, _knownRoot, RootStatus.Unknown);
228
Debug.Assert(
_hwnd
== UnsafeNativeMethods.WindowFromPhysicalPoint((int)x, (int)y));
284
MSAAEventDispatcher.Dispatcher.AdviseEventAdded(
_hwnd
, eventId, properties);
302
MSAAEventDispatcher.Dispatcher.AdviseEventRemoved(
_hwnd
, eventId, properties);
367
string className = Misc.GetClassName(
_hwnd
);
459
Misc.SetFocus(
_hwnd
);
517
return IsRoot ? AutomationInteropProvider.HostProviderFromHandle(
_hwnd
) : null;
581
rawEPS[i] = Wrap(accessibles[i],
_hwnd
, this/*parent*/, _knownRoot, RootStatus.NotRoot);
618
if (!SafeNativeMethods.IsWindowEnabled(
_hwnd
))
623
Misc.SetFocus(
_hwnd
);
632
if (!SafeNativeMethods.IsWindowEnabled(
_hwnd
))
637
Misc.SetFocus(
_hwnd
);
646
if (!SafeNativeMethods.IsWindowEnabled(
_hwnd
))
651
Misc.SetFocus(
_hwnd
);
688
if (!SafeNativeMethods.IsWindowEnabled(
_hwnd
))
746
if (siblingAcc != null && siblingAcc.InSameHwnd(
_hwnd
))
748
rval = Wrap(siblingAcc,
_hwnd
, _parent, _knownRoot, RootStatus.NotRoot);
772
if (siblingAcc != null && siblingAcc.InSameHwnd(
_hwnd
))
774
rval = Wrap(siblingAcc,
_hwnd
, _parent, _knownRoot, RootStatus.NotRoot);
795
if (childAcc != null && childAcc.InSameHwnd(
_hwnd
))
797
rval = Wrap(childAcc,
_hwnd
, this, _knownRoot, RootStatus.NotRoot);
817
if (childAcc != null && childAcc.InSameHwnd(
_hwnd
))
819
rval = Wrap(childAcc,
_hwnd
, this, _knownRoot, RootStatus.NotRoot);
926
Misc.GetWindowThreadProcessId(
_hwnd
, out pid);
1081
Debug.Assert(
_hwnd
!= IntPtr.Zero);
1084
_knownRoot = (MsaaNativeProvider)Create(
_hwnd
, NativeMethods.CHILD_SELF, NativeMethods.OBJID_CLIENT);
1148
_parent = Wrap(GetParent(),
_hwnd
, null/*grandparent unknown*/, _knownRoot, RootStatus.Unknown);
1176
MsaaNativeProvider child = Wrap(childAcc,
_hwnd
, this, _knownRoot, RootStatus.NotRoot);
1196
if (!SafeNativeMethods.IsWindowEnabled(
_hwnd
))
1203
Misc.SetFocus(
_hwnd
);