Previous Topic Next Topic
 

As an in-house test and development tool, we developed a utility that allowed us to explore the device details for a particular GUID. This utility may be useful to software developers so we are including it with busTRACE 10.0.

Windows provides a set of APIs that allow a developer to enumerate a particular device class GUID, and determine additional information on each device that is detected.

We display the GUID identifier string as they're declared in the Windows Driver Development Kit header file. Select the GUID that interests you. This will show you the enumerated device objects that the OS returns. You can then select a device and a device property you'd like to view. The device property will appear in hex and ASCII in the bottom portion of the dialog box.

The APIs we use are part of the SetupDiXxx class of APIs as described in the Windows Driver Development Kit. Please refer to the DDK for additional information on this application. You'll want to pay particular attention to the following APIs which we use:

  • SetupDiGetClassDevs()
  • SetupDiEnumDeviceInfo()
  • SetupDiGetDeviceRegistryProperty()
  • SetupDiDestroyDeviceInfoList()

You can run this utility from the busTRACE Start Menu.