Category Parameters and relations, Object ProUserdef

Function ProUserdefFunctionInit


Description
Initializes a User Defined Function data structure.
Synopsis
#include <ProUserdefFunction.h>
ProErrorProUserdefFunctionInit(
ProMdl owner
/* (In)
The model to which the Function belongs. NULL means the Function belongs to a Library.
*/
ProName func_name
/* (In)
The name of the Function.
*/
ProUserdefFunction* func
/* (Out)
The initialized ProUserdefFunction handle.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the handle.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_E_NOT_FOUNDThe Function was not found within the owner.