Ets_State_Pointer_Get()
Note: Requires OPNET Development Kit
Abstract
Returns the state pointer associated with the given string.
Syntax
Ets_State_Pointer_Get (state_id_str, state_ptr)
| Argument | Type | Description |
|---|---|---|
state_id_str |
const char * |
Name assigned to state pointer. |
state_ptr |
void ** |
Pointer to return value. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if key is registered, EtsC_Compcode_Failure otherwise.
Header
ets_api_state.h
Details
This function gets the state pointer assigned to the given name with Ets_State_Pointer_Register() and returns it in the variable pointed to by the second argument.