Platform SDK: Exchange Server

HrInstallGatewayProxy

The HrInstallGatewayProxy function adds a site proxy address to the Gateway-Proxy attribute on the Site-Addressing object in the directory.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrInstallGatewayProxy(
  LPSTR lpszServer,  
  LPSTR lpszSiteDN,  
  LPSTR lpszProxy    
);
 

Parameters

lpszServer
Input parameter. Points to a null-terminated string (with a maximum length of 256 characters) that contains the name of the server where the site proxy address is installed.
lpszSiteDN
Input parameter. Points to a null-terminated string (with a maximum length of 256 characters) that contains the distinguished name (DN) of the site where the site proxy address is installed.
lpszProxy
Input parameter. Points to a null-terminated string (with a maximum length of 256 characters) that contains the site proxy address to install.

Return Values

See Return Values.

Remarks

The Gateway-Proxy attribute is a multi-valued attribute. The site proxy address is used by the proxy generation DLL for a given address type to create a new email address of that type.

See Also

HrRemoveGatewayProxy