8 instantiations of SafeNodeHandle
UIAutomationClient (8)
MS\Internal\Automation\UiaCoreApi.cs (6)
487
hnode = new
SafeNodeHandle
();
500
hnode = new
SafeNodeHandle
();
513
hnode = new
SafeNodeHandle
();
526
hnode = new
SafeNodeHandle
();
736
result = new
SafeNodeHandle
();
1047
result = new
SafeNodeHandle
();
System\Windows\Automation\ItemContainerPattern.cs (2)
105
hNode = UiaCoreApi.ItemContainerPattern_FindItemByProperty(_hPattern, new
SafeNodeHandle
(), property.Id, value);
107
hNode = UiaCoreApi.ItemContainerPattern_FindItemByProperty(_hPattern, new
SafeNodeHandle
(), 0, null);
56 references to SafeNodeHandle
UIAutomationClient (56)
MS\Internal\Automation\CacheHelper.cs (2)
160
SafeNodeHandle
hnode = null;
167
hnode = (
SafeNodeHandle
)properties[propIndex, 0];
MS\Internal\Automation\FocusTracker.cs (1)
181
SafeNodeHandle
hnode = UiaCoreApi.UiaNodeFromProvider(provider);
MS\Internal\Automation\Schema.cs (2)
178
SafeNodeHandle
hnode = UiaCoreApi.UiaHUiaNodeFromVariant(value);
195
SafeNodeHandle
hnode = UiaCoreApi.UiaHUiaNodeFromVariant(objArr[i]);
MS\Internal\Automation\UiaCoreApi.cs (42)
214
SafeNodeHandle
safeHandle = UiaHUiaNodeFromVariant(val);
381
internal static UiaCacheResponse UiaGetUpdatedCache(
SafeNodeHandle
hnode, UiaCacheRequest request, NormalizeState normalize, Condition customCondition)
393
internal static void UiaGetPropertyValue(
SafeNodeHandle
hnode, int propertyId, out object value)
398
internal static SafePatternHandle UiaGetPatternProvider(
SafeNodeHandle
hnode, int patternId)
411
internal static int[] UiaGetRuntimeId(
SafeNodeHandle
hnode)
418
internal static void UiaSetFocus(
SafeNodeHandle
hnode)
423
internal static UiaCacheResponse UiaNavigate(
SafeNodeHandle
hnode, NavigateDirection direction, Condition condition, UiaCacheRequest request)
435
internal static UiaCacheResponse[] UiaFind(
SafeNodeHandle
hnode, UiaFindParams findParams, Condition findCondition, UiaCacheRequest request)
479
internal static
SafeNodeHandle
UiaNodeFromHandle(IntPtr hwnd)
481
SafeNodeHandle
hnode;
492
internal static
SafeNodeHandle
UiaGetRootNode()
494
SafeNodeHandle
hnode;
505
internal static
SafeNodeHandle
UiaNodeFromProvider(IRawElementProviderSimple provider)
507
SafeNodeHandle
hnode;
518
internal static
SafeNodeHandle
UiaHUiaNodeFromVariant(object var)
520
SafeNodeHandle
hnode;
582
internal static SafeEventHandle UiaAddEvent(
SafeNodeHandle
hnode, int eventId, UiaEventCallback callback, TreeScope scope, int[] properties, UiaCacheRequest request)
728
internal static
SafeNodeHandle
GridPattern_GetItem(SafePatternHandle hobj, int row, int column)
730
SafeNodeHandle
result;
853
internal static
SafeNodeHandle
ItemContainerPattern_FindItemByProperty(SafePatternHandle hobj,
SafeNodeHandle
hNode, int propertyId, object value)
855
SafeNodeHandle
result;
898
internal static SafeTextRangeHandle TextPattern_RangeFromChild(SafePatternHandle hobj,
SafeNodeHandle
childElement)
1039
internal static
SafeNodeHandle
TextRange_GetEnclosingElement(SafeTextRangeHandle hobj)
1041
SafeNodeHandle
result;
1217
private static extern int RawUiaGetPropertyValue(
SafeNodeHandle
hnode, int propertyId, out object value);
1220
private static extern int RawUiaGetPatternProvider(
SafeNodeHandle
hnode, int patternId, out SafePatternHandle phobj);
1223
private static extern int RawUiaGetRuntimeId(
SafeNodeHandle
hnode, [MarshalAs(UnmanagedType.SafeArray)] out int[] runtimeId);
1226
private static extern int RawUiaSetFocus(
SafeNodeHandle
hnode);
1229
private static extern int RawUiaNavigate(
SafeNodeHandle
hnode, NavigateDirection direction, SafeConditionMemoryHandle condition, UiaMiniCacheRequest pRequest, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_VARIANT)] out object[,] requestedData, [MarshalAs(UnmanagedType.BStr)] out string treeStructure);
1232
private static extern int RawUiaFind(
SafeNodeHandle
hnode, ref UiaFindParams pParams, UiaMiniCacheRequest pRequest, [MarshalAs(UnmanagedType.SafeArray)] out object[,] requestedData, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_I4)] out int[] offsets, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_BSTR)] out string[] treeStructures);
1235
private static extern int RawUiaNodeFromHandle(IntPtr hwnd, out
SafeNodeHandle
hnode);
1238
private static extern int RawUiaNodeFromProvider(IRawElementProviderSimple provider, out
SafeNodeHandle
hode);
1241
private static extern int RawUiaGetRootNode(out
SafeNodeHandle
hnode);
1250
private static extern int RawUiaGetUpdatedCache(
SafeNodeHandle
hnode, UiaMiniCacheRequest pRequest, NormalizeState normalizeState, SafeConditionMemoryHandle pNormalizeCondition, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_VARIANT)] out object[,] requestedData, [MarshalAs(UnmanagedType.BStr)] out string treeStructure);
1253
private static extern int RawUiaHUiaNodeFromVariant([MarshalAs(UnmanagedType.Struct)] ref object var, out
SafeNodeHandle
hnode);
1272
private static extern int RawUiaAddEvent(
SafeNodeHandle
hnode, int eventId, UiaEventCallback callback, TreeScope scope, [MarshalAs(UnmanagedType.LPArray)] int[] pProperties, int cProperties, UiaMiniCacheRequest pRequest, out SafeEventHandle hevent);
1297
private static extern int RawGridPattern_GetItem(SafePatternHandle hobj, int row, int column, out
SafeNodeHandle
pResult);
1363
private static extern int RawItemContainerPattern_FindItemByProperty(SafePatternHandle hobj,
SafeNodeHandle
startAfter, int propertyId, object value, out
SafeNodeHandle
result);
1376
private static extern int RawTextPattern_RangeFromChild(SafePatternHandle hobj,
SafeNodeHandle
childElement, out SafeTextRangeHandle result);
1412
private static extern int RawTextRange_GetEnclosingElement(SafeTextRangeHandle hobj, out
SafeNodeHandle
result);
System\Windows\Automation\AutomationElement.cs (6)
38
internal AutomationElement(
SafeNodeHandle
hnode, object[,] cachedValues, int cachedValuesIndex, UiaCoreApi.UiaCacheRequest request)
74
internal static AutomationElement Wrap(
SafeNodeHandle
hnode)
427
SafeNodeHandle
hnode = UiaCoreApi.UiaNodeFromHandle(hwnd);
942
SafeNodeHandle
hnode = UiaCoreApi.UiaGetRootNode();
1183
internal
SafeNodeHandle
RawNode
1326
private
SafeNodeHandle
_hnode;
System\Windows\Automation\GridPattern.cs (1)
71
SafeNodeHandle
hNode = UiaCoreApi.GridPattern_GetItem(_hPattern, row, column);
System\Windows\Automation\ItemContainerPattern.cs (1)
86
SafeNodeHandle
hNode;
System\Windows\Automation\Text\TextRange.cs (1)
407
SafeNodeHandle
hnode = UiaCoreApi.UiaHUiaNodeFromVariant(rawChildren[i]);