Category Manufacturing, Object ProCl

Callback ProClCommandExpandAction


Description
This is the callback to interpret the user's CL commands.

If you do not supply a callback, the system uses the CL command location.

Synopsis
#include <ProClCmd.h>
ProError(*ProClCommandExpandAction)(
ProFeature* pro_feat
/* (In)
The feature.
*/
wchar_t* command[512]
/* (In)
The CL command. This is an array of lines.
*/
int num_cmd_lines
/* (In)
The number of lines in the command.
*/
ProClCmdData** r_output_arr
/* (Out)
The resultant array.
*/
int* output_num
/* (Out)
The number if items in the array r_output_arr.
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.
PRO_TK_E_NOT_FOUNDThe specified CL command was not found.

Manual References:

  1. Event-driven Programming: Notifications: CL Command Events