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

Reports the interface's 6-byte MAC address.

HPESTATUS hpeGetMacAddress(
    HPEHANDLE devhandle, 
    BYTE *mac_addr
);

Parameters

devhandle
A handle value for the device.
mac_addr
A pointer to a 6-byte buffer where the MAC address will be returned.

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 handle for an open HPE interface.

Requirements

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