CX_InvokeCommand function

Function that is called when the host application wants the plug-in to invoke a command.

Syntax

PLUGIN_API int __stdcall CX_InvokeCommand
(
   CX_CommandParams* pcp,
   CX_CommandResults* pcr
);

Parameters

pcp

Type: CX_CommandParams*

[in] Specifies command to invoke, and parameters

pcr

Type: CX_CommandResults*

[out] Command results

Return Value

For a description of return values, see Return Values.

Remarks

This is the main function of a Command Extension plug-in, where the plug-in executes a command for the host application.

Requirements

Header: CX_PlugIn.h

See also: