Closes an Ethernet interface indicated by the handle parameter. The hardware interface is closed down and any resources created while the interface was in use are released.
HPESTATUS hpeClose(HPEHANDLE devhandle);
devhandle
A status value indicating the success or failure of the operation:
E_OK |
The operation completed successfully. |
E_PARAM |
The handle given is not a valid handle. |
E_EXIST |
The handle given is not a handle for an open HPE interface. |
E_STATE |
The interface specified by the handle is not open. |
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 4.0 | intime/rt/include/hpeif2.h | hpeif2.h | hpeif2.lib |