One way to create a profile is to copy from an existing profile and alter the necessary message services and service providers. Copying a profile involves using a profile administration object, provided by MAPI through the MAPIAdminProfiles function.
To copy a profile
Call MAPIAdminProfiles to retrieve an IProfAdmin interface pointer.