PdhGetDllVersion function (pdh.h)
Returns the version of the currently installed Pdh.dll file.
Note This function is obsolete and no longer supported.
Syntax
PDH_FUNCTION PdhGetDllVersion(
[out] LPDWORD lpdwVersion
);
Parameters
[out] lpdwVersion
Pointer to a variable that receives the version of Pdh.dll. This parameter can be one of the following values.
Value | Meaning |
---|---|
|
The file version is a legacy operating system. |
|
The file version is Windows XP. |
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.
Remarks
This function is used to help in determining the functionality that the currently installed version of Pdh.dll supports.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | pdh.h |
Library | Pdh.lib |
DLL | Pdh.dll |