EtsT_Nt_Object_Uninstall_Callback
Note: Requires OPNET Development Kit
Abstract
Callback: Used to specify actions to be taken when an object is removed from a network.
Syntax
EtsT_Nt_Object_Uninstall_Callback (obj_handle_array, array_size, state_ptr)
| Argument | Type | Description |
|---|---|---|
obj_handle_array |
EtsT_Obj_Handle * |
array of objects to remove from editor |
array_size |
int |
the number of objects in the array |
state_ptr |
void * |
arbitrary client state |
Return Type
void
No return value.
Header
ets_api_nt_cback.h
Details
This callback can be registered by two functions:
- When registered by Ets_Nt_Object_Pre_Uninstall_Callback_Register(), it is called before the uninstalled object is detached from the network. Because the object to be uninstalled is still attached to the network, the callback has access to the object's children and other information.
- When registered by Ets_Nt_Object_Post_Uninstall_Callback_Register(), it is called when the uninstalled object is detached from the network and about to be destroyed.