source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/mapioid.h@ 1167

Last change on this file since 1167 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.5 KB
RevLine 
[1166]1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef _MAPIOID_
7#define _MAPIOID_
8
9#define OID_TAG 0x0A
10#define OID_ENCODING 0x0B
11
12#define DEFINE_OID_1(name,b0,b1) EXTERN_C const BYTE *name
13#define DEFINE_OID_2(name,b0,b1,b2) EXTERN_C const BYTE *name
14#define DEFINE_OID_3(name,b0,b1,b2,b3) EXTERN_C const BYTE *name
15#define DEFINE_OID_4(name,b0,b1,b2,b3,b4) EXTERN_C const BYTE *name
16
17#define CB_OID_1 9
18#define CB_OID_2 10
19#define CB_OID_3 11
20#define CB_OID_4 12
21
22#ifdef INITOID
23#include <initoid.h>
24#endif
25
26#ifdef USES_OID_TNEF
27DEFINE_OID_1(OID_TNEF,OID_TAG,0x01);
28#define CB_OID_TNEF CB_OID_1
29#endif
30
31#ifdef USES_OID_OLE
32DEFINE_OID_1(OID_OLE,OID_TAG,0x03);
33#define CB_OID_OLE CB_OID_1
34#endif
35
36#ifdef USES_OID_OLE1
37DEFINE_OID_2(OID_OLE1,OID_TAG,0x03,0x01);
38#define CB_OID_OLE1 CB_OID_2
39#endif
40
41#ifdef USES_OID_OLE1_STORAGE
42DEFINE_OID_3(OID_OLE1_STORAGE,OID_TAG,0x03,0x01,0x01);
43#define CB_OID_OLE1_STORAGE CB_OID_3
44#endif
45
46#ifdef USES_OID_OLE2
47DEFINE_OID_2(OID_OLE2,OID_TAG,0x03,0x02);
48#define CB_OID_OLE2 CB_OID_2
49#endif
50
51#ifdef USES_OID_OLE2_STORAGE
52DEFINE_OID_3(OID_OLE2_STORAGE,OID_TAG,0x03,0x02,0x01);
53#define CB_OID_OLE2_STORAGE CB_OID_3
54#endif
55
56#ifdef USES_OID_MAC_BINARY
57DEFINE_OID_1(OID_MAC_BINARY,OID_ENCODING,0x01);
58#define CB_OID_MAC_BINARY CB_OID_1
59#endif
60
61#ifdef USES_OID_MIMETAG
62DEFINE_OID_1(OID_MIMETAG,OID_TAG,0x04);
63#define CB_OID_MIMETAG CB_OID_1
64#endif
65#endif
Note: See TracBrowser for help on using the repository browser.