ReactOS 0.4.16-dev-117-g38f21f9
mapicode.h File Reference
#include <winerror.h>
Include dependency graph for mapicode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAKE_MAPI_SCODE(sev, fac, code)    ((SCODE)(((ULONG)(sev)<<31)|((ULONG)(fac)<<16)|((ULONG)(code))))
 
#define MAKE_MAPI_E(e)   (MAKE_MAPI_SCODE(1,FACILITY_ITF,(e)))
 
#define MAKE_MAPI_S(e)   (MAKE_MAPI_SCODE(0,FACILITY_ITF,(e)))
 
#define SUCCESS_SUCCESS   0L
 
#define MAPI_E_ACCOUNT_DISABLED   ((SCODE)0x80040124)
 
#define MAPI_E_AMBIGUOUS_RECIP   ((SCODE)0x80040700)
 
#define MAPI_E_BAD_CHARWIDTH   ((SCODE)0x80040103)
 
#define MAPI_E_BAD_COLUMN   ((SCODE)0x80040118)
 
#define MAPI_E_BAD_VALUE   ((SCODE)0x80040301)
 
#define MAPI_E_BUSY   ((SCODE)0x8004010B)
 
#define MAPI_E_CALL_FAILED   E_FAIL
 
#define MAPI_E_CANCEL   ((SCODE)0x80040501)
 
#define MAPI_E_COLLISION   ((SCODE)0x80040604)
 
#define MAPI_E_COMPUTED   ((SCODE)0x8004011A)
 
#define MAPI_E_CORRUPT_DATA   ((SCODE)0x8004011B)
 
#define MAPI_E_CORRUPT_STORE   ((SCODE)0x80040600)
 
#define MAPI_E_DECLINE_COPY   ((SCODE)0x80040306)
 
#define MAPI_E_DISK_ERROR   ((SCODE)0x80040116)
 
#define MAPI_E_END_OF_SESSION   ((SCODE)0x80040200)
 
#define MAPI_E_EXTENDED_ERROR   ((SCODE)0x80040119)
 
#define MAPI_E_FAILONEPROVIDER   ((SCODE)0x8004011D)
 
#define MAPI_E_FOLDER_CYCLE   ((SCODE)0x8004060B)
 
#define MAPI_E_HAS_FOLDERS   ((SCODE)0x80040609)
 
#define MAPI_E_HAS_MESSAGES   ((SCODE)0x8004060A)
 
#define MAPI_E_INTERFACE_NOT_SUPPORTED   E_NOINTERFACE
 
#define MAPI_E_INVALID_ACCESS_TIME   ((SCODE)0x80040123)
 
#define MAPI_E_INVALID_BOOKMARK   ((SCODE)0x80040405)
 
#define MAPI_E_INVALID_ENTRYID   ((SCODE)0x80040107)
 
#define MAPI_E_INVALID_OBJECT   ((SCODE)0x80040108)
 
#define MAPI_E_INVALID_PARAMETER   E_INVALIDARG
 
#define MAPI_E_INVALID_TYPE   ((SCODE)0x80040302)
 
#define MAPI_E_INVALID_WORKSTATION_ACCOUNT   ((SCODE)0x80040122)
 
#define MAPI_E_LOGON_FAILED   ((SCODE)0x80040111)
 
#define MAPI_E_MISSING_REQUIRED_COLUMN   ((SCODE)0x80040202)
 
#define MAPI_E_NETWORK_ERROR   ((SCODE)0x80040115)
 
#define MAPI_E_NO_ACCESS   E_ACCESSDENIED
 
#define MAPI_E_NON_STANDARD   ((SCODE)0x80040606)
 
#define MAPI_E_NO_RECIPIENTS   ((SCODE)0x80040607)
 
#define MAPI_E_NO_SUPPORT   ((SCODE)0x80040102)
 
#define MAPI_E_NO_SUPPRESS   ((SCODE)0x80040602)
 
#define MAPI_E_NOT_ENOUGH_DISK   ((SCODE)0x8004010D)
 
#define MAPI_E_NOT_ENOUGH_MEMORY   E_OUTOFMEMORY
 
#define MAPI_E_NOT_ENOUGH_RESOURCES   ((SCODE)0x8004010E)
 
#define MAPI_E_NOT_FOUND   ((SCODE)0x8004010F)
 
#define MAPI_E_NOT_INITIALIZED   ((SCODE)0x80040605)
 
#define MAPI_E_NOT_IN_QUEUE   ((SCODE)0x80040601)
 
#define MAPI_E_NOT_ME   ((SCODE)0x80040502)
 
#define MAPI_E_OBJECT_CHANGED   ((SCODE)0x80040109)
 
#define MAPI_E_OBJECT_DELETED   ((SCODE)0x8004010A)
 
#define MAPI_E_PASSWORD_CHANGE_REQUIRED   ((SCODE)0x80040120)
 
#define MAPI_E_PASSWORD_EXPIRED   ((SCODE)0x80040121)
 
#define MAPI_E_SESSION_LIMIT   ((SCODE)0x80040112)
 
#define MAPI_E_STRING_TOO_LONG   ((SCODE)0x80040105)
 
#define MAPI_E_SUBMITTED   ((SCODE)0x80040608)
 
#define MAPI_E_TABLE_EMPTY   ((SCODE)0x80040402)
 
#define MAPI_E_TABLE_TOO_BIG   ((SCODE)0x80040403)
 
#define MAPI_E_TIMEOUT   ((SCODE)0x80040401)
 
#define MAPI_E_TOO_BIG   ((SCODE)0x80040305)
 
#define MAPI_E_TOO_COMPLEX   ((SCODE)0x80040117)
 
#define MAPI_E_TYPE_NO_SUPPORT   ((SCODE)0x80040303)
 
#define MAPI_E_UNABLE_TO_ABORT   ((SCODE)0x80040114)
 
#define MAPI_E_UNABLE_TO_COMPLETE   ((SCODE)0x80040400)
 
#define MAPI_E_UNCONFIGURED   ((SCODE)0x8004011C)
 
#define MAPI_E_UNEXPECTED_ID   ((SCODE)0x80040307)
 
#define MAPI_E_UNEXPECTED_TYPE   ((SCODE)0x80040304)
 
#define MAPI_E_UNKNOWN_CPID   ((SCODE)0x8004011E)
 
#define MAPI_E_UNKNOWN_ENTRYID   ((SCODE)0x80040201)
 
#define MAPI_E_UNKNOWN_FLAGS   ((SCODE)0x80040106)
 
#define MAPI_E_UNKNOWN_LCID   ((SCODE)0x8004011F)
 
#define MAPI_E_USER_CANCEL   ((SCODE)0x80040113)
 
#define MAPI_E_VERSION   ((SCODE)0x80040110)
 
#define MAPI_E_WAIT   ((SCODE)0x80040500)
 
#define MAPI_W_APPROX_COUNT   ((SCODE)0x00040482)
 
#define MAPI_W_CANCEL_MESSAGE   ((SCODE)0x00040580)
 
#define MAPI_W_ERRORS_RETURNED   ((SCODE)0x00040380)
 
#define MAPI_W_NO_SERVICE   ((SCODE)0x00040203)
 
#define MAPI_W_PARTIAL_COMPLETION   ((SCODE)0x00040680)
 
#define MAPI_W_POSITION_CHANGED   ((SCODE)0x00040481)
 

Macro Definition Documentation

◆ MAKE_MAPI_E

#define MAKE_MAPI_E (   e)    (MAKE_MAPI_SCODE(1,FACILITY_ITF,(e)))

Definition at line 29 of file mapicode.h.

◆ MAKE_MAPI_S

#define MAKE_MAPI_S (   e)    (MAKE_MAPI_SCODE(0,FACILITY_ITF,(e)))

Definition at line 30 of file mapicode.h.

◆ MAKE_MAPI_SCODE

#define MAKE_MAPI_SCODE (   sev,
  fac,
  code 
)     ((SCODE)(((ULONG)(sev)<<31)|((ULONG)(fac)<<16)|((ULONG)(code))))

Definition at line 26 of file mapicode.h.

◆ MAPI_E_ACCOUNT_DISABLED

#define MAPI_E_ACCOUNT_DISABLED   ((SCODE)0x80040124)

Definition at line 37 of file mapicode.h.

◆ MAPI_E_AMBIGUOUS_RECIP

#define MAPI_E_AMBIGUOUS_RECIP   ((SCODE)0x80040700)

Definition at line 38 of file mapicode.h.

◆ MAPI_E_BAD_CHARWIDTH

#define MAPI_E_BAD_CHARWIDTH   ((SCODE)0x80040103)

Definition at line 39 of file mapicode.h.

◆ MAPI_E_BAD_COLUMN

