MAPIAdminProfiles

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Creates a profile administration object.

Header file:

Mapix.h

Implemented by:

MAPI

Called by:

Client applications

HRESULT MAPIAdminProfiles(
  ULONG ulFlags,
  LPPROFADMIN FAR * lppProfAdmin
);

Parameters

  • ulFlags
    [in] Bitmask of flags indicating options for the service entry function.

  • lppProfAdmin
    [out] Pointer to a pointer to the new profile administration object.

Return Value

  • S_OK
    The call succeeded and has returned the expected value or values.

MFCMAPI Reference

For MFCMAPI sample code, see the following table.

File

Function

Comment

MAPIObjects.cpp

CMapiObjects::GetProfAdmin

MFCMAPI uses the MAPIAdminProfiles method to get the profile administration object.

See Also

Reference

IProfAdmin::CreateProfile

Concepts

MFCMAPI as a Code Sample