Windows apps
Collapse the table of content
Expand the table of content
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.

IEnumSTATPROPSTG::Next method

The Next method retrieves a specified number of STATPROPSTG structures, that follow subsequently in the enumeration sequence. If fewer than the requested number of STATPROPSTG structures exist in the enumeration sequence, it retrieves the remaining STATPROPSTG structures.

Syntax


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

Parameters

celt [in]

The number of STATPROPSTG structures requested.

rgelt [out]

An array of STATPROPSTG structures returned.

pceltFetched [out]

The number of STATPROPSTG structures retrieved in the rgelt parameter.

Return value

This method supports the following return values.

Return codeDescription
S_OK

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

S_FALSE

The number of STATPROPSTG 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

Propidl.h

IDL

Propidl.idl

Library

Uuid.lib

DLL

Ole32.dll

IID

IID_IEnumSTATPROPSTG is defined as 00000139-0000-0000-C000-000000000046

 

 

Show:
© 2017 Microsoft