IE_GetSupportedMetadata function

Function to retrieve the supported metadata types of the specified format.

Syntax

PLUGIN_API int __stdcall IE_GetSupportedMetadata
(
   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. The plug-in should wait until IE_Free is called to deallocate pFormats.

Requirements

Header: IE_PlugIn.h

See also: