EtsT_Client_State_Copy_Create_Proc
Note: Requires OPNET Development Kit
Abstract
Callback: Called when the client state needs to be copied.
Syntax
<state_copy_create_proc_name> (orig_state_ptr)
| Argument | Type | Description |
|---|---|---|
orig_state_ptr |
void * |
The client state to be copied, as installed on an object being duplicated. |
Return Type
void *
The new (copied) client state.
Header
ets_pstate.h
Details
When an object with an installed client state is duplicated, the corresponding state_copy_create_proc (registered by Ets_Client_State_Handlers_Register()) is called. This callback should allocate a new state and fill in the new state with a copy of the information in the original state.