8 instantiations of SafeNodeHandle
UIAutomationClient (8)
MS\Internal\Automation\UiaCoreAPI.cs (6)
500
hnode = new
SafeNodeHandle
();
513
hnode = new
SafeNodeHandle
();
526
hnode = new
SafeNodeHandle
();
539
hnode = new
SafeNodeHandle
();
748
result = new
SafeNodeHandle
();
1059
result = new
SafeNodeHandle
();
System\Windows\Automation\ItemContainerPattern.cs (2)
116
hNode = UiaCoreApi.ItemContainerPattern_FindItemByProperty(_hPattern, new
SafeNodeHandle
(), property.Id, value);
118
hNode = UiaCoreApi.ItemContainerPattern_FindItemByProperty(_hPattern, new
SafeNodeHandle
(), 0, null);
56 references to SafeNodeHandle
UIAutomationClient (56)
MS\Internal\Automation\CacheHelper.cs (2)
173
SafeNodeHandle
hnode = null;
180
hnode = (
SafeNodeHandle
)properties[propIndex, 0];
MS\Internal\Automation\FocusTracker.cs (1)
189
SafeNodeHandle
hnode = UiaCoreApi.UiaNodeFromProvider(provider);
MS\Internal\Automation\Schema.cs (2)
196
SafeNodeHandle
hnode = UiaCoreApi.UiaHUiaNodeFromVariant(value);
213
SafeNodeHandle
hnode = UiaCoreApi.UiaHUiaNodeFromVariant(objArr[i]);
MS\Internal\Automation\UiaCoreAPI.cs (42)
227
SafeNodeHandle
safeHandle = UiaHUiaNodeFromVariant(val);
394
internal static UiaCacheResponse UiaGetUpdatedCache(
SafeNodeHandle
hnode, UiaCacheRequest request, NormalizeState normalize, Condition customCondition)
406
internal static void UiaGetPropertyValue(
SafeNodeHandle
hnode, int propertyId, out object value)
411
internal static SafePatternHandle UiaGetPatternProvider(
SafeNodeHandle
hnode, int patternId)
424
internal static int[] UiaGetRuntimeId(
SafeNodeHandle
hnode)
431
internal static void UiaSetFocus(
SafeNodeHandle
hnode)
436
internal static UiaCacheResponse UiaNavigate(
SafeNodeHandle
hnode, NavigateDirection direction, Condition condition, UiaCacheRequest request)
448
internal static UiaCacheResponse[] UiaFind(
SafeNodeHandle
hnode, UiaFindParams findParams, Condition findCondition, UiaCacheRequest request)
492
internal static
SafeNodeHandle
UiaNodeFromHandle(IntPtr hwnd)
494
SafeNodeHandle
hnode;
505
internal static
SafeNodeHandle
UiaGetRootNode()
507
SafeNodeHandle
hnode;
518
internal static
SafeNodeHandle
UiaNodeFromProvider(IRawElementProviderSimple provider)
520
SafeNodeHandle
hnode;
531
internal static
SafeNodeHandle
UiaHUiaNodeFromVariant(object var)
533
SafeNodeHandle
hnode;
607
internal static SafeEventHandle UiaAddEvent(
SafeNodeHandle
hnode, int eventId, UiaEventCallback callback, TreeScope scope, int[] properties, UiaCacheRequest request)
740
internal static
SafeNodeHandle
GridPattern_GetItem(SafePatternHandle hobj, int row, int column)
742
SafeNodeHandle
result;
865
internal static
SafeNodeHandle
ItemContainerPattern_FindItemByProperty(SafePatternHandle hobj,
SafeNodeHandle
hNode, int propertyId, object value)
867
SafeNodeHandle
result;
910
internal static SafeTextRangeHandle TextPattern_RangeFromChild(SafePatternHandle hobj,
SafeNodeHandle
childElement)
1051
internal static
SafeNodeHandle
TextRange_GetEnclosingElement(SafeTextRangeHandle hobj)
1053
SafeNodeHandle
result;
1229
private static extern int RawUiaGetPropertyValue(
SafeNodeHandle
hnode, int propertyId, out object value);
1232
private static extern int RawUiaGetPatternProvider(
SafeNodeHandle
hnode, int patternId, out SafePatternHandle phobj);
1235
private static extern int RawUiaGetRuntimeId(
SafeNodeHandle
hnode, [MarshalAs(UnmanagedType.SafeArray)] out int[] runtimeId);
1238
private static extern int RawUiaSetFocus(
SafeNodeHandle
hnode);
1241
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);
1244
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);
1247
private static extern int RawUiaNodeFromHandle(IntPtr hwnd, out
SafeNodeHandle
hnode);
1250
private static extern int RawUiaNodeFromProvider(IRawElementProviderSimple provider, out
SafeNodeHandle
hode);
1253
private static extern int RawUiaGetRootNode(out
SafeNodeHandle
hnode);
1262
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);
1265
private static extern int RawUiaHUiaNodeFromVariant([MarshalAs(UnmanagedType.Struct)] ref object var, out
SafeNodeHandle
hnode);
1290
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);
1315
private static extern int RawGridPattern_GetItem(SafePatternHandle hobj, int row, int column, out
SafeNodeHandle
pResult);
1381
private static extern int RawItemContainerPattern_FindItemByProperty(SafePatternHandle hobj,
SafeNodeHandle
startAfter, int propertyId, object value, out
SafeNodeHandle
result);
1394
private static extern int RawTextPattern_RangeFromChild(SafePatternHandle hobj,
SafeNodeHandle
childElement, out SafeTextRangeHandle result);
1430
private static extern int RawTextRange_GetEnclosingElement(SafeTextRangeHandle hobj, out
SafeNodeHandle
result);
System\Windows\Automation\AutomationElement.cs (6)
55
internal AutomationElement(
SafeNodeHandle
hnode, object[,] cachedValues, int cachedValuesIndex, UiaCoreApi.UiaCacheRequest request)
92
internal static AutomationElement Wrap(
SafeNodeHandle
hnode)
444
SafeNodeHandle
hnode = UiaCoreApi.UiaNodeFromHandle(hwnd);
1032
SafeNodeHandle
hnode = UiaCoreApi.UiaGetRootNode();
1285
internal
SafeNodeHandle
RawNode
1426
private
SafeNodeHandle
_hnode;
System\Windows\Automation\GridPattern.cs (1)
86
SafeNodeHandle
hNode = UiaCoreApi.GridPattern_GetItem(_hPattern, row, column);
System\Windows\Automation\ItemContainerPattern.cs (1)
97
SafeNodeHandle
hNode;
System\Windows\Automation\Text\TextRange.cs (1)
421
SafeNodeHandle
hnode = UiaCoreApi.UiaHUiaNodeFromVariant(rawChildren[i]);