---
name: "GetFriendlyIfIndex"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/GetFriendlyIfIndex"
---

# 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"**.
