IWICMetadataQueryReader::GetEnumerator method

Gets an enumerator of all metadata items at the current relative location within the metadata hierarchy.

Syntax


HRESULT GetEnumerator(
  [out] IEnumString **ppIEnumString
);

Parameters

ppIEnumString [out]

Type: IEnumString**

A pointer to a variable that receives a pointer to the IEnumString interface for the enumerator that contains query strings that can be used in the current IWICMetadataQueryReader.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The retrieved enumerator only contains query strings for the metadata blocks and items in the current level of the hierarchy.

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

See also

IWICMetadataQueryReader
Conceptual
WIC Metadata Overview
Overview of Reading and Writing Image Metadata

 

 

Show: