ID_GetSupportedMetadata function

Function that returns a pointer to a GUID[] of supported metadata types.

Syntax

PLUGIN_API int __stdcall ID_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 GUID's. For example, *pFormats = pPNGFormats, where GUID pPNGFormats[] = {METADATA_EXIF, METADATA_IPTC};. This array should not be deleted until ID_Free is called.

Return Value

For a description of return values, see Return Values.

Remarks

The plug-in owns the array pointed to by pFormats and must not free it until the plug-in library is unloaded.

Requirements

Header: ID_PlugIn.h

See also: