Reference

GetFriendlyIfIndex(3w)

NAME

GetFriendlyIfIndex (IPHLPAPI.@)

SYNOPSIS

DWORD GetFriendlyIfIndex
(
DWORD IfIndex
)

DESCRIPTION

Get a "friendly" version of IfIndex, which is one that doesn't have the top byte set. Doesn't validate whether IfIndex is a valid adapter index.

PARAMS

IfIndex [In] interface index to get the friendly one for.

RETURNS

A friendly version of IfIndex.

IMPLEMENTATION

Declared in "iphlpapi.h".

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

Debug channel "iphlpapi".

History