Proper MIRROR texture address support.
[wine/multimedia.git] / include / mapidefs.h
blob92d1c0fd10356ffd8d650ef1094eafd3ce6f7a89
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"
23 #include "windows.h"
24 #include "winerror.h"
25 #ifndef _OBJBASE_H_
26 #include "objbase.h"
27 #endif
29 /* Some types */
31 typedef unsigned char* LPBYTE;
32 #ifndef __LHANDLE
33 #define __LHANDLE
34 typedef unsigned long LHANDLE, *LPLHANDLE;
35 #endif
37 #ifndef _tagCY_DEFINED
38 #define _tagCY_DEFINED
39 typedef union tagCY
41 struct {
42 #ifdef WORDS_BIGENDIAN
43 LONG Hi;
44 ULONG Lo;
45 #else
46 ULONG Lo;
47 LONG Hi;
48 #endif
49 } u;
50 LONGLONG int64;
51 } CY;
52 #endif /* _tagCY_DEFINED */
54 /* MAPI Recipient types */
55 #ifndef MAPI_ORIG
56 #define MAPI_ORIG 0 /* Message originator */
57 #define MAPI_TO 1 /* Primary recipient */
58 #define MAPI_CC 2 /* Copy recipient */
59 #define MAPI_BCC 3 /* Blind copy recipient */
60 #define MAPI_P1 0x10000000 /* P1 resend recipient */
61 #define MAPI_SUBMITTED 0x80000000 /* Already processed */
62 #endif
64 /* Bit definitions for abFlags[0] */
65 #define MAPI_SHORTTERM 0x80
66 #define MAPI_NOTRECIP 0x40
67 #define MAPI_THISSESSION 0x20
68 #define MAPI_NOW 0x10
69 #define MAPI_NOTRESERVED 0x08
71 /* Bit definitions for abFlags[1] */
72 #define MAPI_COMPOUND 0x80
74 #endif /*__WINE_MAPIDEFS_H*/