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

# SetupDiDestroyDeviceInfoList(3w)

## NAME

**SetupDiDestroyDeviceInfoList** (SETUPAPI.@)

## SYNOPSIS

BOOL SetupDiDestroyDeviceInfoList\
  (\
   HDEVINFO *devinfo*\
  )

## DESCRIPTION

Destroy a DeviceInfoList and free all used memory of the list.

## PARAMS

*devinfo* **\[In\]**  DeviceInfoList pointer to list to destroy.

## RETURNS

**Success:** non zero value.

**Failure:** zero value.

## IMPLEMENTATION

Declared in **"setupapi.h"**.

Implemented in **"dlls/setupapi/devinst.c"**.

Debug channel **"setupapi"**.
