69 references to CheckError
UIAutomationClient (69)
MS\Internal\Automation\UiaCoreApi.cs (69)
363CheckError(RawUiaNodeFromPoint(x, y, miniCR, out requestedData, out treeStructure)); 375CheckError(RawUiaNodeFromFocus(miniCR, out requestedData, out treeStructure)); 387CheckError(RawUiaGetUpdatedCache(hnode, miniCR, normalize, customCondition == null ? SafeConditionMemoryHandle.NullHandle : customCondition._safeHandle, out requestedData, out treeStructure)); 395CheckError(RawUiaGetPropertyValue(hnode, propertyId, out value)); 401CheckError(RawUiaGetPatternProvider(hnode, patternId, out hobj)); 414CheckError(RawUiaGetRuntimeId(hnode, out runtimeId)); 420CheckError(RawUiaSetFocus(hnode)); 429CheckError(RawUiaNavigate(hnode, direction, condition._safeHandle, miniCR, out requestedData, out treeStructure)); 446CheckError(RawUiaFind(hnode, ref findParams, miniCR, out requestedData, out offsets, out treeStructures)); 482CheckError(RawUiaNodeFromHandle(hwnd, out hnode)); 495CheckError(RawUiaGetRootNode(out hnode)); 508CheckError(RawUiaNodeFromProvider(provider, out hnode)); 521CheckError(RawUiaHUiaNodeFromVariant(ref var, out hnode)); 534CheckError(RawUiaHPatternObjectFromVariant(ref var, out hobj)); 547CheckError(RawUiaHTextRangeFromVariant(ref var, out hobj)); 587CheckError(RawUiaAddEvent(hnode, eventId, callback, scope, properties, properties == null ? 0 : properties.Length, miniCR, out hevent)); 595CheckError(RawUiaRemoveEvent(hevent)); 600CheckError(RawUiaEventAddWindow(hevent, hwnd)); 605CheckError(RawUiaEventRemoveWindow(hevent, hwnd)); 715CheckError(RawDockPattern_SetDockPosition(hobj, dockPosition)); 720CheckError(RawExpandCollapsePattern_Collapse(hobj)); 725CheckError(RawExpandCollapsePattern_Expand(hobj)); 731CheckError(RawGridPattern_GetItem(hobj, row, column, out result)); 743CheckError(RawInvokePattern_Invoke(hobj)); 749CheckError(RawMultipleViewPattern_GetViewName(hobj, viewId, out result)); 755CheckError(RawMultipleViewPattern_SetCurrentView(hobj, viewId)); 760CheckError(RawRangeValuePattern_SetValue(hobj, val)); 765CheckError(RawScrollItemPattern_ScrollIntoView(hobj)); 770CheckError(RawScrollPattern_Scroll(hobj, horizontalAmount, verticalAmount)); 775CheckError(RawScrollPattern_SetScrollPercent(hobj, horizontalPercent, verticalPercent)); 780CheckError(RawSelectionItemPattern_AddToSelection(hobj)); 785CheckError(RawSelectionItemPattern_RemoveFromSelection(hobj)); 790CheckError(RawSelectionItemPattern_Select(hobj)); 795CheckError(RawTogglePattern_Toggle(hobj)); 800CheckError(RawTransformPattern_Move(hobj, x, y)); 805CheckError(RawTransformPattern_Resize(hobj, width, height)); 810CheckError(RawTransformPattern_Rotate(hobj, degrees)); 815CheckError(RawValuePattern_SetValue(hobj, pVal)); 820CheckError(RawWindowPattern_Close(hobj)); 825CheckError(RawWindowPattern_SetWindowVisualState(hobj, state)); 831CheckError(RawWindowPattern_WaitForInputIdle(hobj, milliseconds, out result)); 838CheckError(RawSynchronizedInputPattern_StartListening(hobj, inputType)); 844CheckError(RawSynchronizedInputPattern_Cancel(hobj)); 850CheckError(RawVirtualizedItemPattern_Realize(hobj)); 856CheckError(RawItemContainerPattern_FindItemByProperty(hobj, hNode, propertyId, value, out result)); 869CheckError(RawTextPattern_GetSelection(hobj, out arr)); 885CheckError(RawTextPattern_GetVisibleRanges(hobj, out arr)); 901CheckError(RawTextPattern_RangeFromChild(hobj, childElement, out result)); 914CheckError(RawTextPattern_RangeFromPoint(hobj, point, out result)); 927CheckError(RawTextPattern_get_DocumentRange(hobj, out result)); 940CheckError(RawTextPattern_get_SupportedTextSelection(hobj, out result)); 947CheckError(RawTextRange_Clone(hobj, out result)); 960CheckError(RawTextRange_Compare(hobj, range, out result)); 967CheckError(RawTextRange_CompareEndpoints(hobj, endpoint, targetRange, targetEndpoint, out result)); 973CheckError(RawTextRange_ExpandToEnclosingUnit(hobj, unit)); 979CheckError(RawTextRange_FindAttribute(hobj, attributeId, val, backward, out result)); 992CheckError(RawTextRange_FindText(hobj, text, backward, ignoreCase, out result)); 1005CheckError(RawTextRange_GetAttributeValue(hobj, attributeId, out result)); 1012CheckError(RawTextRange_GetBoundingRectangles(hobj, out doubles)); 1042CheckError(RawTextRange_GetEnclosingElement(hobj, out result)); 1055CheckError(RawTextRange_GetText(hobj, maxLength, out result)); 1062CheckError(RawTextRange_Move(hobj, unit, count, out result)); 1069CheckError(RawTextRange_MoveEndpointByUnit(hobj, endpoint, unit, count, out result)); 1075CheckError(RawTextRange_MoveEndpointByRange(hobj, endpoint, targetRange, targetEndpoint)); 1080CheckError(RawTextRange_Select(hobj)); 1085CheckError(RawTextRange_AddToSelection(hobj)); 1090CheckError(RawTextRange_RemoveFromSelection(hobj)); 1095CheckError(RawTextRange_ScrollIntoView(hobj, alignToTop)); 1101CheckError(RawTextRange_GetChildren(hobj, out result));