Ets_An_Panel_Destroy_Callback_Register()
Note: Requires OPNET Development Kit
Abstract
Registers a custom procedure used to destroy an analysis panel.
Syntax
Ets_An_Panel_Destroy_Callback_Register (an_panel_handle, callback_fn_ptr, state_ptr)
| Argument | Type | Description |
|---|---|---|
an_panel_handle |
EtsT_An_Panel_Handle |
the handle to the panel |
callback_fn_ptr |
EtsT_An_Panel_Destroy_Proc |
function to be called to destroy the analysis panel |
state_ptr |
void * |
user-defined state pointer passed to the destroy callback |
Return Type
void
No return value.
Header
ets_api_an_panel.h
Details
This function registers a client-specified callback function (callback_fn_ptr) that is invoked when the trace in an analysis panel (identified by an_panel_handle) is being destroyed. state_ptr is a user-supplied state pointer that will be passed as one of the arguments to the destroy callback when the callback is called.
The destroy callback signature is described in EtsT_An_Panel_Destroy_Proc.