Share via


ERROR_NOTIFICATION

4/8/2010

The ERROR_NOTIFICATION structure describes information relating to a critical error, causing an error notification to be generated.

Syntax

struct { 
  ULONG cbEntryID; 
  LPENTRYID lpEntryID; 
  SCODE scode; 
  ULONG ulFlags; 
  LPMAPIERROR lpMAPIError; 
} ERROR_NOTIFICATION; 

Members

  • cbEntryID
    Count of bytes in the entry identifier pointed to by lpEntryID.
  • lpEntryID
    Pointer to the entry identifier of the object causing the error.
  • scode
    Error value for the critical error.
  • ulFlags
    Bitmask of flags used to designate the format of the text pointed to by the lpszError member in the structure pointed to by lpMAPIError. The following flag can be set:

    MAPI_UNICODE

    The passed-in strings are in Unicode format.

  • lpMAPIError
    Pointer to a MAPIERROR structure describing the error.

Remarks

This type is supported, but the notification that uses it (fnevCriticalError) is never sent by MAPI.

The ERROR_NOTIFICATION structure is one of the members of the union of structures included in the info member of the NOTIFICATION structure. When the info member of a NOTIFICATION structure contains an ERROR_NOTIFICATION structure, the ulEventType member of the NOTIFICATION structure is set to fnevCriticalError.

The value of the cbEntryID member and the lpEntryID member can be NULL.

Requirements

Header mapidefs.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Reference

MAPI Structures

Other Resources

Messaging