ITextEditProvider::GetActiveComposition method
Returns the active composition.
Syntax
HRESULT GetActiveComposition( [out, retval] ITextRangeProvider **pRetVal );
Parameters
- pRetVal [out, retval]
-
Type: ITextRangeProvider**
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
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 | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 R2 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
See also
- Reference
- ITextProvider
- ITextEditProvider
- UiaRaiseTextEditTextChangedEvent
- Conceptual
- UI Automation Providers Overview
- TextEdit Control Pattern