Hello everyone,
How to get the performance counter index and name relationship? Is there a table?
(like integer 180 for working set counter)
I can not find from MSDN,
http://msdn2.microsoft.com/en-us/library/aa372648.aspx
thanks in advance,
George
This is a discussion on Performance counter index within the Windows Programming forums, part of the Platform Specific Boards category; Hello everyone, How to get the performance counter index and name relationship? Is there a table? (like integer 180 for ...
Hello everyone,
How to get the performance counter index and name relationship? Is there a table?
(like integer 180 for working set counter)
I can not find from MSDN,
http://msdn2.microsoft.com/en-us/library/aa372648.aspx
thanks in advance,
George
I guess you can call it a table. It's actually a registry key with a type of REG_MULTI_SZ, which IMHO can be construed as a table.Where LangId is 009 for U.S. English. This is the key that the function references.Code:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\LangId
Cool, BobS0327!
It works for Windows Server 2003 machine! But it does not work my another new Windows Vista machine. The error message when open Perflib folder is,
--------------------
can not open Perflib, access denied, error access private key for unknown reason.
--------------------
Any ideas?
regards,
George