ITextStoreACP::GetEndACP method (textstor.h)

The ITextStoreACP::GetEndACP method returns 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
S_OK
The method was successful.
E_NOTIMPL
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.
TS_E_NOLOCK
The caller does not have a read-only lock.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header textstor.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITextStoreACP

ITextStoreACP::GetText