Partager via


MAPIAdminProfiles

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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