Share via


ERROR_NOTIFICATION

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

Syntax

typedef struct _ERROR_NOTIFICATION { 
  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

Pocket PC: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: mapidefs.h

See Also

MAPI Structures

Messaging

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.