Redigera

Dela via


MAPIAdminProfiles

Applies to: Outlook 2013 | Outlook 2016

Creates a profile administration object.

Property Value
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

IProfAdmin::CreateProfile

MFCMAPI as a Code Sample