Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The ERROR_NOTIFICATIONstructure 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 lpszErrormember 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 MAPIERRORstructure describing the error.
Remarks
This type is supported, but the notification that uses it ( fnevCriticalError) is never sent by MAPI.
The ERROR_NOTIFICATIONstructure is one of the members of the union of structures included in the infomember of the NOTIFICATIONstructure. When the infomember of a NOTIFICATIONstructure contains an ERROR_NOTIFICATIONstructure, the ulEventTypemember of the NOTIFICATIONstructure is set to fnevCriticalError.
The value of the cbEntryIDmember and the lpEntryIDmember 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 |