Ets_Pj_Scenario_Event_Client_Callback_Deregister()
Note: Requires OPNET Development Kit
Abstract
Deregisters a callback that would be invoked when certain scenario-related events occur.
Syntax
Ets_Pj_Scenario_Event_Client_Callback_Deregister (editor_type_name, client_scenario_callback, client_data)
| Argument | Type | Description |
|---|---|---|
editor_type_name |
const char * |
Name of editor type to which the callback applies, or PRGC_NIL if it applies to all editor types. |
client_scenario_callback |
EtsT_Pj_Scenario_Event_Client_Callback |
Callback to be deregistered. |
client_data |
void * |
Client data to be deregistered. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if the callback is deregistered successfully; EtsC_Compcode_Failure if the specified callback was not registered.
Header
ets_api_pj.h
Details
The editor_type_name argument must be one of the editor names defined in an ETS configuration file (such as <install_dir>\<reldir>\sys\configs\modeler.ets). Valid editor names include “System” and “project”.
This function deregisters a callback that was registered with either Ets_Pj_Scenario_Event_Client_Callback_Register() or Ets_Pj_Scenario_Event_Client_Callback_Register_For_Editor_Type().