Category Creo Parametric fundamentals, Object ProMdl

Callback ProMdlDbmsFailureAction


DEPRECATED: Since Creo 3.0
SUPERSEDED BY: ProModelDbmsFailureAction
Description
Note: This function is deprecated. Use ProModelDbmsFailureAction instead. This is the notification function called whenever any file management functionality was invoked and failed.

Users must supply this function by calling ProNotificationSet() with the notify type PRO_MDL_DBMS_FAILURE.

The general format for the action (the argument dbms_action_string) is as follows:

 "menu_dbms__object"

Therefore, the possible failures are as follows:

  • "menu_dbms_create_object" -- Creation failure
  • "menu_dbms_purge_object" -- Purge failure
  • "menu_dbms_rename_object" -- Rename failure
  • "menu_dbms_save_object" -- Save failure
  • "menu_dbms_copy_object" -- Copy failure
  • "dbms_save_object_all" -- Failure saving a list of models,
  • "dbms_copy_object_all" -- Failure copying a list of models,
  • "dbms_retrieve_object_all" -- Failure retrieving a list of models.
Synopsis
#include <ProMdl.h>
ProError(*ProMdlDbmsFailureAction)(
char* dbms_action_string
/* (In)
The file management action that failed.
*/
ProMdldata* p_mdl1_data
/* (In)
The data for the main model.
*/
ProMdldata* p_mdl2_data
/* (In)
The data for the auxiliary model. This is initialized only in cases like copy and rename.
*/
ProError status
/* (In)
The internal error generated.
*/
)
Returns
Return values are not interpreted by Creo Parametric.
See Also
ProNotificationSet

Manual References:

  1. Pro/DEVELOP to Creo Parametric TOOLKIT Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Technical Summary of Changes for Creo 4.0 F000: Support for Notification Events and Callback Functions