Convert NULL menu items to separators.
[wine/wine-kai.git] / include / mapidefs.h
blob7e378378550cc008dedfd0e3ac3f6757d2f62768
1 /*
2 * Copyright (C) 1998 Justin Bradford
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __WINE_MAPIDEFS_H
20 #define __WINE_MAPIDEFS_H
22 #include "windef.h"
24 /* Some types */
26 typedef unsigned char* LPBYTE;
27 #ifndef __LHANDLE
28 #define __LHANDLE
29 typedef unsigned long LHANDLE, *LPLHANDLE;
30 #endif
32 #ifndef _tagCY_DEFINED
33 #define _tagCY_DEFINED
34 typedef union tagCY
36 struct {
37 #ifdef BIG_ENDIAN
38 long Hi;
39 long Lo;
40 #else
41 unsigned long Lo;
42 long Hi;
43 #endif
44 } u;
45 LONGLONG int64;
46 } CY;
47 #endif /* _tagCY_DEFINED */
49 /* MAPI Recipient types */
50 #ifndef MAPI_ORIG
51 #define MAPI_ORIG 0 /* Message originator */
52 #define MAPI_TO 1 /* Primary recipient */
53 #define MAPI_CC 2 /* Copy recipient */
54 #define MAPI_BCC 3 /* Blind copy recipient */
55 #define MAPI_P1 0x10000000 /* P1 resend recipient */
56 #define MAPI_SUBMITTED 0x80000000 /* Already processed */
57 #endif
59 /* Bit definitions for abFlags[0] */
60 #define MAPI_SHORTTERM 0x80
61 #define MAPI_NOTRECIP 0x40
62 #define MAPI_THISSESSION 0x20
63 #define MAPI_NOW 0x10
64 #define MAPI_NOTRESERVED 0x08
66 /* Bit definitions for abFlags[1] */
67 #define MAPI_COMPOUND 0x80
69 #endif /*__WINE_MAPIDEFS_H*/