Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.


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.

Provides access to the profile table, a table that contains information about all of the available profiles.

HRESULT GetProfileTable(
  ULONG ulFlags,


[in] Always NULL.


[out] A pointer to a pointer to the profile table.


The profile table was successfully retrieved.

The IProfAdmin::GetProfileTable method provides access to the profile table, which contains one row for every available profile. There are only two columns in each row: the profile's display name, and a flag that indicates whether the profile is the default.

Profiles that have been deleted, or that are in use but have been marked for deletion, are not included in the profile table. The profile table is static; subsequent additions and deletions of profiles are not reflected in the table.

If no profiles exist, GetProfileTable returns a table with zero rows.

For more information about the profile table, see Profile Tables.

For MFCMAPI sample code, see the following table.






MFCMAPI uses the IProfAdmin::GetProfileTable method to get the profile table to display in a new dialog box.

© 2015 Microsoft