GetPerAdapterInfo function iphlpapi

int GetPerAdapterInfo(
  1. int IfIndex,
  2. Pointer<IP_PER_ADAPTER_INFO_W2KSP1> pPerAdapterInfo,
  3. Pointer<Uint32> pOutBufLen
)

The GetPerAdapterInfo function retrieves information about the adapter corresponding to the specified interface.

DWORD GetPerAdapterInfo(
  ULONG                IfIndex,
  PIP_PER_ADAPTER_INFO pPerAdapterInfo,
  PULONG               pOutBufLen
);

Implementation

int GetPerAdapterInfo(
        int IfIndex,
        Pointer<IP_PER_ADAPTER_INFO_W2KSP1> pPerAdapterInfo,
        Pointer<Uint32> pOutBufLen) =>
    _GetPerAdapterInfo(IfIndex, pPerAdapterInfo, pOutBufLen);