IEnumExplorerCommand::Next method

Retrieves a specified number of elements that directly follow the current element.

Syntax


HRESULT Next(
  [in]            ULONG            celt,
  [out]           IExplorerCommand **pUICommand,
  [out, optional] ULONG            *pceltFetched
);

Parameters

celt [in]

Type: ULONG

Specifies the number of elements to fetch.

pUICommand [out]

Type: IExplorerCommand**

Address of an IExplorerCommand interface pointer array of celt elements that, when this method returns, is an array of pointers to the retrieved elements.

pceltFetched [out, optional]

Type: ULONG*

When this method returns, contains a pointer to the number of elements actually retrieved. This pointer can be NULL if this information is not needed.

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: