Using SetupAPI to Access Device Properties
In Windows Vista and later versions of Windows, the SetupAPI property functions can be used to access the properties of device instances, device classes, and device interfaces. For information about how to use these property functions to access the system-defined device properties, see the following topics:
Accessing Device Instance Properties
Accessing Device Class Properties
Accessing Device Interface Properties
For information about how to access device properties on Windows Server 2003, Windows XP, and Windows 2000, see Using SetupAPI and Configuration Manager to Access Device Properties.