ITextStoreAnchor::GetEnd method (textstor.h)
The ITextStoreAnchor::GetEnd method returns an anchor positioned at the end of the text stream.
Syntax
HRESULT GetEnd(
[out] IAnchor **ppaEnd
);
Parameters
[out] ppaEnd
Pointer to an anchor object located at the very end of the text stream.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
ppaEnd is invalid. |
|
The application has not implemented this method. This is usually an indication that calculating the end position requires excessive resources. If the end position is necessary, you can use ITextStoreAnchor::GetText to calculate it, though this might also be a memory-intensive operation, paging in arbitrarily large amounts of memory from disk. |
|
The attempt to instantiate an anchor at the end of the document failed. |
|
The caller does not have a read-only lock. |
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 | textstor.h |
DLL | Msctf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |