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

# SetupDiCreateDeviceInfoListExW(3w)

## NAME

**SetupDiCreateDeviceInfoListExW** (SETUPAPI.@)

## SYNOPSIS

HDEVINFO SetupDiCreateDeviceInfoListExW\
  (\
   const GUID\* *ClassGuid*,\
   HWND        *hwndParent*,\
   PCWSTR      *MachineName*,\
   PVOID       *Reserved*\
  )

## DESCRIPTION

Create an empty DeviceInfoSet list.

## PARAMS

*ClassGuid* **\[In\]**  if not **NULL** only devices with **GUID** *ClassGuid* are associated with this list.

*hwndParent* **\[In\]**  hwnd needed for interface related actions.

*MachineName* **\[In\]**  name of machine to create emtpy DeviceInfoSet list, if **NULL** local registry will be used.

*Reserved* **\[In\]**  must be **NULL**.

## RETURNS

**Success:** empty list.

**Failure:** **INVALID\_HANDLE\_VALUE**.

## IMPLEMENTATION

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

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

Debug channel **"setupapi"**.
