术语 | pdhbrowsecountersh |
释义 | PdhBrowseCountersH 语法: C++ PDH_STATUS PdhBrowseCountersH( __in PPDH_BROWSE_DLG_CONFIG pBrowseDlgData ); PdhBrowseCountersH功能 浏览计数器显示一个对话框,用户可以用它来选择一个或多个计数器,他们希望添加到查询。 此功能是相同的PdhBrowseCounters功能,除了它支持使用句柄数据源。 参数 pBrowseDlgData [in] 阿PDH_BROWSE_DLG_CONFIG_H结构,指定对话框的行为。 返回值 如果函数成功,它返回ERROR_SUCCESS。 如果函数失败,返回值是一个系统错误代码或一种PDH错误代码。 备注 请注意,该对话框可返回PDH_DIALOG_CANCELLED如果bSingleCounterPerDialog为FALSE,用户点击关闭按钮,使您的错误处理将不得不交代。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderPdh.h LibraryPdh.lib DLLPdh.dll Unicode和ANSI namesPdhBrowseCountersHW(Unicode)和PdhBrowseCountersHA(ANSI)的 参见 PdhBindInputDataSource PdhEnumMachinesH PdhEnumObjectItemsH PdhEnumObjectsH PdhExpandWildCardPathH PdhGetDataSourceTimeRangeH PdhGetDefaultPerfObjectH PdhGetDefaultPerfCounterH PdhOpenQueryH PDH_BROWSE_DLG_CONFIG_H 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月23日 ==英文原文==PdhBrowseCountersH 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. This function is identical to the PdhBrowseCounters function, except that it supports the use of handles to data sources. Syntax C++ PDH_STATUS PdhBrowseCountersH( __in PPDH_BROWSE_DLG_CONFIG pBrowseDlgData ); Parameters pBrowseDlgData [in] A PDH_BROWSE_DLG_CONFIG_H 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. Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderPdh.h LibraryPdh.lib DLLPdh.dll Unicode and ANSI namesPdhBrowseCountersHW (Unicode) and PdhBrowseCountersHA (ANSI) See Also PdhBindInputDataSource PdhEnumMachinesH PdhEnumObjectItemsH PdhEnumObjectsH PdhExpandWildCardPathH PdhGetDataSourceTimeRangeH PdhGetDefaultPerfObjectH PdhGetDefaultPerfCounterH PdhOpenQueryH PDH_BROWSE_DLG_CONFIG_H Send comments about this topic to Microsoft Build date: 7/23/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/aa372544(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。