[Bug 32483] New: Windows Sysinternals "PsInfo" tool fails to retrieve "Video driver" info due to missing registry device hw class {4D36E968-E325-11CE-BFC1-08002BE10318}

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Dec 18 15:30:35 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=32483

             Bug #: 32483
           Summary: Windows Sysinternals "PsInfo" tool fails to retrieve
                    "Video driver" info due to missing registry device hw
                    class {4D36E968-E325-11CE-BFC1-08002BE10318}
           Product: Wine
           Version: 1.5.19
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net
    Classification: Unclassified


Hello folks,

Windows Sysinternals "PsInfo" tool fails to query for some system properties...
Making this bug about "Video driver".

Output:

--- snip ---
$ wine ./PsInfo.exe 

PsInfo v1.77 - Local and remote system information viewer
Copyright (C) 2001-2009 Mark Russinovich
Sysinternals - www.sysinternals.com

Querying information for nexus4...fixme:ole:CoInitializeSecurity
((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
System information for \\nexus4:                                               
Uptime:                    Error reading uptime
Kernel version:            Microsoft Windows XP, Uniprocessor Free
Product type:              Professional
Product version:           5.1
Service pack:              3
Kernel build number:       2600
Registered organization:   
Registered owner:          
IE version:                6.0000
System root:               C:\windows
Processors:                4
Processor speed:           2.6 GHz
Processor type:            Intel(R) Pentium(R) 4 CPU
Physical memory:           0 MB
Video driver:              
--- snip ---

Trace log for failing registry queries (0-9):

--- snip ---
...
0024:Call advapi32.RegOpenKeyExW(80000002,0032f98c
L"SYSTEM\\CurrentControlSet\\Control\\Class\\{4D36E968-E325-11CE-BFC1-08002BE10318}\\0000",00000000,00020019,0032f96c)
ret=00404611
0024:Ret  advapi32.RegOpenKeyExW() retval=00000002 ret=00404611
0024:Call KERNEL32.GetLastError() ret=0040d8f2
0024:Ret  KERNEL32.GetLastError() retval=00000000 ret=0040d8f2
...
0024:Call advapi32.RegOpenKeyExW(80000002,0032f98c
L"SYSTEM\\CurrentControlSet\\Control\\Class\\{4D36E968-E325-11CE-BFC1-08002BE10318}\\0009",00000000,00020019,0032f96c)
ret=00404611
0024:Ret  advapi32.RegOpenKeyExW() retval=00000002 ret=00404611
--- snip ---

4D36E968-E325-11CE-BFC1-08002BE10318 -> Display class GUID

There are already a couple of hardware device class GUIDs in Wine registry:

--- snip ---
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class]

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{4d36e967-e325-11ce-bfc1-08002be10318}]
@="Disk drives"
"Class"="DiskDrive"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{4d36e978-e325-11ce-bfc1-08002be10318}]
@="Ports (COM & LPT)"
"Class"="Ports"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{6bdd1fc6-810f-11d0-bec7-08002be2092f}]
@="Imaging devices"
"Class"="Image"
--- snip ---

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list