INtime SDK Help
hpeGetInterfaceInfo
INtime SDK v7.1 > About INtime > Networking and I/O > High-Performance Ethernet > hpeGetInterfaceInfo

returns attributes of device associated with the HPEHANDLE.

HPESTATUS hpeGetInterfaceInfo(
    HPEHANDLE devhandle, 
DWORD info_type,
LPVOID *info,
DWORD info_size );

Parameters

devhandle
A handle value for the device.
info_type
The type of information to return. One of the following:
HPE_INFO_INTERFACE_CAPABILITIES
Return a structure of type HPE_INTERFACE_CAPABILITIES, describing the device and its HPE capabilities.
HPE_INFO_INTERFACE_PARAMETERS
Return a structure of HPE_INTERFACE_PARAMETERS, describing the interface parameters for the device.
HPE_INFO_INTERFACE_PCIBUS
Return a structure of type HPE_INTERFACE_PCIBUS, describing the PCI bus information for the device.
info
A pointer to a structure identified by the info_type parameter.
info_size
The size in bytes of the structure pointed to by the info parameter.

Return Values

A status value indicating the success or failure of the operation:

E_OK The operation completed successfully.
E_EXIST The handle given is not a valid handle value.
E_STATE The handle given is not for a valid HPE device.
E_BAD_ADDR The info parameter is not a valid pointer.
E_PARAM The info_type parameter is not valid.

Requirements

Versions Defined in Include Link to
INtime 6.0 (HPE3) intime/rt/include/hpeif2.h hpeif2.h hpeif2.lib
See Also