HrMAPIProfileExists

The HrMAPIProfileExists function checks for an existing MAPI profile on a gateway.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrMAPIProfileExists(
  LPPROFADMIN lpProfAdmin,  
  LPSTR lpszProfileName)  
);
 

Parameters

lpProfAdmin
Input parameter. Points to a MAPI IProfAdmin interface containing the profile object where the profile might be installed.
lpszProfileName
Input parameter. Points to a null-terminated string containing the name of the MAPI profile for the gateway that might be installed.

Return Values

See Return Values.

Remarks

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.

See Also

HrCreateGatewayProfile, HrRemoveProfile