网站首页  词典首页

请输入您要查询的函数:

 

术语 loadperfcountertextstrings
释义 LoadPerfCounterTextStrings
语法:
C++
DWORD LoadPerfCounterTextStrings(
__in LPCTSTR commandLine,
__in BOOL bQuietModeArg
);
LoadPerfCounterTextStrings功能
加载到计算机的性能对象,在指定的初始化文件中定义的计数器。
参数
命令行 [in]
空结束的字符串,由一个或多个任意字母,一个空格,然后在初始化(。ini)文件的名称。该名称可以包含到初始化文件的路径。
该函数只使用初始化文件,第一个参数将被丢弃。例如,要加载初始化文件名为“myfile.ini”的命令行字符串可能是“某某myfile.ini”。在空间的信(这里“× ×”)将被丢弃,而第二部分,下面的空间,为初始化文件规范解释。
bQuietModeArg [in]
设置为TRUE显示,以防止从lodctr要安装工具输出的功能,否则,假。此参数的含义只有在应用程序从命令提示符下运行。
返回值
如果函数成功,它返回ERROR_SUCCESS。
如果函数失败,返回值是系统错误代码之一。
备注
此功能提供了一个API由lodctr要安装工具提供的功能。有关要安装的对象的信息,请参见添加计数器名称和说明书记官处。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderLoadperf.h
LibraryLoadperf.lib
DLLLoadperf.dll
Unicode和ANSI namesLoadPerfCounterTextStringsW(Unicode)和LoadPerfCounterTextStringsA(ANSI)的
参见
UnloadPerfCounterTextStrings
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月23日
==英文原文==LoadPerfCounterTextStrings Function
Loads onto the computer the performance objects and counters defined in the specified initialization file.
Syntax
C++
DWORD LoadPerfCounterTextStrings(
__in LPCTSTR commandLine,
__in BOOL bQuietModeArg
);
Parameters
commandLine [in]
Null-terminated string that consists of one or more arbitrary letters, a space, and then the name of the initialization (.ini) file. The name can include the path to the initialization file.
The function uses only the initialization file; the first argument is discarded. For example, to load an initialization file called "myfile.ini", the commandLine string could be "xx myfile.ini". The letters before the space (here "xx") are discarded, and the second part, following the space, is interpreted as the initialization file specification.
bQuietModeArg [in]
Set to TRUE to prevent the function from displaying the output from the Lodctr tool; otherwise, FALSE. This parameter has meaning only if the application is run from a command prompt.
Return Value
If the function succeeds, it returns ERROR_SUCCESS.
If the function fails, the return value is one of the system error codes .
Remarks
This function provides an API to the functionality provided by the Lodctr tool. For information on Lodctr, see Adding Counter Names and Descriptions to the Registry .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderLoadperf.h
LibraryLoadperf.lib
DLLLoadperf.dll
Unicode and ANSI namesLoadPerfCounterTextStringsW (Unicode) and LoadPerfCounterTextStringsA (ANSI)
See Also
UnloadPerfCounterTextStrings
Send comments about this topic to Microsoft
Build date: 7/23/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa372187(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:22:59