网站首页  词典首页

请输入您要查询的函数:

 

术语 pdhbrowsecounters
释义 PdhBrowseCounters
语法:
C++
PDH_STATUS PdhBrowseCounters(
__in PPDH_BROWSE_DLG_CONFIG pBrowseDlgData
);
PdhBrowseCounters功能
浏览计数器显示一个对话框,用户可以用它来选择一个或多个计数器,他们希望添加到查询。
要使用句柄数据源,使用PdhBrowseCountersH功能。
参数
pBrowseDlgData [in]
阿PDH_BROWSE_DLG_CONFIG结构,指定对话框的行为。
返回值
如果函数成功,它返回ERROR_SUCCESS。
如果函数失败,返回值是一个系统错误代码或一种PDH错误代码。
备注
请注意,该对话框可返回PDH_DIALOG_CANCELLED如果bSingleCounterPerDialog为FALSE,用户点击关闭按钮,使您的错误处理将不得不交代。
有关使用此函数的详细信息,请浏览计数器。
实例
有关示例,请浏览性能计数器。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderPdh.h
LibraryPdh.lib
DLLPdh.dll
Unicode和ANSI namesPdhBrowseCountersW(Unicode)和PdhBrowseCountersA(ANSI)的
参见
CounterPathCallBack
PDH_BROWSE_DLG_CONFIG
PdhBrowseCountersH
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月23日
==英文原文==PdhBrowseCounters Function
Displays a Browse Counters dialog box that the user can use to select one or more counters that they want to add to the query.
To use handles to data sources, use the PdhBrowseCountersH function.
Syntax
C++
PDH_STATUS PdhBrowseCounters(
__in PPDH_BROWSE_DLG_CONFIG pBrowseDlgData
);
Parameters
pBrowseDlgData [in]
A PDH_BROWSE_DLG_CONFIG structure that specifies the behavior of the dialog box.
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 .
Remarks
Note that the dialog box can return PDH_DIALOG_CANCELLED if bSingleCounterPerDialog is FALSE and the user clicks the Close button, so your error handling would have to account for this.
For information on using this function, see Browsing Counters .
Examples
For an example, see Browsing Performance Counters .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderPdh.h
LibraryPdh.lib
DLLPdh.dll
Unicode and ANSI namesPdhBrowseCountersW (Unicode) and PdhBrowseCountersA (ANSI)
See Also
CounterPathCallBack
PDH_BROWSE_DLG_CONFIG
PdhBrowseCountersH
Send comments about this topic to Microsoft
Build date: 7/23/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa372542(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:52