Share via


MAPIERROR (Compact 7)

3/12/2014

The MAPIERROR structure provides detailed information about an error, typically generated by the operating system, MAPI, or a service provider.

Syntax

struct { 
  ULONG ulVersion; 
  LPTSTR lpszError; 
  LPTSTR lpszComponent; 
  ULONG ulLowLevelError; 
  ULONG ulContext; 
} MAPIERROR, FAR * LPMAPIERROR; 

Members

  • ulVersion
    Version number of the structure; set to MAPI_ERROR_VERSION, which is defined as zero.
  • lpszError
    Pointer to a string describing the error. This string is in Unicode format if the ulFlags parameter to the method in which this structure is used is set to MAPI_UNICODE.
  • lpszComponent
    Pointer to a string describing the component that generated the error. This string is in Unicode format if the ulFlags parameter to the method in which this structure is used is set to MAPI_UNICODE.
  • ulLowLevelError
    Low-level error value used only when the error to be returned is low-level.
  • ulContext
    Value that represents the location within the component pointed to by the lpszComponent member that identifies where the error occurred.

Requirements

Header

mapidefs.h

See Also

Reference

MAPI Structures