Platform SDK: Exchange Server

HrAddressTypeExists

The HrAddressTypeExists function determines whether an address type exists on a given site.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrAddressTypeExists(
  LPSTR lpszServer,      
  LPSTR lpszSiteDN,      
  LPSTR lpszCommonName,  
  LPSTR lpszMachineType) 
);
 

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.

Return Values

See Return Values.

Remarks

The HrAddressTypeExists function determines whether there is a gateway available on the server for a given type of address (Addr-Type). For more information on address types, see The Addr-Type Object in the Gateway Programmer's Reference.

See Also

HrGetAddressTypeVersion, HrInstallAddressType, HrRemoveAddressType