Reference

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

History