IEnumTfDocumentMgrs::Next method (msctf.h)

Obtains, from the current position, the specified number of elements in the enumeration sequence.

Syntax

HRESULT Next(
  [in]  ULONG          ulCount,
  [out] ITfDocumentMgr **rgDocumentMgr,
  [out] ULONG          *pcFetched
);

Parameters

[in] ulCount

Specifies the number of elements to obtain.

[out] rgDocumentMgr

Pointer to an array of ITfDocumentMgr interface pointers that receives the requested objects. This array must be at least ulCount elements in size.

[out] pcFetched

Pointer to a ULONG value that receives the number of elements actually obtained. This value can be less than the number of items requested. This parameter can be NULL.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
S_FALSE
The method reached the end of the enumeration before the specified number of elements were obtained.
E_INVALIDARG
rgDocumentMgr is invalid.

Requirements

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

See also

IEnumTfDocumentMgrs interface, ITfDocumentMgr interface