HrCreateMailboxAgentProfile

The HrCreateMailboxAgentProfile function creates a MAPI profile for a mailbox agent.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrCreateMailboxAgentProfile(
  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 can determine whether a mailbox agent exists with a call to the HrMailboxAgentExists function. In addition, you can remove an existing mailbox agent with a call to HrRemoveMailboxAgent.

See Also

HrMailboxAgentExists, HrRemoveMailboxAgent