SysEthernetAdapterOpen (FUN)

FUNCTION SysEthernetAdapterOpen : SysTypes.RTS_IEC_HANDLE

Open an Ethernet adapter by its MAC address. .. note:

Each adapter can only be opened once.
InOut:

Scope

Name

Type

Comment

Return

SysEthernetAdapterOpen

SysTypes.RTS_IEC_HANDLE

Returns a handle to the opened adapter. SysTypes.RTS_INVALID_HANDLE is returned if the operation failed.

Input

macAddress

ARRAY [0..5] OF BYTE

MAC address of the adapter to be opened.

pResult

POINTER TO SysTypes.RTS_IEC_RESULT

Result of the operation