Platform SDK: Exchange Server

HrGetAddressTypeVersion

The HrGetAddressTypeVersion function obtains the version of an Addr-Type object in a site.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrGetAddressTypeVersion(
  LPTSTR lpszServer,      
  LPTSTR lpszSiteDN,      
  LPTSTR lpszCommonName,  
  LPTSTR 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 (DN) 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 type of computer, 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 HrGetAddressTypeVersion function, see Addr-Type Object in the Gateway Programmer's Reference.

See Also

HrAddressTypeExists, HrInstallAddressType, HrRemoveAddressType