Here is a new KB article describing restrictions which can be placed on Performance Data:
http://support.microsoft.com/default.aspx?scid=kb;en-us;146906
--------------
This KB article explains why using performance data on NT4 SP6 would hang plus a workaround (use the Unicode version instead of the ANSI version):
http://support.microsoft.com/default.aspx?scid=kb;en-us;226371
Therefore the call to RegQueryValueEx() must be replaced with RegQueryValueExW() and TEXT("Global") should be replaced with L"Global".
--------------
This KB article explains why exceptions may be thrown or why the data returned from a performance data call would be invalid:
http://support.microsoft.com/default.aspx?scid=kb;en-us;178887
We may need to wrap calls probing HKEY_PERFORMANCE_DATA in an exception handling block.
Jeffrey Altman
smime.p7s
Description: S/MIME Cryptographic Signature