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

# GetInterfaceInfo(3w)

## NAME

**GetInterfaceInfo** (IPHLPAPI.@)

## SYNOPSIS

DWORD GetInterfaceInfo\
  (\
   PIP\_INTERFACE\_INFO *pIfTable*,\
   PULONG             *dwOutBufLen*\
  )

## DESCRIPTION

Get a list of network interface adapters.

## PARAMS

*pIfTable* **\[Out\]**  buffer for interface adapters.

*dwOutBufLen* **\[Out\]**  if buffer is too small, returns required size.

## RETURNS

**Success:** **NO\_ERROR**

**Failure:** error code from Winerror.h.

## BUGS

**MSDN** states this should return non-loopback interfaces only.

## IMPLEMENTATION

Declared in **"iphlpapi.h"**.

Implemented in **"dlls/iphlpapi/iphlpapi\_main.c"**.

Debug channel **"iphlpapi"**.
