EtsT_Pj_Event_Notify_Callback
Note: Requires OPNET Development Kit
Abstract
Callback: Called before or after a supported project-related event occurs.
Syntax
<event_notify_callback_name> (event_code, project_name, status)
| Argument | Type | Description |
|---|---|---|
event_code |
EtsT_Pj_Event_Code |
Event type that triggered the callback; one of the event codes in Table 36 Project Package Symbolic Constants. |
project_name |
const char * |
Name of the project. |
success_flag |
int |
Flag indicating whether the operation being signalled has completed successfully (-1 = failure, 1 = success). |
Return Type
void
No return value.
Header
ets_api_pj.h
Details
This callback will be invoked either before an event takes place or immediately after an event has taken place. The supported events are open, new, backup, and save. The callback is registered by Ets_Pj_Event_Notify_Callback_Register().