IWICMetadataQueryReader::GetEnumerator method (wincodec.h)

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

Syntax

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

Parameters

[out] ppIEnumString

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

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

See also

Conceptual

IWICMetadataQueryReader

Overview of Reading and Writing Image Metadata

WIC Metadata Overview