SysSockGetFirstAdapterInfo (FUN)ΒΆ

FUNCTION SysSockGetFirstAdapterInfo : RTS_IEC_HANDLE

Get adapter information struct of the first network adapter.
Note: It may took a while until a change of the adapter configuration is reflected here.
InOut:

Scope

Name

Type

Comment

Return

SysSockGetFirstAdapterInfo

RTS_IEC_HANDLE

Handle to be passed to SysSockGetNextAdapter() to retrieve the next adapter information.

Input

pAdapterInfo

POINTER TO SOCK_ADAPTER_INFORMATION

Network adapter information structure

puxiAdapterInfoSize

POINTER TO __UXINT

Size in bytes of |SOCK_ADAPTER_INFORMATION|; returns structure size from external implementation

pResult

POINTER TO RTS_IEC_RESULT

Pointer to runtime system error code (see CmpErrors.library)