IMAPISession::GetStatusTable
Last modified: July 23, 2011
Applies to: Outlook
Provides access to the status table, a table that contains information about all the MAPI resources in the session.
HRESULT GetStatusTable( ULONG ulFlags, LPMAPITABLE FAR * lppTable );
The IMAPISession::GetStatusTable method provides access to the status table that contains information about all of the MAPI resources in the session. There is one row in the table for information about the MAPI subsystem, one row for the MAPI spooler, one row for the integrated address book, and one row for each service provider in the profile.
For a complete list of required and optional columns in the status table, see Status Tables.
Setting the MAPI_UNICODE flag in the ulFlags parameter affects the format of the columns returned from the IMAPITable::QueryColumns and IMAPITable::QueryRows methods. This flag also controls the property types in the sort order returned by the IMAPITable::QuerySortOrder method.