IEnumSTATSTG::Next method

The Next method retrieves a specified number of STATSTG structures, that follow in the enumeration sequence. If there are fewer than the requested number of STATSTG structures that remain in the enumeration sequence, it retrieves the remaining STATSTG structures.

Syntax


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

Parameters

celt [in]

The number of STATSTG structures requested.

rgelt [out]

An array of STATSTG structures returned.

pceltFetched [out]

The number of STATSTG structures retrieved in the rgelt parameter.

Return value

This method supports the following return values:

Return codeDescription
S_OK

The number of STATSTG structures returned is equal to the number specified in the celt parameter.

S_FALSE

The number of STATSTG structures returned is less than the number specified in the celt parameter.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Objidl.h

IDL

Objidl.idl

Library

Uuid.lib

DLL

Ole32.dll

IID

IID_IEnumSTATSTG is defined as 0000000D-0000-0000-C000-000000000046

See also

IEnumSTATSTG

 

 

Show: