PdhLookupPerfNameByIndex should be added to pdh.go
Opened this issue · 1 comments
douglaswth commented
According to Using PDH APIs correctly in a localized language, in order to support counter names in different localization languages, PdhLookupPerfNameByIndex
needs to be used to look up the localized names for the counter paths. Unfortunately pdh.go
doesn't have that yet.
If I get to it, I can probably work on it myself, but I'm creating the issue now if somebody else wants to work on it as well.
douglaswth commented
Hmm, there is PdhAddEnglishCounter
in pdh.go
, that might be fine for me if I don't need to support Windows Server 2003.