IEnumAssocHandlers::Next method

Retrieves a specified number of elements.

Syntax


HRESULT Next(
  [in]  ULONG         celt,
  [out] IAssocHandler **rgelt,
  [out] ULONG         *pceltFetched
);

Parameters

celt [in]

Type: ULONG

The number of elements to retrieve.

rgelt [out]

Type: IAssocHandler**

When this method returns, contains the address of an array of IAssocHandler pointers. Each IAssocHandler represents a single handler.

pceltFetched [out]

Type: ULONG*

When this method returns, contains a pointer to the number of elements retrieved.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Show: