INtime SDK Help
hpeClose
INtime SDK v7 > About INtime > Networking and I/O > High-Performance Ethernet > hpeClose

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);

Parameters

devhandle
A handle value previously returned from a successful call to hpeOpen.

Return Values

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.

Requirements

Versions Defined in Include Link to
INtime 4.0 intime/rt/include/hpeif2.h hpeif2.h hpeif2.lib
See Also