Commonly Used Header Files

Applies to: Outlook 2013 | Outlook 2016

Each reference topic includes a table that names the MAPI header file where the API element is defined. The following table describes the MAPI header files that developers frequently use.

Header file Description
Mapi.h
Defines structures and constants.
Mapiaux.h
Defines additional interfaces, structures, and constants used by the Messaging Applications Programming Interface.
Mapicode.h
Defines status codes for error values.
Mapidbg.h
Defines macros for debugging.
Mapidefs.h
Defines frequently used event types, property types, flags, structures, and interfaces.
Mapiform.h
Defines forms elements.
Mapiguid.h
Defines GUIDs.
Mapinis.h
Defines utilities that support internationalization.
Mapioid.h
Defines MAPI object identifiers.
Mapispi.h
Defines flags and interfaces that MAPI implements for service providers and message services.
Mapitags.h
Defines property tags.
Mapiutil.h
Defines utility interfaces and functions.
Mapival.h
Defines validation macros.
Mapiwin.h
Defines types, constants, flags, functions, and macros for developing single-source service providers.
Mapiwz.h
Defines prototypes and constants for the provider wizard.
Mapix.h
Defines flags and interfaces that MAPI implements for clients.
Mspst.h
Defines properties of the personal information store (.pst file).

For information about how to obtain MAPI header files, see Install MAPI Header Files.

See also

Getting Started with the Outlook MAPI Reference