ITextStoreACP2::GetEndACP method
Gets the number of characters in a document.
Syntax
HRESULT GetEndACP( [out] LONG *pacp );
Parameters
- pacp [out]
-
Receives the character position of the last character in the document plus one.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
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 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. |
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also