Fix compilation errors on FreeBSD.
[wine] / include / mapidefs.h
1 #ifndef __WINE_MAPIDEFS_H
2 #define __WINE_MAPIDEFS_H
3
4 #include "windef.h"
5
6 /* Some types */
7
8 typedef unsigned char*          LPBYTE;
9 #ifndef __LHANDLE
10 #define __LHANDLE
11 typedef unsigned long           LHANDLE, *LPLHANDLE;
12 #endif
13
14 #ifndef _tagCY_DEFINED
15 #define _tagCY_DEFINED
16 typedef union tagCY
17 {
18    struct {
19 #ifdef BIG_ENDIAN
20         long Hi;
21         long Lo;
22 #else
23       unsigned long Lo;
24       long Hi;
25 #endif
26    } u;
27    LONGLONG int64;
28 } CY;
29 #endif /* _tagCY_DEFINED */
30
31 /* MAPI Recipient types */
32 #ifndef MAPI_ORIG
33 #define MAPI_ORIG        0          /* Message originator   */
34 #define MAPI_TO          1          /* Primary recipient    */
35 #define MAPI_CC          2          /* Copy recipient       */
36 #define MAPI_BCC         3          /* Blind copy recipient */
37 #define MAPI_P1          0x10000000 /* P1 resend recipient  */
38 #define MAPI_SUBMITTED   0x80000000 /* Already processed    */
39 #endif
40
41 /* Bit definitions for abFlags[0] */
42 #define MAPI_SHORTTERM   0x80
43 #define MAPI_NOTRECIP    0x40
44 #define MAPI_THISSESSION 0x20
45 #define MAPI_NOW         0x10
46 #define MAPI_NOTRESERVED 0x08
47
48 /* Bit definitions for abFlags[1]  */
49 #define MAPI_COMPOUND    0x80
50
51 #endif /*__WINE_MAPIDEFS_H*/