8 instantiations of SafeNodeHandle
UIAutomationClient (8)
MS\Internal\Automation\UiaCoreApi.cs (6)
491
hnode = new
SafeNodeHandle
();
504
hnode = new
SafeNodeHandle
();
517
hnode = new
SafeNodeHandle
();
530
hnode = new
SafeNodeHandle
();
740
result = new
SafeNodeHandle
();
1051
result = new
SafeNodeHandle
();
System\Windows\Automation\ItemContainerPattern.cs (2)
108
hNode = UiaCoreApi.ItemContainerPattern_FindItemByProperty(_hPattern, new
SafeNodeHandle
(), property.Id, value);
110
hNode = UiaCoreApi.ItemContainerPattern_FindItemByProperty(_hPattern, new
SafeNodeHandle
(), 0, null);
56 references to SafeNodeHandle
UIAutomationClient (56)
MS\Internal\Automation\CacheHelper.cs (2)
165
SafeNodeHandle
hnode = null;
172
hnode = (
SafeNodeHandle
)properties[propIndex, 0];
MS\Internal\Automation\FocusTracker.cs (1)
181
SafeNodeHandle
hnode = UiaCoreApi.UiaNodeFromProvider(provider);
MS\Internal\Automation\Schema.cs (2)
189
SafeNodeHandle
hnode = UiaCoreApi.UiaHUiaNodeFromVariant(value);
206
SafeNodeHandle
hnode = UiaCoreApi.UiaHUiaNodeFromVariant(objArr[i]);
MS\Internal\Automation\UiaCoreApi.cs (42)
218
SafeNodeHandle
safeHandle = UiaHUiaNodeFromVariant(val);
385
internal static UiaCacheResponse UiaGetUpdatedCache(
SafeNodeHandle
hnode, UiaCacheRequest request, NormalizeState normalize, Condition customCondition)
397
internal static void UiaGetPropertyValue(
SafeNodeHandle
hnode, int propertyId, out object value)
402
internal static SafePatternHandle UiaGetPatternProvider(
SafeNodeHandle
hnode, int patternId)
415
internal static int[] UiaGetRuntimeId(
SafeNodeHandle
hnode)
422
internal static void UiaSetFocus(
SafeNodeHandle
hnode)
427
internal static UiaCacheResponse UiaNavigate(
SafeNodeHandle
hnode, NavigateDirection direction, Condition condition, UiaCacheRequest request)
439
internal static UiaCacheResponse[] UiaFind(
SafeNodeHandle
hnode, UiaFindParams findParams, Condition findCondition, UiaCacheRequest request)
483
internal static
SafeNodeHandle
UiaNodeFromHandle(IntPtr hwnd)
485
SafeNodeHandle
hnode;
496
internal static
SafeNodeHandle
UiaGetRootNode()
498
SafeNodeHandle
hnode;
509
internal static
SafeNodeHandle
UiaNodeFromProvider(IRawElementProviderSimple provider)
511
SafeNodeHandle
hnode;
522
internal static
SafeNodeHandle
UiaHUiaNodeFromVariant(object var)
524
SafeNodeHandle
hnode;
586
internal static SafeEventHandle UiaAddEvent(
SafeNodeHandle
hnode, int eventId, UiaEventCallback callback, TreeScope scope, int[] properties, UiaCacheRequest request)
732
internal static
SafeNodeHandle
GridPattern_GetItem(SafePatternHandle hobj, int row, int column)
734
SafeNodeHandle
result;
857
internal static
SafeNodeHandle
ItemContainerPattern_FindItemByProperty(SafePatternHandle hobj,
SafeNodeHandle
hNode, int propertyId, object value)
859
SafeNodeHandle
result;
902
internal static SafeTextRangeHandle TextPattern_RangeFromChild(SafePatternHandle hobj,
SafeNodeHandle
childElement)
1043
internal static
SafeNodeHandle
TextRange_GetEnclosingElement(SafeTextRangeHandle hobj)
1045
SafeNodeHandle
result;
1221
private static extern int RawUiaGetPropertyValue(
SafeNodeHandle
hnode, int propertyId, out object value);
1224
private static extern int RawUiaGetPatternProvider(
SafeNodeHandle
hnode, int patternId, out SafePatternHandle phobj);
1227
private static extern int RawUiaGetRuntimeId(
SafeNodeHandle
hnode, [MarshalAs(UnmanagedType.SafeArray)] out int[] runtimeId);
1230
private static extern int RawUiaSetFocus(
SafeNodeHandle
hnode);
1233
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);
1236
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);
1239
private static extern int RawUiaNodeFromHandle(IntPtr hwnd, out
SafeNodeHandle
hnode);
1242
private static extern int RawUiaNodeFromProvider(IRawElementProviderSimple provider, out
SafeNodeHandle
hode);
1245
private static extern int RawUiaGetRootNode(out
SafeNodeHandle
hnode);
1254
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);
1257
private static extern int RawUiaHUiaNodeFromVariant([MarshalAs(UnmanagedType.Struct)] ref object var, out
SafeNodeHandle
hnode);
1276
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);
1301
private static extern int RawGridPattern_GetItem(SafePatternHandle hobj, int row, int column, out
SafeNodeHandle
pResult);
1367
private static extern int RawItemContainerPattern_FindItemByProperty(SafePatternHandle hobj,
SafeNodeHandle
startAfter, int propertyId, object value, out
SafeNodeHandle
result);
1380
private static extern int RawTextPattern_RangeFromChild(SafePatternHandle hobj,
SafeNodeHandle
childElement, out SafeTextRangeHandle result);
1416
private static extern int RawTextRange_GetEnclosingElement(SafeTextRangeHandle hobj, out
SafeNodeHandle
result);
System\Windows\Automation\AutomationElement.cs (6)
47
internal AutomationElement(
SafeNodeHandle
hnode, object[,] cachedValues, int cachedValuesIndex, UiaCoreApi.UiaCacheRequest request)
83
internal static AutomationElement Wrap(
SafeNodeHandle
hnode)
436
SafeNodeHandle
hnode = UiaCoreApi.UiaNodeFromHandle(hwnd);
954
SafeNodeHandle
hnode = UiaCoreApi.UiaGetRootNode();
1201
internal
SafeNodeHandle
RawNode
1342
private
SafeNodeHandle
_hnode;
System\Windows\Automation\GridPattern.cs (1)
73
SafeNodeHandle
hNode = UiaCoreApi.GridPattern_GetItem(_hPattern, row, column);
System\Windows\Automation\ItemContainerPattern.cs (1)
89
SafeNodeHandle
hNode;
System\Windows\Automation\Text\TextRange.cs (1)
413
SafeNodeHandle
hnode = UiaCoreApi.UiaHUiaNodeFromVariant(rawChildren[i]);