Reference

GetAdapterIndex(3w)

NAME

GetAdapterIndex (IPHLPAPI.@)

SYNOPSIS

DWORD GetAdapterIndex
(
LPWSTR AdapterName,
PULONG IfIndex
)

DESCRIPTION

Get interface index from its name.

PARAMS

AdapterName [In] unicode string with the adapter name.

IfIndex [Out] returns found interface index.

RETURNS

Success: NO_ERROR

Failure: error code from Winerror.h

IMPLEMENTATION

Declared in "iphlpapi.h".

Implemented in "dlls/iphlpapi/iphlpapi_main.c".

Debug channel "iphlpapi".

History