ID_PlugInInfo struct

Structure that specifies information about the plug-in.

Syntax

struct ID_PlugInInfo
{
   ID_PlugInInfo() { ZeroMemory(this, sizeof(*this)); };
   DWORD dwFlags;
   int nVersion;
   wchar_t szTitle[40];
   UINT iIcon;
   int nFormats;
   ID_FormatInfo* pFormatInfo;
};

Members

dwFlags

Type: DWORD

Flags -- set to 0

nVersion

Type: int

Plug-in specification version; this should be equal to: ID_VERSION

szTitle

Type: wchar_t[40]

Plug-in title

iIcon

Type: UINT

Plug-in icon resource id (ordinal icon index in APL module resources)

nFormats

Type: int

Number of formats supported by plug-in

pFormatInfo

Type: ID_FormatInfo*

Information about each format supported

Remarks

The plug-in owns the memory pointed to by pFormatInfo and must not free it until the plug-in library is unloaded (used by the ID_GetPlugInInfo function).

Requirements

Header: ID_PlugIn.h

See also: