ITextStoreAnchor::GetEnd method
The ITextStoreAnchor::GetEnd method returns an anchor positioned at the end of the text stream.
Syntax
HRESULT GetEnd( [out] IAnchor **ppaEnd );
Parameters
- ppaEnd [out]
-
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
|
Minimum supported client |
Windows 2000 Professional [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps | Windows Store apps] |
|
Redistributable |
TSF 1.0 on Windows 2000 Professional |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also