PdhGetDllVersion function

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

Note  This function is obsolete and no longer supported.
 

Syntax


PDH_STATUS PdhGetDllVersion(
  _Out_ LPDWORD lpdwVersion
);

Parameters

lpdwVersion [out]

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

ValueMeaning
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]

Header

Pdh.h

Library

Pdh.lib

DLL

Pdh.dll

 

 

Show: