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.

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().

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com