Call RegQueryValueEx, raise errors in event viewer log
Posted on 2002-03-04
In Win2000, I called RegQueryValueEx(HKEY_PERFORMANCE_DATA, "510", 0, &type, data, &size) to collect netcard's performance data. The returns is SUCCESS, but this will raise warning and error in event viewer log, the warning and error are following:
WARN:"The configuration information of the performance library "E:\WINNT\System32\w3ctrs.dll" for the "W3SVC" service does not match the trusted performance library information stored in the registry. The functions in this library will not be treated as trusted. "
ERROR: "The Open Procedure for service "MSMQ" in DLL "E:\WINNT\System32\MQPERF.DLL" failed. Performance data for this service will not be available. Status code returned is data DWORD 0. "
Is it a serious problem? How to solve such problems? Thanks in advance.