PdhGetDllVersion function

Returns the version of the currently installed Pdh.dll file.

Note  This function is obsolete and no longer supported.
 

Syntax

PDH_FUNCTION PdhGetDllVersion(
  LPDWORD lpdwVersion
);

Parameters

lpdwVersion

Pointer to a variable that receives the version of Pdh.dll. This parameter can be one of the following values.

Value Meaning
PDH_CVERSION_WIN50
The file version is a legacy operating system.
PDH_VERSION
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

   
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