How can I programmatically determine whether Windows Vista is using a WDDM
driver or an XPDM driver?

I can enumerate the drivers and obtain a name such as:
RADEON XPRESS 200M Series (Microsoft Corporation - WDDM)

but there's no guarantee that all WDDM drivers have the string "WDDM" in the
name.

Any other suggestions?