ITextEditProvider::GetConversionTarget method

Returns the current conversion target range.

Syntax


HRESULT GetConversionTarget(
  [out, retval] ITextRangeProvider **pRetVal
);

Parameters

pRetVal [out, retval]

Type: ITextRangeProvider**

Pointer to the conversion target range (none if there is no conversion).

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Follow the guidance given in TextEdit Control Pattern that describes how to implement this method and how to raise the related notification events.

Requirements

Minimum supported client

Windows 8.1 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | UWP apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

See also

Reference
ITextProvider
ITextEditProvider
UiaRaiseTextEditTextChangedEvent
Conceptual
UI Automation Providers Overview
TextEdit Control Pattern

 

 

Show: