How do you get the driver version (s) of Windows?

On Windows, how will my user mode program get the version number (s) of the version for the installed graphics card?

Programs such as the ATI Catalyst Control Center can display this information to the user or include it automatically in error reports. How do they get it?

I am looking at the PSDK documentation and I cannot find anything relevant.

Can a user program go through the database displayed by the device manager?
Is there an IOCTL call like getting disk geometry?
Is it a (trusted) registry key?

+3
source share
3 answers

In PowerShell:

Get-WmiObject Win32_VideoController | format-table Name, Description,VideoProcessor,DriverVersion

WMI , COM .Net.

ETA: VideoProcessor, , Live Mesh. , |where {$_.VideoProcessor -ne $null } format.

+7

"dxdiag/x output.xml", , "output.xml". dxdiag , .

python . , :

>>> import wmi
>>> c = wmi.WMI()
>>> for device in c.Win32_VideoController():
    if device.VideoProcessor:
        print device.DriverVersion
+1

. , .

0

All Articles