网站首页  词典首页

请输入您要查询的函数:

 

术语 pdhupdatelogfilecatalog
释义 PdhUpdateLogFileCatalog
语法:
C++
PDH_STATUS PdhUpdateLogFileCatalog(
__in PDH_HLOG hLog
);
PdhUpdateLogFileCatalog功能
同步的信息表明,在日志文件中的性能数据日志文件目录。
注意:此功能已经过时了。
参数
hLog [in]
处理到日志文件包含的文件目录进行更新。该PdhOpenLog功能。
返回值
如果函数成功,它返回ERROR_SUCCESS。
如果函数失败,返回值是一个系统错误代码或一种PDH错误代码。以下是可能的值。
返回codeDescription
PDH_NOT_IMPLEMENTEDA处理到CSV或TSV日志文件中指定。这些日志文件类型没有目录。
PDH_UNKNOWN_LOG_FORMATA处理到一个未知格式的日志文件中指定。
PDH_INVALID_HANDLEThe句柄无效。
备注
日志文件目录作为对在日志文件的性能数据记录的索引,对于在个人记录档案,提供更快的搜索。
目录时,应更新数据收集工作已经完成,日志文件已被关闭。该目录中可以更新数据的收集,但这样做可能会破坏了记录的性能数据的过程,因为更新的目录可能会非常耗时。
perfmon的,CSV和TSV的日志文件没有目录。指定的句柄,这些日志文件类型将导致PDH_NOT_IMPLEMENTED返回值。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderPdh.h
LibraryPdh.lib
DLLPdh.dll
参见
PdhGetLogFileSize
PdhUpdateLog
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月23日
==英文原文==PdhUpdateLogFileCatalog Function
Synchronizes the information in the log file catalog with the performance data in the log file.
Note This function is obsolete.
Syntax
C++
PDH_STATUS PdhUpdateLogFileCatalog(
__in PDH_HLOG hLog
);
Parameters
hLog [in]
Handle to the log file containing the file catalog to update. The PdhOpenLog function.
Return Value
If the function succeeds, it returns ERROR_SUCCESS.
If the function fails, the return value is a system error code or a PDH error code . The following are possible values.
Return codeDescription
PDH_NOT_IMPLEMENTEDA handle to a CSV or TSV log file was specified. These log file types do not have catalogs.
PDH_UNKNOWN_LOG_FORMATA handle to a log file with an unknown format was specified.
PDH_INVALID_HANDLEThe handle is not valid.

Remarks
The log file catalog serves as an index to the performance data records in the log file, providing for faster searches for individual records in the file.
Catalogs should be updated when the data collection process is complete and the log file has been closed. The catalog can be updated during data collection, but doing this may disrupt the process of logging the performance data because updating the catalogs can be time consuming.
Perfmon, CSV, and TSV log files do not have catalogs. Specifying a handle to these log file types will result in a return value of PDH_NOT_IMPLEMENTED.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderPdh.h
LibraryPdh.lib
DLLPdh.dll
See Also
PdhGetLogFileSize
PdhUpdateLog
Send comments about this topic to Microsoft
Build date: 7/23/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa372984(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:21:05