#define MAPI_E_BAD_COLUMN   ((SCODE)0x80040118)

Definition at line 40 of file mapicode.h.

◆ MAPI_E_BAD_VALUE

#define MAPI_E_BAD_VALUE   ((SCODE)0x80040301)

Definition at line 41 of file mapicode.h.

◆ MAPI_E_BUSY

#define MAPI_E_BUSY   ((SCODE)0x8004010B)

Definition at line 42 of file mapicode.h.

◆ MAPI_E_CALL_FAILED

#define MAPI_E_CALL_FAILED   E_FAIL

Definition at line 43 of file mapicode.h.

◆ MAPI_E_CANCEL

#define MAPI_E_CANCEL   ((SCODE)0x80040501)

Definition at line 44 of file mapicode.h.

◆ MAPI_E_COLLISION

#define MAPI_E_COLLISION   ((SCODE)0x80040604)

Definition at line 45 of file mapicode.h.

◆ MAPI_E_COMPUTED

#define MAPI_E_COMPUTED   ((SCODE)0x8004011A)

Definition at line 46 of file mapicode.h.

◆ MAPI_E_CORRUPT_DATA

#define MAPI_E_CORRUPT_DATA   ((SCODE)0x8004011B)

Definition at line 47 of file mapicode.h.

◆ MAPI_E_CORRUPT_STORE

#define MAPI_E_CORRUPT_STORE   ((SCODE)0x80040600)

Definition at line 48 of file mapicode.h.

◆ MAPI_E_DECLINE_COPY

#define MAPI_E_DECLINE_COPY   ((SCODE)0x80040306)

Definition at line 49 of file mapicode.h.

◆ MAPI_E_DISK_ERROR

#define MAPI_E_DISK_ERROR   ((SCODE)0x80040116)

Definition at line 50 of file mapicode.h.

◆ MAPI_E_END_OF_SESSION

#define MAPI_E_END_OF_SESSION   ((SCODE)0x80040200)

Definition at line 51 of file mapicode.h.

◆ MAPI_E_EXTENDED_ERROR

#define MAPI_E_EXTENDED_ERROR   ((SCODE)0x80040119)

Definition at line 52 of file mapicode.h.

◆ MAPI_E_FAILONEPROVIDER

#define MAPI_E_FAILONEPROVIDER   ((SCODE)0x8004011D)

Definition at line 53 of file mapicode.h.

◆ MAPI_E_FOLDER_CYCLE

#define MAPI_E_FOLDER_CYCLE   ((SCODE)0x8004060B)

Definition at line 54 of file mapicode.h.

◆ MAPI_E_HAS_FOLDERS

#define MAPI_E_HAS_FOLDERS   ((SCODE)0x80040609)

Definition at line 55 of file mapicode.h.

◆ MAPI_E_HAS_MESSAGES

#define MAPI_E_HAS_MESSAGES   ((SCODE)0x8004060A)

Definition at line 56 of file mapicode.h.

◆ MAPI_E_INTERFACE_NOT_SUPPORTED

#define MAPI_E_INTERFACE_NOT_SUPPORTED   E_NOINTERFACE

Definition at line 57 of file mapicode.h.

◆ MAPI_E_INVALID_ACCESS_TIME

#define MAPI_E_INVALID_ACCESS_TIME   ((SCODE)0x80040123)

Definition at line 58 of file mapicode.h.

◆ MAPI_E_INVALID_BOOKMARK

#define MAPI_E_INVALID_BOOKMARK   ((SCODE)0x80040405)

Definition at line 59 of file mapicode.h.

◆ MAPI_E_INVALID_ENTRYID

#define MAPI_E_INVALID_ENTRYID   ((SCODE)0x80040107)

Definition at line 60 of file mapicode.h.

◆ MAPI_E_INVALID_OBJECT

#define MAPI_E_INVALID_OBJECT   ((SCODE)0x80040108)

Definition at line 61 of file mapicode.h.

◆ MAPI_E_INVALID_PARAMETER

#define MAPI_E_INVALID_PARAMETER   E_INVALIDARG

Definition at line 62 of file mapicode.h.

◆ MAPI_E_INVALID_TYPE

#define MAPI_E_INVALID_TYPE   ((SCODE)0x80040302)

Definition at line 63 of file mapicode.h.

◆ MAPI_E_INVALID_WORKSTATION_ACCOUNT

#define MAPI_E_INVALID_WORKSTATION_ACCOUNT   ((SCODE)0x80040122)

Definition at line 64 of file mapicode.h.

◆ MAPI_E_LOGON_FAILED

#define MAPI_E_LOGON_FAILED   ((SCODE)0x80040111)

Definition at line 65 of file mapicode.h.

◆ MAPI_E_MISSING_REQUIRED_COLUMN

#define MAPI_E_MISSING_REQUIRED_COLUMN   ((SCODE)0x80040202)

Definition at line 66 of file mapicode.h.

◆ MAPI_E_NETWORK_ERROR

#define MAPI_E_NETWORK_ERROR   ((SCODE)0x80040115)

Definition at line 67 of file mapicode.h.

◆ MAPI_E_NO_ACCESS

#define MAPI_E_NO_ACCESS   E_ACCESSDENIED

Definition at line 68 of file mapicode.h.

◆ MAPI_E_NO_RECIPIENTS

#define MAPI_E_NO_RECIPIENTS   ((SCODE)0x80040607)

Definition at line 70 of file mapicode.h.

◆ MAPI_E_NO_SUPPORT

#define MAPI_E_NO_SUPPORT   ((SCODE)0x80040102)

Definition at line 71 of file mapicode.h.

◆ MAPI_E_NO_SUPPRESS

#define MAPI_E_NO_SUPPRESS   ((SCODE)0x80040602)

Definition at line 72 of file mapicode.h.

◆ MAPI_E_NON_STANDARD

#define MAPI_E_NON_STANDARD   ((SCODE)0x80040606)

Definition at line 69 of file mapicode.h.

◆ MAPI_E_NOT_ENOUGH_DISK

#define MAPI_E_NOT_ENOUGH_DISK   ((SCODE)0x8004010D)

Definition at line 73 of file mapicode.h.

◆ MAPI_E_NOT_ENOUGH_MEMORY

#define MAPI_E_NOT_ENOUGH_MEMORY   E_OUTOFMEMORY

Definition at line 74 of file mapicode.h.

◆ MAPI_E_NOT_ENOUGH_RESOURCES

#define MAPI_E_NOT_ENOUGH_RESOURCES   ((SCODE)0x8004010E)

Definition at line 75 of file mapicode.h.

◆ MAPI_E_NOT_FOUND

#define MAPI_E_NOT_FOUND   ((SCODE)0x8004010F)

Definition at line 76 of file mapicode.h.

◆ MAPI_E_NOT_IN_QUEUE

#define MAPI_E_NOT_IN_QUEUE   ((SCODE)0x80040601)

Definition at line 78 of file mapicode.h.

◆ MAPI_E_NOT_INITIALIZED

#define MAPI_E_NOT_INITIALIZED   ((SCODE)0x80040605)

Definition at line 77 of file mapicode.h.

◆ MAPI_E_NOT_ME

#define MAPI_E_NOT_ME   ((SCODE)0x80040502)

Definition at line 79 of file mapicode.h.

◆ MAPI_E_OBJECT_CHANGED

#define MAPI_E_OBJECT_CHANGED   ((SCODE)0x80040109)

Definition at line 80 of file mapicode.h.

◆ MAPI_E_OBJECT_DELETED

#define MAPI_E_OBJECT_DELETED   ((SCODE)0x8004010A)

Definition at line 81 of file mapicode.h.

◆ MAPI_E_PASSWORD_CHANGE_REQUIRED

#define MAPI_E_PASSWORD_CHANGE_REQUIRED   ((SCODE)0x80040120)

Definition at line 82 of file mapicode.h.

◆ MAPI_E_PASSWORD_EXPIRED

#define MAPI_E_PASSWORD_EXPIRED   ((SCODE)0x80040121)

Definition at line 83 of file mapicode.h.

◆ MAPI_E_SESSION_LIMIT

#define MAPI_E_SESSION_LIMIT   ((SCODE)0x80040112)

Definition at line 84 of file mapicode.h.

◆ MAPI_E_STRING_TOO_LONG

#define MAPI_E_STRING_TOO_LONG   ((SCODE)0x80040105)

Definition at line 85 of file mapicode.h.

◆ MAPI_E_SUBMITTED

#define MAPI_E_SUBMITTED   ((SCODE)0x80040608)

Definition at line 86 of file mapicode.h.

◆ MAPI_E_TABLE_EMPTY

#define MAPI_E_TABLE_EMPTY   ((SCODE)0x80040402)

Definition at line 87 of file mapicode.h.

◆ MAPI_E_TABLE_TOO_BIG

#define MAPI_E_TABLE_TOO_BIG   ((SCODE)0x80040403)

Definition at line 88 of file mapicode.h.

◆ MAPI_E_TIMEOUT

#define MAPI_E_TIMEOUT   ((SCODE)0x80040401)

Definition at line 89 of file mapicode.h.

◆ MAPI_E_TOO_BIG

#define MAPI_E_TOO_BIG   ((SCODE)0x80040305)

Definition at line 90 of file mapicode.h.

◆ MAPI_E_TOO_COMPLEX

#define MAPI_E_TOO_COMPLEX   ((SCODE)0x80040117)

Definition at line 91 of file mapicode.h.

◆ MAPI_E_TYPE_NO_SUPPORT

#define MAPI_E_TYPE_NO_SUPPORT   ((SCODE)0x80040303)

Definition at line 92 of file mapicode.h.

◆ MAPI_E_UNABLE_TO_ABORT

#define MAPI_E_UNABLE_TO_ABORT   ((SCODE)0x80040114)

Definition at line 93 of file mapicode.h.

◆ MAPI_E_UNABLE_TO_COMPLETE

#define MAPI_E_UNABLE_TO_COMPLETE   ((SCODE)0x80040400)

Definition at line 94 of file mapicode.h.

◆ MAPI_E_UNCONFIGURED

#define MAPI_E_UNCONFIGURED   ((SCODE)0x8004011C)

Definition at line 95 of file mapicode.h.

◆ MAPI_E_UNEXPECTED_ID

#define MAPI_E_UNEXPECTED_ID   ((SCODE)0x80040307)

Definition at line 96 of file mapicode.h.

◆ MAPI_E_UNEXPECTED_TYPE

#define MAPI_E_UNEXPECTED_TYPE   ((SCODE)0x80040304)

Definition at line 97 of file mapicode.h.

◆ MAPI_E_UNKNOWN_CPID

#define MAPI_E_UNKNOWN_CPID   ((SCODE)0x8004011E)

Definition at line 98 of file mapicode.h.

◆ MAPI_E_UNKNOWN_ENTRYID

#define MAPI_E_UNKNOWN_ENTRYID   ((SCODE)0x80040201)

Definition at line 99 of file mapicode.h.

◆ MAPI_E_UNKNOWN_FLAGS

#define MAPI_E_UNKNOWN_FLAGS   ((SCODE)0x80040106)

Definition at line 100 of file mapicode.h.

◆ MAPI_E_UNKNOWN_LCID

#define MAPI_E_UNKNOWN_LCID   ((SCODE)0x8004011F)

Definition at line 101 of file mapicode.h.

◆ MAPI_E_USER_CANCEL

#define MAPI_E_USER_CANCEL   ((SCODE)0x80040113)

Definition at line 102 of file mapicode.h.

◆ MAPI_E_VERSION

#define MAPI_E_VERSION   ((SCODE)0x80040110)

Definition at line 103 of file mapicode.h.

◆ MAPI_E_WAIT

#define MAPI_E_WAIT   ((SCODE)0x80040500)

Definition at line 104 of file mapicode.h.

◆ MAPI_W_APPROX_COUNT

#define MAPI_W_APPROX_COUNT   ((SCODE)0x00040482)

Definition at line 107 of file mapicode.h.

◆ MAPI_W_CANCEL_MESSAGE

#define MAPI_W_CANCEL_MESSAGE   ((SCODE)0x00040580)

Definition at line 108 of file mapicode.h.

◆ MAPI_W_ERRORS_RETURNED

#define MAPI_W_ERRORS_RETURNED   ((SCODE)0x00040380)

Definition at line 109 of file mapicode.h.

◆ MAPI_W_NO_SERVICE

#define MAPI_W_NO_SERVICE   ((SCODE)0x00040203)

Definition at line 110 of file mapicode.h.

◆ MAPI_W_PARTIAL_COMPLETION

#define MAPI_W_PARTIAL_COMPLETION   ((SCODE)0x00040680)

Definition at line 111 of file mapicode.h.

◆ MAPI_W_POSITION_CHANGED

#define MAPI_W_POSITION_CHANGED   ((SCODE)0x00040481)

Definition at line 112 of file mapicode.h.

◆ SUCCESS_SUCCESS

#define SUCCESS_SUCCESS   0L

Definition at line 33 of file mapicode.h.