Commit e1a65b3a authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

include: Make "long" numeric constants LP64/LLP64 proof (mapi*.h).

parent 8f0b823f
...@@ -84,7 +84,7 @@ typedef struct ...@@ -84,7 +84,7 @@ typedef struct
/* Error codes */ /* Error codes */
#ifndef SUCCESS_SUCCESS #ifndef SUCCESS_SUCCESS
#define SUCCESS_SUCCESS 0L #define SUCCESS_SUCCESS 0
#endif #endif
#define MAPI_USER_ABORT 1 #define MAPI_USER_ABORT 1
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#define MAKE_MAPI_S(e) (MAKE_MAPI_SCODE(0,FACILITY_ITF,(e))) #define MAKE_MAPI_S(e) (MAKE_MAPI_SCODE(0,FACILITY_ITF,(e)))
#ifndef SUCCESS_SUCCESS #ifndef SUCCESS_SUCCESS
#define SUCCESS_SUCCESS 0L #define SUCCESS_SUCCESS __MSABI_LONG(0)
#endif #endif
/* Errors */ /* Errors */
......
...@@ -446,12 +446,12 @@ typedef struct _SPropProblemArray ...@@ -446,12 +446,12 @@ typedef struct _SPropProblemArray
} SPropProblemArray, *LPSPropProblemArray; } SPropProblemArray, *LPSPropProblemArray;
/* FPropContainsProp flags */ /* FPropContainsProp flags */
#define FL_FULLSTRING 0x00000ul /* Exact string match */ #define FL_FULLSTRING ((ULONG)0x00000) /* Exact string match */
#define FL_SUBSTRING 0x00001ul /* Substring match */ #define FL_SUBSTRING ((ULONG)0x00001) /* Substring match */
#define FL_PREFIX 0x00002ul /* Prefix match */ #define FL_PREFIX ((ULONG)0x00002) /* Prefix match */
#define FL_IGNORECASE 0x10000ul /* Case insensitive */ #define FL_IGNORECASE ((ULONG)0x10000) /* Case insensitive */
#define FL_IGNORENONSPACE 0x20000ul /* Ignore non spacing characters */ #define FL_IGNORENONSPACE ((ULONG)0x20000) /* Ignore non spacing characters */
#define FL_LOOSE 0x40000ul /* Try very hard to match */ #define FL_LOOSE ((ULONG)0x40000) /* Try very hard to match */
/* Table types returned by IMAPITable_GetStatus() */ /* Table types returned by IMAPITable_GetStatus() */
...@@ -649,18 +649,18 @@ typedef struct _MAPINAMEID ...@@ -649,18 +649,18 @@ typedef struct _MAPINAMEID
} MAPINAMEID, *LPMAPINAMEID; } MAPINAMEID, *LPMAPINAMEID;
/* Desired notification types (bitflags) */ /* Desired notification types (bitflags) */
#define fnevCriticalError 0x00000001UL #define fnevCriticalError ((ULONG)0x00000001)
#define fnevNewMail 0x00000002UL #define fnevNewMail ((ULONG)0x00000002)
#define fnevObjectCreated 0x00000004UL #define fnevObjectCreated ((ULONG)0x00000004)
#define fnevObjectDeleted 0x00000008UL #define fnevObjectDeleted ((ULONG)0x00000008)
#define fnevObjectModified 0x00000010UL #define fnevObjectModified ((ULONG)0x00000010)
#define fnevObjectMoved 0x00000020UL #define fnevObjectMoved ((ULONG)0x00000020)
#define fnevObjectCopied 0x00000040UL #define fnevObjectCopied ((ULONG)0x00000040)
#define fnevSearchComplete 0x00000080UL #define fnevSearchComplete ((ULONG)0x00000080)
#define fnevTableModified 0x00000100UL #define fnevTableModified ((ULONG)0x00000100)
#define fnevStatusObjectModified 0x00000200UL #define fnevStatusObjectModified ((ULONG)0x00000200)
#define fnevReservedForMapi 0x40000000UL #define fnevReservedForMapi ((ULONG)0x40000000)
#define fnevExtended 0x80000000UL #define fnevExtended ((ULONG)0x80000000)
/* Type of notification event */ /* Type of notification event */
#define TABLE_CHANGED 1U #define TABLE_CHANGED 1U
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment