IWICEnumMetadataItem::Next method

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

celt [in]

Type: ULONG

The number of items to be retrieved.

rgeltSchema [in, out]

Type: PROPVARIANT*

An array of enumerated items. This parameter is optional.

rgeltId [in, out]

Type: PROPVARIANT*

An array of enumerated items.

rgeltValue [in, out, optional]

Type: PROPVARIANT*

An array of enumerated items. This parameter is optional.

pceltFetched [out, optional]

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

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Wincodec.h

IDL

Wincodec.idl

Library

Windowscodecs.lib

DLL

Windowscodecs.dll

 

 

Show: