ITextStoreACP::GetEndACP method (textstor.h)
The ITextStoreACP::GetEndACP method returns the number of characters in a document.
HRESULT GetEndACP( LONG *pacp );
Receives the character position of the last character in the document plus one.
This method can return one of these values.
||The method was successful.|
||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 ITextStoreACP::GetText to calculate it, though this can also be a memory-intensive operation, paging in arbitrarily large amounts of memory from disk.|
||The caller does not have a read-only lock.|
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Redistributable||TSF 1.0 on Windows 2000 Professional|