CX_FileInfo struct

Structure that is used to provide information about a particular file.

Syntax

struct CX_FileInfo
{
   CX_FileInfo() { ZeroMemory(this, sizeof(*this)); };

   DWORD dwAttribs;
   wchar_t* pszFN;
   DWORD dwFormatID;
   DWORD dwFlags;
   void* pParam;
};

Members

dwAttribs

Type: DWORD

CX_IAF flags

pszFN

Type: wchar_t*

Full path of file

dwFormatID

Type: DWORD

Image file format ID (or 0 if not an image)

dwFlags

Type: DWORD

Flags (set to 0)

pParam

Type: void*

Application-specific data

Remarks

The plug-in must not fill in a CX_FileInfo structure with arbitrary data. The plug-in must use the FileInfo pointers passed to it by the CX_InvokeCommand function (used in the CX_GetImageInfo, CX_GetPageInfo, CX_GetThumbnail, CX_DecodeImage and CX_GetMetadataItem callback functions, and in the CX_CommandParams structure).

Requirements

Header: CX_PlugIn.h

See also: