(static_cast<UIA::TextPatternRangeEndpoint>(endpoint),                                                         self->_uiaProvider.get(),                                                         static_cast<UIA::TextPatternRangeEndpoint>(targetEndpoint),                                                         &returnVal));          return returnVal;      }        void XamlUiaTextRange::