Platform SDK: Exchange Server

HrCreateGatewayProfile

The HrCreateGatewayProfile function installs a MAPI profile for a gateway.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrCreateGatewayProfile(
  LPSTR lpszServiceName, 
  LPSTR lpszProfileName  
);
 

Parameters

lpszServiceName
Input parameter. Points to a null-terminated string containing the name of the service.
lpszProfileName
Input parameter. Points to a null-terminated string containing the name of the profile.

Return Values

See Return Values.

Remarks

You should be aware that a service does not require administrator privileges unless it is doing something that specifically requires those privileges.

See Also

HrMAPIProfileExists, HrRemoveProfile