Platform SDK: Exchange Server

HrGetAdminExtensionVersion

The HrGetAdminExtensionVersion function returns the file version information contained in an Admin-Extension object.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrGetAdminExtensionVersion(
  LPSTR lpszServer,       
  LPSTR lpszSiteDN,       
  LPSTR lpszCommonName,   
  LPSTR lpszMachineType,  
  DWORD * lpdwFileVersionMS,  
  DWORD * lpdwFileVersionLS  
);
 

Parameters

lpszServer
Input parameter. Points to a null-terminated string containing the name of the server.
lpszSiteDN
Input parameter. Points to a null-terminated string containing the distinguished name of the site.
lpszCommonName
Input parameter. Points to a null-terminated string containing the common name of the site.
lpszMachineType
Input parameter. Points to a null-terminated string containing the computer type, such as i386.
lpdwFileVersionMS
Output parameter. Points to the high-order 32 bits of the file version.
lpdwFileVersionLS
Output parameter. Points to the low-order 32 bits of the file version.

Return Values

See Return Values.

Remarks

For more information on the HrGetAdminExtensionVersion function, see Installing an Admin-Extension Object.

See Also

HrAdminExtensionExists, HrInstallAdminExtension, HrRemoveAdminExtension