Function ProModelcheckCheckRegister
Description
Registers an external check that can be included in any ModelCheck execution.
Replacement in Object TOOLKIT:
Synopsis
#include <ProMdlChk.h>
ProModelcheckCheckRegister
(
/* (In)
The name of the check. This also corresponds to the ModelCheck configuration option name.
*/
wchar_t* label
/* (In)
The label for the check, in the localized language.
*/
/* (In)
Options to be used for the check registration. Can be NULL.
*/
/* (In)
The function to be called when executing the check.
*/
/* (In)
The function to be called when ModelCheck is ready to discard the results of the check. Can be NULL.
*/
wchar_t* action_label
/* (In)
Label for the button used to perform an action for an item found by the check. Pass NULL to not provide this button.
*/
/* (In)
The function to be called to perform an action on model based on the results of the check. Can be NULL.
*/
wchar_t* update_label
/* (In)
Label for the button used to update the model for an item found by the check. Pass NULL to not provide this button.
*/
/* (In)
The function to be called when updating the model based on the results of the check. Can be NULL.
*/
ProAppData appdata
/* (In)
Application data to be passed to the callback functions. Can be NULL.
*/
)
Returns
The function succeeded.
One or more input arguments was invalid.
Check with this name already exists.
ModelCheck is not enabled in session.
Sample Code References
User Guide References
Est-ce que cela a été utile ?