ITextStoreACP2::GetEndACP method (textstor.h)
Gets the number of characters in a document.
Syntax
HRESULT GetEndACP(
[out] LONG *pacp
);
Parameters
[out] pacp
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | textstor.h |
DLL | Msctf.dll |