ERROR_NOTIFICATION

Windows Mobile 6.5
4/8/2010

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


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

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.

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.

Headermapidefs.h
Windows Embedded CEWindows CE 3.0 and later
Windows MobilePocket PC 2002 and later, Smartphone 2002 and later

Reference

MAPI Structures

Other Resources

Messaging

Community Additions

Show: