Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IEnumTfContexts::Next method

Syntax


HRESULT Next(
  [in]   ULONG ulCount,
  [out]  ITfContext **rgContext,
  [out]  ULONG *pcFetched
);

Parameters

ulCount [in]

Specifies the number of elements to obtain.

rgContext [out]

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

pcFetched [out]

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.

ValueDescription
S_OK

The method was successful.

S_FALSE

The method reached the end of the enumeration before the specified number of elements could be obtained.

E_INVALIDARG

rgContext is invalid.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

See also

IEnumTfContexts
ITfContext

 

 

Community Additions

Show:
© 2014 Microsoft