网站首页  计算机词典

请输入您要查询的字词:

 

字词 pdhopenqueryh
释义 PdhOpenQueryH
语法:
C++
PDH_STATUS PdhOpenQueryH(
__in PDH_HLOG hDataSource,
__in DWORD_PTR dwUserData,
__out PDH_HQUERY *phQuery
);
PdhOpenQueryH功能
创建一个新的查询,用于管理的性能数据集合。
此功能是相同的PdhOpenQuery功能,除了它支持使用句柄数据源。
参数
hDataSource [in]
处理到数据源的PdhBindInputDataSource函数返回。
dwUserData [in]
用户定义的值和这项查询。要检索的用户数据后,调用PdhGetCounterInfo功能和访问的PDH_COUNTER_INFO dwQueryUserData成员。
phQuery [out]
句柄查询。您可以使用该句柄在随后的电话。
返回值
如果函数成功,它返回ERROR_SUCCESS。
如果函数失败,返回值是一个系统错误代码或一种PDH错误代码。
要求:
最低支持client-Windows XP
最低支持serverWindows服务器2003
HeaderPdh.h
LibraryPdh.lib
DLLPdh.dll
参见
PdhBindInputDataSource
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月23日
==英文原文==PdhOpenQueryH Function
Creates a new query that is used to manage the collection of performance data.
This function is identical to the PdhOpenQuery function, except that it supports the use of handles to data sources.
Syntax
C++
PDH_STATUS PdhOpenQueryH(
__in PDH_HLOG hDataSource,
__in DWORD_PTR dwUserData,
__out PDH_HQUERY *phQuery
);
Parameters
hDataSource [in]
Handle to a data source returned by the PdhBindInputDataSource function.
dwUserData [in]
User-defined value to associate with this query. To retrieve the user data later, call the PdhGetCounterInfo function and access the dwQueryUserData member of PDH_COUNTER_INFO .
phQuery [out]
Handle to the query. You use this handle in subsequent calls.
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 .
Requirements
Minimum supported clientWindows XP
Minimum supported serverWindows Server 2003
HeaderPdh.h
LibraryPdh.lib
DLLPdh.dll
See Also
PdhBindInputDataSource
Send comments about this topic to Microsoft
Build date: 7/23/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa372654(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/24 0:50:24