IE_GetNativelySupportedMetadata function

Function that retrieves the supported metadata types of the specified format.

Syntax

PLUGIN_API int __stdcall IE_GetNativelySupportedMetadata
(
  DWORD dwFormatID,
  int& nFormats,
  GUID** pFormats
);

Parameters

dwFormatID

Type: DWORD

[in] Format ID to retrieve supported metadata types for.

nFormats

Type: int&

[out] Number of supported formats

pFormats

Type: GUID**

[out] Pointer to assign to plug-in allocated array of GUIDs. For example, *pFormats = pPNGFormats, where GUID pPNGFormats[] = {METADATA_EXIF, METADATA_IPTC};. This array should not be deleted until IE_Free is called.

Return Value

For a description of return values, see Return Values.

Remarks

pFormats should be assigned to a plug-in-allocated array of GUIDs, representing the supported metadata types. There should be no custom metadata types added, only the image format specification-defined ones.

Requirements

Header: IE_PlugIn.h

See also: