Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
[in] celt
Type: ULONG
Specifies the number of elements to fetch.
[out] pUICommand
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.
[out, optional] pceltFetched
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
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] | 
| Minimum supported server | Windows Server 2008 [desktop apps only] | 
| Target Platform | Windows | 
| Header | shobjidl_core.h (include Shobjidl.h) |