Platform SDK: Hardware

Device Management Functions

The following functions are used in device management.

Function Description
RegisterDeviceNotification Specifies the device or type of device for which a window will receive notifications.
SetupDiCreateDeviceInfoList Creates an empty device information set.
SetupDiCreateDeviceInfoListEx Creates an empty device information set for a local or remote computer.
SetupDiCreateDeviceInterfaceRegKey Creates a registry key for storing information about a device interface instance.
SetupDiDeleteDeviceInterfaceData Deletes a device interface from a device information set.
SetupDiDeleteDeviceInterfaceRegKey Deletes the registry subkey used by applications and drivers to store information specific to a device interface instance.
SetupDiDestroyDeviceInfoList Destroys a device information set and frees all associated memory.
SetupDiEnumDeviceInterfaces Retrieves a context structure for a device interface of a device information set.
SetupDiGetClassDevs Retrieves a device information set that contains all devices of a specified class.
SetupDiGetClassDevsEx Retrieves a device information set that contains all devices of a specified class on a local or remote computer.
SetupDiGetDeviceInterfaceAlias Retrieves an alias for the specified device interface.
SetupDiGetDeviceInterfaceDetail Retrieves detailed information about a specified device interface.
SetupDiOpenClassRegKeyEx Opens the registry key for the device setup or interface class, or a subkey for a specific class.
SetupDiOpenDeviceInterface Retrieves information about an existing device interface and adds it to the specified device information set.
SetupDiOpenDeviceInterfaceRegKey Opens the registry subkey that applications and drivers use to store information specific to a device interface instance.
UnregisterDeviceNotification Closes the specified device notification handle.