IWICEnumMetadataItem::Next method (wincodec.h)

Advanced the current position in the enumeration.

Syntax

HRESULT Next(
  [in]                ULONG       celt,
  [in, out]           PROPVARIANT *rgeltSchema,
  [in, out]           PROPVARIANT *rgeltId,
  [in, out, optional] PROPVARIANT *rgeltValue,
  [out, optional]     ULONG       *pceltFetched
);

Parameters

[in] celt

Type: ULONG

The number of items to be retrieved.

[in, out] rgeltSchema

Type: PROPVARIANT*

An array of enumerated items. This parameter is optional.

[in, out] rgeltId

Type: PROPVARIANT*

An array of enumerated items.

[in, out, optional] rgeltValue

Type: PROPVARIANT*

An array of enumerated items. This parameter is optional.

[out, optional] pceltFetched

Type: ULONG*

The number of items that were retrieved. This value is always less than or equal to the number of items requested.

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 XP with SP2, Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header wincodec.h
Library Windowscodecs.lib
DLL Windowscodecs.dll