Ets_Model_Project_State_Set()
Note: Requires OPNET Development Kit
Abstract
Assigns a state pointer to the project.
Syntax
Ets_Model_Project_State_Set (client_ID, client_state_ptr)
| Argument | Type | Description |
|---|---|---|
client_ID |
EtsT_Client_State_ID |
An object can have many different client state types. This identifies your client state type. |
client_state_ptr |
void * |
Pointer to your structure that you want installed. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if the client state is successfully installed, EtsC_Compcode_Failure otherwise.
Header
ets_pstate.h
Details
Installs the state pointer on the current project. This function is much like Ets_Model_Network_State_Set(), but here the state is set on a project.