8 instantiations of SafeNodeHandle
UIAutomationClient (8)
MS\Internal\Automation\UiaCoreApi.cs (6)
486
hnode = new
SafeNodeHandle
();
499
hnode = new
SafeNodeHandle
();
512
hnode = new
SafeNodeHandle
();
525
hnode = new
SafeNodeHandle
();
735
result = new
SafeNodeHandle
();
1046
result = new
SafeNodeHandle
();
System\Windows\Automation\ItemContainerPattern.cs (2)
104
hNode = UiaCoreApi.ItemContainerPattern_FindItemByProperty(_hPattern, new
SafeNodeHandle
(), property.Id, value);
106
hNode = UiaCoreApi.ItemContainerPattern_FindItemByProperty(_hPattern, new
SafeNodeHandle
(), 0, null);
56 references to SafeNodeHandle
UIAutomationClient (56)
MS\Internal\Automation\CacheHelper.cs (2)
159
SafeNodeHandle
hnode = null;
166
hnode = (
SafeNodeHandle
)properties[propIndex, 0];
MS\Internal\Automation\FocusTracker.cs (1)
180
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)
213
SafeNodeHandle
safeHandle = UiaHUiaNodeFromVariant(val);
380
internal static UiaCacheResponse UiaGetUpdatedCache(
SafeNodeHandle
hnode, UiaCacheRequest request, NormalizeState normalize, Condition customCondition)
392
internal static void UiaGetPropertyValue(
SafeNodeHandle
hnode, int propertyId, out object value)
397
internal static SafePatternHandle UiaGetPatternProvider(
SafeNodeHandle
hnode, int patternId)
410
internal static int[] UiaGetRuntimeId(
SafeNodeHandle
hnode)
417
internal static void UiaSetFocus(
SafeNodeHandle
hnode)
422
internal static UiaCacheResponse UiaNavigate(
SafeNodeHandle
hnode, NavigateDirection direction, Condition condition, UiaCacheRequest request)
434
internal static UiaCacheResponse[] UiaFind(
SafeNodeHandle
hnode, UiaFindParams findParams, Condition findCondition, UiaCacheRequest request)
478
internal static
SafeNodeHandle
UiaNodeFromHandle(IntPtr hwnd)
480
SafeNodeHandle
hnode;
491
internal static
SafeNodeHandle
UiaGetRootNode()
493
SafeNodeHandle
hnode;
504
internal static
SafeNodeHandle
UiaNodeFromProvider(IRawElementProviderSimple provider)
506
SafeNodeHandle
hnode;
517
internal static
SafeNodeHandle
UiaHUiaNodeFromVariant(object var)
519
SafeNodeHandle
hnode;
581
internal static SafeEventHandle UiaAddEvent(
SafeNodeHandle
hnode, int eventId, UiaEventCallback callback, TreeScope scope, int[] properties, UiaCacheRequest request)
727
internal static
SafeNodeHandle
GridPattern_GetItem(SafePatternHandle hobj, int row, int column)
729
SafeNodeHandle
result;
852
internal static
SafeNodeHandle
ItemContainerPattern_FindItemByProperty(SafePatternHandle hobj,
SafeNodeHandle
hNode, int propertyId, object value)
854
SafeNodeHandle
result;
897
internal static SafeTextRangeHandle TextPattern_RangeFromChild(SafePatternHandle hobj,
SafeNodeHandle
childElement)
1038
internal static
SafeNodeHandle
TextRange_GetEnclosingElement(SafeTextRangeHandle hobj)
1040
SafeNodeHandle
result;
1216
private static extern int RawUiaGetPropertyValue(
SafeNodeHandle
hnode, int propertyId, out object value);
1219
private static extern int RawUiaGetPatternProvider(
SafeNodeHandle
hnode, int patternId, out SafePatternHandle phobj);
1222
private static extern int RawUiaGetRuntimeId(
SafeNodeHandle
hnode, [MarshalAs(UnmanagedType.SafeArray)] out int[] runtimeId);
1225
private static extern int RawUiaSetFocus(
SafeNodeHandle
hnode);
1228
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);
1231
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);
1234
private static extern int RawUiaNodeFromHandle(IntPtr hwnd, out
SafeNodeHandle
hnode);
1237
private static extern int RawUiaNodeFromProvider(IRawElementProviderSimple provider, out
SafeNodeHandle
hode);
1240
private static extern int RawUiaGetRootNode(out
SafeNodeHandle
hnode);
1249
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);
1252
private static extern int RawUiaHUiaNodeFromVariant([MarshalAs(UnmanagedType.Struct)] ref object var, out
SafeNodeHandle
hnode);
1271
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);
1296
private static extern int RawGridPattern_GetItem(SafePatternHandle hobj, int row, int column, out
SafeNodeHandle
pResult);
1362
private static extern int RawItemContainerPattern_FindItemByProperty(SafePatternHandle hobj,
SafeNodeHandle
startAfter, int propertyId, object value, out
SafeNodeHandle
result);
1375
private static extern int RawTextPattern_RangeFromChild(SafePatternHandle hobj,
SafeNodeHandle
childElement, out SafeTextRangeHandle result);
1411
private static extern int RawTextRange_GetEnclosingElement(SafeTextRangeHandle hobj, out
SafeNodeHandle
result);
System\Windows\Automation\AutomationElement.cs (6)
37
internal AutomationElement(
SafeNodeHandle
hnode, object[,] cachedValues, int cachedValuesIndex, UiaCoreApi.UiaCacheRequest request)
73
internal static AutomationElement Wrap(
SafeNodeHandle
hnode)
426
SafeNodeHandle
hnode = UiaCoreApi.UiaNodeFromHandle(hwnd);
941
SafeNodeHandle
hnode = UiaCoreApi.UiaGetRootNode();
1182
internal
SafeNodeHandle
RawNode
1325
private
SafeNodeHandle
_hnode;
System\Windows\Automation\GridPattern.cs (1)
70
SafeNodeHandle
hNode = UiaCoreApi.GridPattern_GetItem(_hPattern, row, column);
System\Windows\Automation\ItemContainerPattern.cs (1)
85
SafeNodeHandle
hNode;
System\Windows\Automation\Text\TextRange.cs (1)
406
SafeNodeHandle
hnode = UiaCoreApi.UiaHUiaNodeFromVariant(rawChildren[i]);