网站首页  计算机词典

请输入您要查询的字词:

 

字词 pdhvalidatepath
释义 PdhValidatePath
语法:
C++
PDH_STATUS PdhValidatePath(
__in LPCTSTR szFullCounterPath
);
PdhValidatePath功能
会验证计数器在计数器路径中指定的计算机上。
参数
szFullCounterPath [in]
null结尾的字符串,其中包含计数器路径来验证。计数器的路径的最大长度为PDH_MAX_COUNTER_PATH。
返回值
如果函数成功,它返回ERROR_SUCCESS。
如果函数失败,返回值是一个系统错误代码或一种PDH错误代码。以下是可能的值。
返回codeDescription
PDH_CSTATUS_NO_INSTANCEThe性能对象指定的实例没有找到。
PDH_CSTATUS_NO_COUNTERThe指定的计数器没有发现在性能对象。
PDH_CSTATUS_NO_OBJECTThe指定的性能对象未找到计算机上。
PDH_CSTATUS_NO_MACHINEThe指定的计算机无法找到或连接。
PDH_CSTATUS_BAD_COUNTERNAMEThe计数器路径字符串无法解析。
PDH_MEMORY_ALLOCATION_FAILUREThe功能是无法分配一个必需的临时缓冲区。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderPdh.h
LibraryPdh.lib
DLLPdh.dll
Unicode和ANSI namesPdhValidatePathW(Unicode)和PdhValidatePathA(ANSI)的
参见
PdhMakeCounterPath
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月23日
==英文原文==PdhValidatePath Function
Validates that the counter is present on the computer specified in the counter path.
Syntax
C++
PDH_STATUS PdhValidatePath(
__in LPCTSTR szFullCounterPath
);
Parameters
szFullCounterPath [in]
Null-terminated string that contains the counter path to validate. The maximum length of a counter path is PDH_MAX_COUNTER_PATH.
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_CSTATUS_NO_INSTANCEThe specified instance of the performance object was not found.
PDH_CSTATUS_NO_COUNTERThe specified counter was not found in the performance object.
PDH_CSTATUS_NO_OBJECTThe specified performance object was not found on the computer.
PDH_CSTATUS_NO_MACHINEThe specified computer could not be found or connected to.
PDH_CSTATUS_BAD_COUNTERNAMEThe counter path string could not be parsed.
PDH_MEMORY_ALLOCATION_FAILUREThe function is unable to allocate a required temporary buffer.

Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderPdh.h
LibraryPdh.lib
DLLPdh.dll
Unicode and ANSI namesPdhValidatePathW (Unicode) and PdhValidatePathA (ANSI)
See Also
PdhMakeCounterPath
Send comments about this topic to Microsoft
Build date: 7/23/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa372986(VS.85).aspx\n
随便看

 

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

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 22:44:48