IUIAutomationTextEditPattern::GetActiveComposition method

Returns the active composition.

Syntax

HRESULT GetActiveComposition(
  IUIAutomationTextRange **range
);

Parameters

range

Type: IUIAutomationTextRange**

Pointer to the range of the current conversion (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

Active composition is relevant to Input Method Editors (IMEs).

Requirements

   
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header uiautomationclient.h (include UIAutomation.h)

See also

IUIAutomationTextEditPattern

UI Automation Support for Textual Content