ITfContext::GetEnd method (msctf.h)
Obtains a range of text positioned at the end of the document.
Syntax
HRESULT GetEnd(
[in] TfEditCookie ec,
[out] ITfRange **ppEnd
);
Parameters
[in] ec
Contains an edit cookie that identifies the edit session. This is the value passed to ITfEditSession::DoEditSession.
[out] ppEnd
Pointer to an ITfRange interface pointer that receives an empty range positioned at the end of the document.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
The cookie in ec is invalid. |
|
The context is not on a document stack. |
|
One or more parameters are invalid. |
|
The context owner does not implement this method. |
|
A memory allocation failure occurred. |
|
An unspecified error occurred. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | msctf.h |
DLL | Msctf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |
See also
ITfContext interface, ITfEditSession::DoEditSession, ITfRange interface