The HrMAPIProfileExists function checks for an existing MAPI profile on a gateway.
| Header file: | EXCHINST.H | 
| Library: | EXCHINST.LIB | 
HRESULT HrMAPIProfileExists(
  LPPROFADMIN lpProfAdmin,  
  LPSTR lpszProfileName)  
);
 See Return Values.
For more information on this function, see Creating a MAPI Profile for a Server Application.
For information on the IProfAdmin interface, see the MAPI Programmer's Reference.
HrCreateGatewayProfile, HrRemoveProfile