how to determine driver version ?

Hi,
I am attempting to write some C++ code to determine the version of my audio driver. I am using SetupDiGetClassDevs(), SetupDiEnumDeviceInfo(), and SetupDiGetDeviceRegistryProperty().

This API allows me to get the list of ALL drivers on the system, their names and versions. The only thing I can't figure out how to do is determine which one is the audio driver!

I tried using the property SPDRP_DEVTYPE, but it is not defined in my setupapi.h.

Any and all suggestions are welcome. Thanks in advance.
Charlie
[551 byte] By [ctsinger] at [2007-11-18 7:11:56]