[Bug 32481] New: Windows Sysinternals "PsInfo" tool fails to retrieve "system uptime" using PDH (local computername prepended in path)
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Dec 18 14:55:46 CST 2012
http://bugs.winehq.org/show_bug.cgi?id=32481
Bug #: 32481
Summary: Windows Sysinternals "PsInfo" tool fails to retrieve
"system uptime" using PDH (local computername
prepended in path)
Product: Wine
Version: 1.5.19
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: pdh
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 "system uptime".
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 ---
Wine PDH supports "System Up Time" but only if the path doesn't include a
computer name (even if it's the local one).
--- snip ---
0024:Call pdh.PdhOpenQueryW(00000000,00000000,0032f130) ret=004039fa
0024:Call ntdll.RtlAllocateHeap(00110000,00000008,00000020) ret=7eff6ea7
0024:Ret ntdll.RtlAllocateHeap() retval=0013d540 ret=7eff6ea7
0024:Ret pdh.PdhOpenQueryW() retval=00000000 ret=004039fa
0024:Call KERNEL32.GetLastError() ret=0040d8f2
0024:Ret KERNEL32.GetLastError() retval=00000000 ret=0040d8f2
0024:Call pdh.PdhAddCounterW(0013d540,0032f14c L"\\\\nexus4\\System\\System Up
Time",00000000,0032f134) ret=00403a3f
0024:Ret pdh.PdhAddCounterW() retval=c0000bb9 ret=00403a3f
--- snip ---
Wine should support local computername in path (counter sources path entry).
Source:
http://source.winehq.org/git/wine.git/blob/fcd8a8f447f9774faeb2e1b31cea3d09d8507025:/dlls/pdh/pdh_main.c#l258
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