ID_GetPlugInInfo function

Function that is called to retrieve information about the plug-in, including which image formats it can decode and/or preview.

Syntax

PLUGIN_API int __stdcall ID_GetPlugInInfo
(
   ID_PlugInInfo** pi
);

Parameters

pi

Type: ID_PlugInInfo**

[out] Plug-in information.

Return Value

For a description of return values, see Return Values.

Remarks

This function returns a pointer to an ID_PlugInInfo struct. The plug-in owns the pointer and must not free it until the plug-in library is unloaded; a good place to do this is during a call to ID_Free. See sample code for an example implementation.

Requirements

Header: ID_PlugIn.h

See also: