CX_CommandParams struct

This structure is used to instruct the plug-in to invoke a specified command.

Syntax

struct CX_CommandParams
{
   CX_CommandParams() { ZeroMemory(this, sizeof(*this)); iCommand = -1; };

   DWORD dwFlags;
   int iCommand;
   int nFiles;
   CX_FileInfo* pfi;
   HWND hwndParent;
   CX_Callbacks cb;
};

Members

dwFlags

Type: DWORD

CX_CPF flags. NOTE: These flags have been deprecated. Compare each callback function pointer to NULL to determine if it's valid.

iCommand

Type: int

Index of command to invoke

nFiles

Type: int

Number of files selected

pfi

Type: CX_FileInfo*

Array of information about selected files

hwndParent

Type: HWND

Host application parent window

cb

Type: CX_Callbacks

Callback function pointers

Remarks

This structure also contains pointers to host application-defined functions that the plug-in can use (used in the CX_InvokeCommand function).

Requirements

Header: CX_PlugIn.h

See also: