ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

mapicode.h
Go to the documentation of this file.
00001 /*
00002  * Status codes returned by MAPI
00003  *
00004  * Copyright (C) 2002 Aric Stewart
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00019  */
00020 
00021 #ifndef MAPICODE_H
00022 #define MAPICODE_H
00023 
00024 #include <winerror.h>
00025 
00026 #define MAKE_MAPI_SCODE(sev,fac,code) \
00027     ((SCODE)(((ULONG)(sev)<<31)|((ULONG)(fac)<<16)|((ULONG)(code))))
00028 
00029 #define MAKE_MAPI_E(e) (MAKE_MAPI_SCODE(1,FACILITY_ITF,(e)))
00030 #define MAKE_MAPI_S(e) (MAKE_MAPI_SCODE(0,FACILITY_ITF,(e)))
00031 
00032 #ifndef SUCCESS_SUCCESS
00033 #define SUCCESS_SUCCESS     0L
00034 #endif
00035 
00036 /* Errors */
00037 #define MAPI_E_ACCOUNT_DISABLED            ((SCODE)0x80040124)
00038 #define MAPI_E_AMBIGUOUS_RECIP             ((SCODE)0x80040700)
00039 #define MAPI_E_BAD_CHARWIDTH               ((SCODE)0x80040103)
00040 #define MAPI_E_BAD_COLUMN                  ((SCODE)0x80040118)
00041 #define MAPI_E_BAD_VALUE                   ((SCODE)0x80040301)
00042 #define MAPI_E_BUSY                        ((SCODE)0x8004010B)
00043 #define MAPI_E_CALL_FAILED                 E_FAIL
00044 #define MAPI_E_CANCEL                      ((SCODE)0x80040501)
00045 #define MAPI_E_COLLISION                   ((SCODE)0x80040604)
00046 #define MAPI_E_COMPUTED                    ((SCODE)0x8004011A)
00047 #define MAPI_E_CORRUPT_DATA                ((SCODE)0x8004011B)
00048 #define MAPI_E_CORRUPT_STORE               ((SCODE)0x80040600)
00049 #define MAPI_E_DECLINE_COPY                ((SCODE)0x80040306)
00050 #define MAPI_E_DISK_ERROR                  ((SCODE)0x80040116)
00051 #define MAPI_E_END_OF_SESSION              ((SCODE)0x80040200)
00052 #define MAPI_E_EXTENDED_ERROR              ((SCODE)0x80040119)
00053 #define MAPI_E_FAILONEPROVIDER             ((SCODE)0x8004011D)
00054 #define MAPI_E_FOLDER_CYCLE                ((SCODE)0x8004060B)
00055 #define MAPI_E_HAS_FOLDERS                 ((SCODE)0x80040609)
00056 #define MAPI_E_HAS_MESSAGES                ((SCODE)0x8004060A)
00057 #define MAPI_E_INTERFACE_NOT_SUPPORTED     E_NOINTERFACE
00058 #define MAPI_E_INVALID_ACCESS_TIME         ((SCODE)0x80040123)
00059 #define MAPI_E_INVALID_BOOKMARK            ((SCODE)0x80040405)
00060 #define MAPI_E_INVALID_ENTRYID             ((SCODE)0x80040107)
00061 #define MAPI_E_INVALID_OBJECT              ((SCODE)0x80040108)
00062 #define MAPI_E_INVALID_PARAMETER           E_INVALIDARG
00063 #define MAPI_E_INVALID_TYPE                ((SCODE)0x80040302)
00064 #define MAPI_E_INVALID_WORKSTATION_ACCOUNT ((SCODE)0x80040122)
00065 #define MAPI_E_LOGON_FAILED                ((SCODE)0x80040111)
00066 #define MAPI_E_MISSING_REQUIRED_COLUMN     ((SCODE)0x80040202)
00067 #define MAPI_E_NETWORK_ERROR               ((SCODE)0x80040115)
00068 #define MAPI_E_NO_ACCESS                   E_ACCESSDENIED
00069 #define MAPI_E_NON_STANDARD                ((SCODE)0x80040606)
00070 #define MAPI_E_NO_RECIPIENTS               ((SCODE)0x80040607)
00071 #define MAPI_E_NO_SUPPORT                  ((SCODE)0x80040102)
00072 #define MAPI_E_NO_SUPPRESS                 ((SCODE)0x80040602)
00073 #define MAPI_E_NOT_ENOUGH_DISK             ((SCODE)0x8004010D)
00074 #define MAPI_E_NOT_ENOUGH_MEMORY           E_OUTOFMEMORY
00075 #define MAPI_E_NOT_ENOUGH_RESOURCES        ((SCODE)0x8004010E)
00076 #define MAPI_E_NOT_FOUND                   ((SCODE)0x8004010F)
00077 #define MAPI_E_NOT_INITIALIZED             ((SCODE)0x80040605)
00078 #define MAPI_E_NOT_IN_QUEUE                ((SCODE)0x80040601)
00079 #define MAPI_E_NOT_ME                      ((SCODE)0x80040502)
00080 #define MAPI_E_OBJECT_CHANGED              ((SCODE)0x80040109)
00081 #define MAPI_E_OBJECT_DELETED              ((SCODE)0x8004010A)
00082 #define MAPI_E_PASSWORD_CHANGE_REQUIRED    ((SCODE)0x80040120)
00083 #define MAPI_E_PASSWORD_EXPIRED            ((SCODE)0x80040121)
00084 #define MAPI_E_SESSION_LIMIT               ((SCODE)0x80040112)
00085 #define MAPI_E_STRING_TOO_LONG             ((SCODE)0x80040105)
00086 #define MAPI_E_SUBMITTED                   ((SCODE)0x80040608)
00087 #define MAPI_E_TABLE_EMPTY                 ((SCODE)0x80040402)
00088 #define MAPI_E_TABLE_TOO_BIG               ((SCODE)0x80040403)
00089 #define MAPI_E_TIMEOUT                     ((SCODE)0x80040401)
00090 #define MAPI_E_TOO_BIG                     ((SCODE)0x80040305)
00091 #define MAPI_E_TOO_COMPLEX                 ((SCODE)0x80040117)
00092 #define MAPI_E_TYPE_NO_SUPPORT             ((SCODE)0x80040303)
00093 #define MAPI_E_UNABLE_TO_ABORT             ((SCODE)0x80040114)
00094 #define MAPI_E_UNABLE_TO_COMPLETE          ((SCODE)0x80040400)
00095 #define MAPI_E_UNCONFIGURED                ((SCODE)0x8004011C)
00096 #define MAPI_E_UNEXPECTED_ID               ((SCODE)0x80040307)
00097 #define MAPI_E_UNEXPECTED_TYPE             ((SCODE)0x80040304)
00098 #define MAPI_E_UNKNOWN_CPID                ((SCODE)0x8004011E)
00099 #define MAPI_E_UNKNOWN_ENTRYID             ((SCODE)0x80040201)
00100 #define MAPI_E_UNKNOWN_FLAGS               ((SCODE)0x80040106)
00101 #define MAPI_E_UNKNOWN_LCID                ((SCODE)0x8004011F)
00102 #define MAPI_E_USER_CANCEL                 ((SCODE)0x80040113)
00103 #define MAPI_E_VERSION                     ((SCODE)0x80040110)
00104 #define MAPI_E_WAIT                        ((SCODE)0x80040500)
00105 
00106 /* Warnings */
00107 #define MAPI_W_APPROX_COUNT                ((SCODE)0x00040482)
00108 #define MAPI_W_CANCEL_MESSAGE              ((SCODE)0x00040580)
00109 #define MAPI_W_ERRORS_RETURNED             ((SCODE)0x00040380)
00110 #define MAPI_W_NO_SERVICE                  ((SCODE)0x00040203)
00111 #define MAPI_W_PARTIAL_COMPLETION          ((SCODE)0x00040680)
00112 #define MAPI_W_POSITION_CHANGED            ((SCODE)0x00040481)
00113 
00114 #endif /* MAPICODE_H */

Generated on Sun May 27 2012 04:31:38 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.