Documentação da API > Parameters and relations > Object ProRelation > Callback ProRelationArgscheckFunction
Callback ProRelationArgscheckFunction
Description
This is the function called to validate the arguments of a custom relation function before it is invoked.
Synopsis
#include <ProRelSet.h>
(*ProRelationArgscheckFunction)
(
ProRelset* pro_relset
/* (In)
The relation set.
*/
ProMdl pro_model
/* (In)
The model that owns the relation set.
*/
char* extfunc_name
/* (In)
The name of the external function.
*/
ProParamvalue* pro_args
/* (In)
ProArray of argument values.
*/
ProAppData app_data
/* (In)
The application data passed to registration function.
*/
)
Returns
The arguments are valid.
Any other error
The arguments are invalid;the relation has an error.
User Guide References
Isto foi útil?