a017861f880fafd79ee52c9794ef9d421e2cb057
[gpgol.git] / src / mymapitags.h
1 /* mymapitags.h - MAPI definitions
2  *
3  * This file defines constants as used by MAPI.  This interface
4  * definition has been compiled from similar Python code by g10 Code
5  * GmbH.
6  *
7  * Revisions:
8  * 2005-07-26  Initial version.
9  *
10  */
11
12 #ifndef MAPITAGS_H
13 #define MAPITAGS_H 1
14
15
16 #define PT_UNSPECIFIED  0
17 #define PT_NULL         1
18 #define PT_I2           2
19 #define PT_LONG         3
20 #define PT_R4           4
21 #define PT_DOUBLE       5
22 #define PT_CURRENCY     6
23 #define PT_APPTIME      7
24 #define PT_ERROR       10
25 #define PT_BOOLEAN     11
26 #define PT_OBJECT      13
27 #define PT_I8          20
28 #define PT_STRING8     30
29 #define PT_UNICODE     31
30 #define PT_SYSTIME     64
31 #define PT_CLSID       72
32 #define PT_BINARY     258
33
34 #define PT_SHORT    PT_I2
35 #define PT_I4       PT_LONG
36 #define PT_FLOAT    PT_R4
37 #define PT_R8       PT_DOUBLE
38 #define PT_LONGLONG PT_I8
39
40 #define MV_FLAG    0x1000
41
42 #define PT_MV_I2        (MV_FLAG|PT_I2)
43 #define PT_MV_LONG      (MV_FLAG|PT_LONG)
44 #define PT_MV_R4        (MV_FLAG|PT_R4)
45 #define PT_MV_DOUBLE    (MV_FLAG|PT_DOUBLE)
46 #define PT_MV_CURRENCY  (MV_FLAG|PT_CURRENCY)
47 #define PT_MV_APPTIME   (MV_FLAG|PT_APPTIME)
48 #define PT_MV_SYSTIME   (MV_FLAG|PT_SYSTIME)
49 #define PT_MV_STRING8   (MV_FLAG|PT_STRING8)
50 #define PT_MV_BINARY    (MV_FLAG|PT_BINARY)
51 #define PT_MV_UNICODE   (MV_FLAG|PT_UNICODE)
52 #define PT_MV_CLSID     (MV_FLAG|PT_CLSID)
53 #define PT_MV_I8        (MV_FLAG|PT_I8)
54
55 #define PT_MV_SHORT     PT_MV_I2
56 #define PT_MV_I4        PT_MV_LONG
57 #define PT_MV_FLOAT     PT_MV_R4
58 #define PT_MV_R8        PT_MV_DOUBLE
59 #define PT_MV_LONGLONG  PT_MV_I8
60
61 #define PT_TSTRING      PT_UNICODE
62 #define PT_MV_TSTRING   (MV_FLAG|PT_UNICODE)
63
64 #define PROP_TYPE_MASK   0x0000FFFF
65
66 #define PROP_TYPE(t)  ((t) & PROP_TYPE_MASK)
67 #define PROP_ID(t)    ((t)>>16)
68 #define PROP_TAG(t,i) (((i)<<16)|(t))
69
70 #define PROP_ID_NULL          0
71 #define PROP_ID_INVALID  0xFFFF
72
73 #define PR_NULL                                 PROP_TAG(PT_NULL, PROP_ID_NULL)
74 #define PR_ACKNOWLEDGEMENT_MODE                 PROP_TAG( PT_LONG,      0x0001)
75 #define PR_ACKNOWLEDGEMENT_MODE                 PROP_TAG( PT_LONG,      0x0001)
76 #define PR_ALTERNATE_RECIPIENT_ALLOWED          PROP_TAG( PT_BOOLEAN,   0x0002)
77 #define PR_AUTHORIZING_USERS                    PROP_TAG( PT_BINARY,    0x0003)
78 #define PR_AUTO_FORWARD_COMMENT                 PROP_TAG( PT_TSTRING,   0x0004)
79 #define PR_AUTO_FORWARD_COMMENT_W               PROP_TAG( PT_UNICODE,   0x0004)
80 #define PR_AUTO_FORWARD_COMMENT_W               PROP_TAG( PT_UNICODE,   0x0004)
81 #define PR_AUTO_FORWARD_COMMENT_A               PROP_TAG( PT_STRING8,   0x0004)
82 #define PR_AUTO_FORWARDED                       PROP_TAG( PT_BOOLEAN,   0x0005)
83 #define PR_CONTENT_TYPE_A                       PROP_TAG( PT_STRING8,   0x8095)
84 #define PR_CONTENT_CONFIDENTIALITY_ALGORITHM_ID PROP_TAG( PT_BINARY,    0x0006)
85 #define PR_CONTENT_CORRELATOR                   PROP_TAG( PT_BINARY,    0x0007)
86 #define PR_CONTENT_IDENTIFIER                   PROP_TAG( PT_TSTRING,   0x0008)
87 #define PR_CONTENT_IDENTIFIER_W                 PROP_TAG( PT_UNICODE,   0x0008)
88 #define PR_CONTENT_IDENTIFIER_A                 PROP_TAG( PT_STRING8,   0x0008)
89 #define PR_CONTENT_LENGTH                       PROP_TAG( PT_LONG,      0x0009)
90 #define PR_CONTENT_RETURN_REQUESTED             PROP_TAG( PT_BOOLEAN,   0x000A)
91 #define PR_CONVERSATION_KEY                     PROP_TAG( PT_BINARY,    0x000B)
92 #define PR_CONVERSION_EITS                      PROP_TAG( PT_BINARY,    0x000C)
93 #define PR_CONVERSION_WITH_LOSS_PROHIBITED      PROP_TAG( PT_BOOLEAN,   0x000D)
94 #define PR_CONVERTED_EITS                       PROP_TAG( PT_BINARY,    0x000E)
95 #define PR_DEFERRED_DELIVERY_TIME               PROP_TAG( PT_SYSTIME,   0x000F)
96 #define PR_DELIVER_TIME                         PROP_TAG( PT_SYSTIME,   0x0010)
97 #define PR_DISCARD_REASON                       PROP_TAG( PT_LONG,      0x0011)
98 #define PR_DISCLOSURE_OF_RECIPIENTS             PROP_TAG( PT_BOOLEAN,   0x0012)
99 #define PR_DL_EXPANSION_HISTORY                 PROP_TAG( PT_BINARY,    0x0013)
100 #define PR_DL_EXPANSION_PROHIBITED              PROP_TAG( PT_BOOLEAN,   0x0014)
101 #define PR_EXPIRY_TIME                          PROP_TAG( PT_SYSTIME,   0x0015)
102 #define PR_IMPLICIT_CONVERSION_PROHIBITED       PROP_TAG( PT_BOOLEAN,   0x0016)
103 #define PR_IMPORTANCE                           PROP_TAG( PT_LONG,      0x0017)
104 #define PR_IPM_ID                               PROP_TAG( PT_BINARY,    0x0018)
105 #define PR_LATEST_DELIVERY_TIME                 PROP_TAG( PT_SYSTIME,   0x0019)
106 #define PR_MESSAGE_CLASS                        PROP_TAG( PT_TSTRING,   0x001A)
107 #define PR_MESSAGE_CLASS_W                      PROP_TAG( PT_UNICODE,   0x001A)
108 #define PR_MESSAGE_CLASS_A                      PROP_TAG( PT_STRING8,   0x001A)
109 #define PR_MESSAGE_DELIVERY_ID                  PROP_TAG( PT_BINARY,    0x001B)
110 #define PR_MESSAGE_SECURITY_LABEL               PROP_TAG( PT_BINARY,    0x001E)
111 #define PR_OBSOLETED_IPMS                       PROP_TAG( PT_BINARY,    0x001F)
112 #define PR_ORIGINALLY_INTENDED_RECIPIENT_NAME   PROP_TAG( PT_BINARY,    0x0020)
113 #define PR_ORIGINAL_EITS                        PROP_TAG( PT_BINARY,    0x0021)
114 #define PR_ORIGINATOR_CERTIFICATE               PROP_TAG( PT_BINARY,    0x0022)
115 #define PR_ORIGINATOR_DELIVERY_REPORT_REQUESTED PROP_TAG( PT_BOOLEAN,   0x0023)
116 #define PR_ORIGINATOR_RETURN_ADDRESS            PROP_TAG( PT_BINARY,    0x0024)
117 #define PR_PARENT_KEY                           PROP_TAG( PT_BINARY,    0x0025)
118 #define PR_PRIORITY                             PROP_TAG( PT_LONG,      0x0026)
119 #define PR_ORIGIN_CHECK                         PROP_TAG( PT_BINARY,    0x0027)
120 #define PR_PROOF_OF_SUBMISSION_REQUESTED        PROP_TAG( PT_BOOLEAN,   0x0028)
121 #define PR_READ_RECEIPT_REQUESTED               PROP_TAG( PT_BOOLEAN,   0x0029)
122 #define PR_RECEIPT_TIME                         PROP_TAG( PT_SYSTIME,   0x002A)
123 #define PR_RECIPIENT_REASSIGNMENT_PROHIBITED    PROP_TAG( PT_BOOLEAN,   0x002B)
124 #define PR_REDIRECTION_HISTORY                  PROP_TAG( PT_BINARY,    0x002C)
125 #define PR_RELATED_IPMS                         PROP_TAG( PT_BINARY,    0x002D)
126 #define PR_ORIGINAL_SENSITIVITY                 PROP_TAG( PT_LONG,      0x002E)
127 #define PR_LANGUAGES                            PROP_TAG( PT_TSTRING,   0x002F)
128 #define PR_LANGUAGES_W                          PROP_TAG( PT_UNICODE,   0x002F)
129 #define PR_LANGUAGES_A                          PROP_TAG( PT_STRING8,   0x002F)
130 #define PR_REPLY_TIME                           PROP_TAG( PT_SYSTIME,   0x0030)
131 #define PR_REPORT_TAG                           PROP_TAG( PT_BINARY,    0x0031)
132 #define PR_REPORT_TIME                          PROP_TAG( PT_SYSTIME,   0x0032)
133 #define PR_RETURNED_IPM                         PROP_TAG( PT_BOOLEAN,   0x0033)
134 #define PR_SECURITY                             PROP_TAG( PT_LONG,      0x0034)
135 #define PR_INCOMPLETE_COPY                      PROP_TAG( PT_BOOLEAN,   0x0035)
136 #define PR_SENSITIVITY                          PROP_TAG( PT_LONG,      0x0036)
137 #define PR_SUBJECT                              PROP_TAG( PT_TSTRING,   0x0037)
138 #define PR_SUBJECT_W                            PROP_TAG( PT_UNICODE,   0x0037)
139 #define PR_SUBJECT_A                            PROP_TAG( PT_STRING8,   0x0037)
140 #define PR_SUBJECT_IPM                          PROP_TAG( PT_BINARY,    0x0038)
141 #define PR_CLIENT_SUBMIT_TIME                   PROP_TAG( PT_SYSTIME,   0x0039)
142 #define PR_REPORT_NAME                          PROP_TAG( PT_TSTRING,   0x003A)
143 #define PR_REPORT_NAME_W                        PROP_TAG( PT_UNICODE,   0x003A)
144 #define PR_REPORT_NAME_A                        PROP_TAG( PT_STRING8,   0x003A)
145 #define PR_SENT_REPRESENTING_SEARCH_KEY         PROP_TAG( PT_BINARY,    0x003B)
146 #define PR_X400_CONTENT_TYPE                    PROP_TAG( PT_BINARY,    0x003C)
147 #define PR_SUBJECT_PREFIX                       PROP_TAG( PT_TSTRING,   0x003D)
148 #define PR_SUBJECT_PREFIX_W                     PROP_TAG( PT_UNICODE,   0x003D)
149 #define PR_SUBJECT_PREFIX_A                     PROP_TAG( PT_STRING8,   0x003D)
150 #define PR_NON_RECEIPT_REASON                   PROP_TAG( PT_LONG,      0x003E)
151 #define PR_RECEIVED_BY_ENTRYID                  PROP_TAG( PT_BINARY,    0x003F)
152 #define PR_RECEIVED_BY_NAME                     PROP_TAG( PT_TSTRING,   0x0040)
153 #define PR_RECEIVED_BY_NAME_W                   PROP_TAG( PT_UNICODE,   0x0040)
154 #define PR_RECEIVED_BY_NAME_A                   PROP_TAG( PT_STRING8,   0x0040)
155 #define PR_SENT_REPRESENTING_ENTRYID            PROP_TAG( PT_BINARY,    0x0041)
156 #define PR_SENT_REPRESENTING_NAME               PROP_TAG( PT_TSTRING,   0x0042)
157 #define PR_SENT_REPRESENTING_NAME_W             PROP_TAG( PT_UNICODE,   0x0042)
158 #define PR_SENT_REPRESENTING_NAME_A             PROP_TAG( PT_STRING8,   0x0042)
159 #define PR_RCVD_REPRESENTING_ENTRYID            PROP_TAG( PT_BINARY,    0x0043)
160 #define PR_RCVD_REPRESENTING_NAME               PROP_TAG( PT_TSTRING,   0x0044)
161 #define PR_RCVD_REPRESENTING_NAME_W             PROP_TAG( PT_UNICODE,   0x0044)
162 #define PR_RCVD_REPRESENTING_NAME_A             PROP_TAG( PT_STRING8,   0x0044)
163 #define PR_REPORT_ENTRYID                       PROP_TAG( PT_BINARY,    0x0045)
164 #define PR_READ_RECEIPT_ENTRYID                 PROP_TAG( PT_BINARY,    0x0046)
165 #define PR_MESSAGE_SUBMISSION_ID                PROP_TAG( PT_BINARY,    0x0047)
166 #define PR_PROVIDER_SUBMIT_TIME                 PROP_TAG( PT_SYSTIME,   0x0048)
167 #define PR_ORIGINAL_SUBJECT                     PROP_TAG( PT_TSTRING,   0x0049)
168 #define PR_ORIGINAL_SUBJECT_W                   PROP_TAG( PT_UNICODE,   0x0049)
169 #define PR_ORIGINAL_SUBJECT_A                   PROP_TAG( PT_STRING8,   0x0049)
170 #define PR_DISC_VAL                             PROP_TAG( PT_BOOLEAN,   0x004A)
171 #define PR_ORIG_MESSAGE_CLASS                   PROP_TAG( PT_TSTRING,   0x004B)
172 #define PR_ORIG_MESSAGE_CLASS_W                 PROP_TAG( PT_UNICODE,   0x004B)
173 #define PR_ORIG_MESSAGE_CLASS_A                 PROP_TAG( PT_STRING8,   0x004B)
174 #define PR_ORIGINAL_AUTHOR_ENTRYID              PROP_TAG( PT_BINARY,    0x004C)
175 #define PR_ORIGINAL_AUTHOR_NAME                 PROP_TAG( PT_TSTRING,   0x004D)
176 #define PR_ORIGINAL_AUTHOR_NAME_W               PROP_TAG( PT_UNICODE,   0x004D)
177 #define PR_ORIGINAL_AUTHOR_NAME_A               PROP_TAG( PT_STRING8,   0x004D)
178 #define PR_ORIGINAL_SUBMIT_TIME                 PROP_TAG( PT_SYSTIME,   0x004E)
179 #define PR_REPLY_RECIPIENT_ENTRIES              PROP_TAG( PT_BINARY,    0x004F)
180 #define PR_REPLY_RECIPIENT_NAMES                PROP_TAG( PT_TSTRING,   0x0050)
181 #define PR_REPLY_RECIPIENT_NAMES_W              PROP_TAG( PT_UNICODE,   0x0050)
182 #define PR_REPLY_RECIPIENT_NAMES_A              PROP_TAG( PT_STRING8,   0x0050)
183 #define PR_RECEIVED_BY_SEARCH_KEY               PROP_TAG( PT_BINARY,    0x0051)
184 #define PR_RCVD_REPRESENTING_SEARCH_KEY         PROP_TAG( PT_BINARY,    0x0052)
185 #define PR_READ_RECEIPT_SEARCH_KEY              PROP_TAG( PT_BINARY,    0x0053)
186 #define PR_REPORT_SEARCH_KEY                    PROP_TAG( PT_BINARY,    0x0054)
187 #define PR_ORIGINAL_DELIVERY_TIME               PROP_TAG( PT_SYSTIME,   0x0055)
188 #define PR_ORIGINAL_AUTHOR_SEARCH_KEY           PROP_TAG( PT_BINARY,    0x0056)
189 #define PR_MESSAGE_TO_ME                        PROP_TAG( PT_BOOLEAN,   0x0057)
190 #define PR_MESSAGE_CC_ME                        PROP_TAG( PT_BOOLEAN,   0x0058)
191 #define PR_MESSAGE_RECIP_ME                     PROP_TAG( PT_BOOLEAN,   0x0059)
192 #define PR_ORIGINAL_SENDER_NAME                 PROP_TAG( PT_TSTRING,   0x005A)
193 #define PR_ORIGINAL_SENDER_NAME_W               PROP_TAG( PT_UNICODE,   0x005A)
194 #define PR_ORIGINAL_SENDER_NAME_A               PROP_TAG( PT_STRING8,   0x005A)
195 #define PR_ORIGINAL_SENDER_ENTRYID              PROP_TAG( PT_BINARY,    0x005B)
196 #define PR_ORIGINAL_SENDER_SEARCH_KEY           PROP_TAG( PT_BINARY,    0x005C)
197 #define PR_ORIGINAL_SENT_REPRESENTING_NAME      PROP_TAG( PT_TSTRING,   0x005D)
198 #define PR_ORIGINAL_SENT_REPRESENTING_NAME_W    PROP_TAG( PT_UNICODE,   0x005D)
199 #define PR_ORIGINAL_SENT_REPRESENTING_NAME_A    PROP_TAG( PT_STRING8,   0x005D)
200 #define PR_ORIGINAL_SENT_REPRESENTING_ENTRYID   PROP_TAG( PT_BINARY,    0x005E)
201 #define PR_ORIGINAL_SENT_REPRESENTING_SEARCH_KEY PROP_TAG( PT_BINARY,   0x005F)
202 #define PR_START_DATE                           PROP_TAG( PT_SYSTIME,   0x0060)
203 #define PR_END_DATE                             PROP_TAG( PT_SYSTIME,   0x0061)
204 #define PR_OWNER_APPT_ID                        PROP_TAG( PT_LONG,      0x0062)
205 #define PR_RESPONSE_REQUESTED                   PROP_TAG( PT_BOOLEAN,   0x0063)
206 #define PR_SENT_REPRESENTING_ADDRTYPE           PROP_TAG( PT_TSTRING,   0x0064)
207 #define PR_SENT_REPRESENTING_ADDRTYPE_W         PROP_TAG( PT_UNICODE,   0x0064)
208 #define PR_SENT_REPRESENTING_ADDRTYPE_A         PROP_TAG( PT_STRING8,   0x0064)
209 #define PR_SENT_REPRESENTING_EMAIL_ADDRESS      PROP_TAG( PT_TSTRING,   0x0065)
210 #define PR_SENT_REPRESENTING_EMAIL_ADDRESS_W    PROP_TAG( PT_UNICODE,   0x0065)
211 #define PR_SENT_REPRESENTING_EMAIL_ADDRESS_A    PROP_TAG( PT_STRING8,   0x0065)
212 #define PR_ORIGINAL_SENDER_ADDRTYPE             PROP_TAG( PT_TSTRING,   0x0066)
213 #define PR_ORIGINAL_SENDER_ADDRTYPE_W           PROP_TAG( PT_UNICODE,   0x0066)
214 #define PR_ORIGINAL_SENDER_ADDRTYPE_A           PROP_TAG( PT_STRING8,   0x0066)
215 #define PR_ORIGINAL_SENDER_EMAIL_ADDRESS        PROP_TAG( PT_TSTRING,   0x0067)
216 #define PR_ORIGINAL_SENDER_EMAIL_ADDRESS_W      PROP_TAG( PT_UNICODE,   0x0067)
217 #define PR_ORIGINAL_SENDER_EMAIL_ADDRESS_A      PROP_TAG( PT_STRING8,   0x0067)
218 #define PR_ORIGINAL_SENT_REPRESENTING_ADDRTYPE  PROP_TAG( PT_TSTRING,   0x0068)
219 #define PR_ORIGINAL_SENT_REPRESENTING_ADDRTYPE_W PROP_TAG( PT_UNICODE,  0x0068)
220 #define PR_ORIGINAL_SENT_REPRESENTING_ADDRTYPE_A  PROP_TAG( PT_STRING8, 0x0068)
221 #define PR_ORIGINAL_SENT_REPRESENTING_EMAIL_ADDRESS \
222                                                 PROP_TAG( PT_TSTRING,   0x0069)
223 #define PR_ORIGINAL_SENT_REPRESENTING_EMAIL_ADDRESS_W \
224                                                 PROP_TAG( PT_UNICODE,   0x0069)
225 #define PR_ORIGINAL_SENT_REPRESENTING_EMAIL_ADDRESS_A \
226                                                 PROP_TAG( PT_STRING8,   0x0069)
227 #define PR_CONVERSATION_TOPIC                   PROP_TAG( PT_TSTRING,   0x0070)
228 #define PR_CONVERSATION_TOPIC_W                 PROP_TAG( PT_UNICODE,   0x0070)
229 #define PR_CONVERSATION_TOPIC_A                 PROP_TAG( PT_STRING8,   0x0070)
230 #define PR_CONVERSATION_INDEX                   PROP_TAG( PT_BINARY,    0x0071)
231 #define PR_ORIGINAL_DISPLAY_BCC                 PROP_TAG( PT_TSTRING,   0x0072)
232 #define PR_ORIGINAL_DISPLAY_BCC_W               PROP_TAG( PT_UNICODE,   0x0072)
233 #define PR_ORIGINAL_DISPLAY_BCC_A               PROP_TAG( PT_STRING8,   0x0072)
234 #define PR_ORIGINAL_DISPLAY_CC                  PROP_TAG( PT_TSTRING,   0x0073)
235 #define PR_ORIGINAL_DISPLAY_CC_W                PROP_TAG( PT_UNICODE,   0x0073)
236 #define PR_ORIGINAL_DISPLAY_CC_A                PROP_TAG( PT_STRING8,   0x0073)
237 #define PR_ORIGINAL_DISPLAY_TO                  PROP_TAG( PT_TSTRING,   0x0074)
238 #define PR_ORIGINAL_DISPLAY_TO_W                PROP_TAG( PT_UNICODE,   0x0074)
239 #define PR_ORIGINAL_DISPLAY_TO_A                PROP_TAG( PT_STRING8,   0x0074)
240 #define PR_RECEIVED_BY_ADDRTYPE                 PROP_TAG( PT_TSTRING,   0x0075)
241 #define PR_RECEIVED_BY_ADDRTYPE_W               PROP_TAG( PT_UNICODE,   0x0075)
242 #define PR_RECEIVED_BY_ADDRTYPE_A               PROP_TAG( PT_STRING8,   0x0075)
243 #define PR_RECEIVED_BY_EMAIL_ADDRESS            PROP_TAG( PT_TSTRING,   0x0076)
244 #define PR_RECEIVED_BY_EMAIL_ADDRESS_W          PROP_TAG( PT_UNICODE,   0x0076)
245 #define PR_RECEIVED_BY_EMAIL_ADDRESS_A          PROP_TAG( PT_STRING8,   0x0076)
246 #define PR_RCVD_REPRESENTING_ADDRTYPE           PROP_TAG( PT_TSTRING,   0x0077)
247 #define PR_RCVD_REPRESENTING_ADDRTYPE_W         PROP_TAG( PT_UNICODE,   0x0077)
248 #define PR_RCVD_REPRESENTING_ADDRTYPE_A         PROP_TAG( PT_STRING8,   0x0077)
249 #define PR_RCVD_REPRESENTING_EMAIL_ADDRESS      PROP_TAG( PT_TSTRING,   0x0078)
250 #define PR_RCVD_REPRESENTING_EMAIL_ADDRESS_W    PROP_TAG( PT_UNICODE,   0x0078)
251 #define PR_RCVD_REPRESENTING_EMAIL_ADDRESS_A    PROP_TAG( PT_STRING8,   0x0078)
252 #define PR_ORIGINAL_AUTHOR_ADDRTYPE             PROP_TAG( PT_TSTRING,   0x0079)
253 #define PR_ORIGINAL_AUTHOR_ADDRTYPE_W           PROP_TAG( PT_UNICODE,   0x0079)
254 #define PR_ORIGINAL_AUTHOR_ADDRTYPE_A           PROP_TAG( PT_STRING8,   0x0079)
255 #define PR_ORIGINAL_AUTHOR_EMAIL_ADDRESS        PROP_TAG( PT_TSTRING,   0x007A)
256 #define PR_ORIGINAL_AUTHOR_EMAIL_ADDRESS_W      PROP_TAG( PT_UNICODE,   0x007A)
257 #define PR_ORIGINAL_AUTHOR_EMAIL_ADDRESS_A      PROP_TAG( PT_STRING8,   0x007A)
258 #define PR_ORIGINALLY_INTENDED_RECIP_ADDRTYPE   PROP_TAG( PT_TSTRING,   0x007B)
259 #define PR_ORIGINALLY_INTENDED_RECIP_ADDRTYPE_W PROP_TAG( PT_UNICODE,   0x007B)
260 #define PR_ORIGINALLY_INTENDED_RECIP_ADDRTYPE_A PROP_TAG( PT_STRING8,   0x007B)
261 #define PR_ORIGINALLY_INTENDED_RECIP_EMAIL_ADDRESS \
262                                                 PROP_TAG( PT_TSTRING,   0x007C)
263 #define PR_ORIGINALLY_INTENDED_RECIP_EMAIL_ADDRESS_W \
264                                                 PROP_TAG( PT_UNICODE,   0x007C)
265 #define PR_ORIGINALLY_INTENDED_RECIP_EMAIL_ADDRESS_A \
266                                                 PROP_TAG( PT_STRING8,   0x007C)
267 #define PR_TRANSPORT_MESSAGE_HEADERS            PROP_TAG(PT_TSTRING,    0x007D)
268 #define PR_TRANSPORT_MESSAGE_HEADERS_W          PROP_TAG(PT_UNICODE,    0x007D)
269 #define PR_TRANSPORT_MESSAGE_HEADERS_A          PROP_TAG(PT_STRING8,    0x007D)
270 #define PR_DELEGATION                           PROP_TAG(PT_BINARY,     0x007E)
271 #define PR_TNEF_CORRELATION_KEY                 PROP_TAG(PT_BINARY,     0x007F)
272 #define PR_BODY                                 PROP_TAG( PT_TSTRING,   0x1000)
273 #define PR_BODY_W                               PROP_TAG( PT_UNICODE,   0x1000)
274 #define PR_BODY_A                               PROP_TAG( PT_STRING8,   0x1000)
275 #define PR_REPORT_TEXT                          PROP_TAG( PT_TSTRING,   0x1001)
276 #define PR_REPORT_TEXT_W                        PROP_TAG( PT_UNICODE,   0x1001)
277 #define PR_REPORT_TEXT_A                        PROP_TAG( PT_STRING8,   0x1001)
278 #define PR_ORIGINATOR_AND_DL_EXPANSION_HISTORY  PROP_TAG( PT_BINARY,    0x1002)
279 #define PR_REPORTING_DL_NAME                    PROP_TAG( PT_BINARY,    0x1003)
280 #define PR_REPORTING_MTA_CERTIFICATE            PROP_TAG( PT_BINARY,    0x1004)
281 #define PR_RTF_SYNC_BODY_CRC                    PROP_TAG( PT_LONG,      0x1006)
282 #define PR_RTF_SYNC_BODY_COUNT                  PROP_TAG( PT_LONG,      0x1007)
283 #define PR_RTF_SYNC_BODY_TAG                    PROP_TAG( PT_TSTRING,   0x1008)
284 #define PR_RTF_SYNC_BODY_TAG_W                  PROP_TAG( PT_UNICODE,   0x1008)
285 #define PR_RTF_SYNC_BODY_TAG_A                  PROP_TAG( PT_STRING8,   0x1008)
286 #define PR_RTF_COMPRESSED                       PROP_TAG( PT_BINARY,    0x1009)
287 #define PR_RTF_SYNC_PREFIX_COUNT                PROP_TAG( PT_LONG,      0x1010)
288 #define PR_RTF_SYNC_TRAILING_COUNT              PROP_TAG( PT_LONG,      0x1011)
289 #define PR_ORIGINALLY_INTENDED_RECIP_ENTRYID    PROP_TAG( PT_BINARY,    0x1012)
290 #define PR_BODY_HTML                            PROP_TAG( PT_TSTRING,   0x1013)
291 #define PR_BODY_HTML_W                          PROP_TAG( PT_UNICODE,   0x1013)
292 #define PR_BODY_HTML_A                          PROP_TAG( PT_STRING8,   0x1013)
293 #define PR_CONTENT_INTEGRITY_CHECK              PROP_TAG( PT_BINARY,    0x0C00)
294 #define PR_EXPLICIT_CONVERSION                  PROP_TAG( PT_LONG,      0x0C01)
295 #define PR_IPM_RETURN_REQUESTED                 PROP_TAG( PT_BOOLEAN,   0x0C02)
296 #define PR_MESSAGE_TOKEN                        PROP_TAG( PT_BINARY,    0x0C03)
297 #define PR_NDR_REASON_CODE                      PROP_TAG( PT_LONG,      0x0C04)
298 #define PR_NDR_DIAG_CODE                        PROP_TAG( PT_LONG,      0x0C05)
299 #define PR_NON_RECEIPT_NOTIFICATION_REQUESTED   PROP_TAG( PT_BOOLEAN,   0x0C06)
300 #define PR_DELIVERY_POINT                       PROP_TAG( PT_LONG,      0x0C07)
301 #define PR_ORIGINATOR_NON_DELIVERY_REPORT_REQUESTED \
302                                                 PROP_TAG( PT_BOOLEAN,   0x0C08)
303 #define PR_ORIGINATOR_REQUESTED_ALTERNATE_RECIPIENT \
304                                                 PROP_TAG( PT_BINARY,    0x0C09)
305 #define PR_PHYSICAL_DELIVERY_BUREAU_FAX_DELIVERY \
306                                                 PROP_TAG( PT_BOOLEAN,   0x0C0A)
307 #define PR_PHYSICAL_DELIVERY_MODE               PROP_TAG( PT_LONG,      0x0C0B)
308 #define PR_PHYSICAL_DELIVERY_REPORT_REQUEST     PROP_TAG( PT_LONG,      0x0C0C)
309 #define PR_PHYSICAL_FORWARDING_ADDRESS          PROP_TAG( PT_BINARY,    0x0C0D)
310 #define PR_PHYSICAL_FORWARDING_ADDRESS_REQUESTED \
311                                                 PROP_TAG( PT_BOOLEAN,   0x0C0E)
312 #define PR_PHYSICAL_FORWARDING_PROHIBITED       PROP_TAG( PT_BOOLEAN,   0x0C0F)
313 #define PR_PHYSICAL_RENDITION_ATTRIBUTES        PROP_TAG( PT_BINARY,    0x0C10)
314 #define PR_PROOF_OF_DELIVERY                    PROP_TAG( PT_BINARY,    0x0C11)
315 #define PR_PROOF_OF_DELIVERY_REQUESTED          PROP_TAG( PT_BOOLEAN,   0x0C12)
316 #define PR_RECIPIENT_CERTIFICATE                PROP_TAG( PT_BINARY,    0x0C13)
317 #define PR_RECIPIENT_NUMBER_FOR_ADVICE          PROP_TAG( PT_TSTRING,   0x0C14)
318 #define PR_RECIPIENT_NUMBER_FOR_ADVICE_W        PROP_TAG( PT_UNICODE,   0x0C14)
319 #define PR_RECIPIENT_NUMBER_FOR_ADVICE_A        PROP_TAG( PT_STRING8,   0x0C14)
320 #define PR_RECIPIENT_TYPE                       PROP_TAG( PT_LONG,      0x0C15)
321 #define PR_REGISTERED_MAIL_TYPE                 PROP_TAG( PT_LONG,      0x0C16)
322 #define PR_REPLY_REQUESTED                      PROP_TAG( PT_BOOLEAN,   0x0C17)
323 #define PR_REQUESTED_DELIVERY_METHOD            PROP_TAG( PT_LONG,      0x0C18)
324 #define PR_SENDER_ENTRYID                       PROP_TAG( PT_BINARY,    0x0C19)
325 #define PR_SENDER_NAME                          PROP_TAG( PT_TSTRING,   0x0C1A)
326 #define PR_SENDER_NAME_W                        PROP_TAG( PT_UNICODE,   0x0C1A)
327 #define PR_SENDER_NAME_A                        PROP_TAG( PT_STRING8,   0x0C1A)
328 #define PR_SUPPLEMENTARY_INFO                   PROP_TAG( PT_TSTRING,   0x0C1B)
329 #define PR_SUPPLEMENTARY_INFO_W                 PROP_TAG( PT_UNICODE,   0x0C1B)
330 #define PR_SUPPLEMENTARY_INFO_A                 PROP_TAG( PT_STRING8,   0x0C1B)
331 #define PR_TYPE_OF_MTS_USER                     PROP_TAG( PT_LONG,      0x0C1C)
332 #define PR_SENDER_SEARCH_KEY                    PROP_TAG( PT_BINARY,    0x0C1D)
333 #define PR_SENDER_ADDRTYPE                      PROP_TAG( PT_TSTRING,   0x0C1E)
334 #define PR_SENDER_ADDRTYPE_W                    PROP_TAG( PT_UNICODE,   0x0C1E)
335 #define PR_SENDER_ADDRTYPE_A                    PROP_TAG( PT_STRING8,   0x0C1E)
336 #define PR_SENDER_EMAIL_ADDRESS                 PROP_TAG( PT_TSTRING,   0x0C1F)
337 #define PR_SENDER_EMAIL_ADDRESS_W               PROP_TAG( PT_UNICODE,   0x0C1F)
338 #define PR_SENDER_EMAIL_ADDRESS_A               PROP_TAG( PT_STRING8,   0x0C1F)
339 #define PR_CURRENT_VERSION                      PROP_TAG( PT_I8,        0x0E00)
340 #define PR_DELETE_AFTER_SUBMIT                  PROP_TAG( PT_BOOLEAN,   0x0E01)
341 #define PR_DISPLAY_BCC                          PROP_TAG( PT_TSTRING,   0x0E02)
342 #define PR_DISPLAY_BCC_W                        PROP_TAG( PT_UNICODE,   0x0E02)
343 #define PR_DISPLAY_BCC_A                        PROP_TAG( PT_STRING8,   0x0E02)
344 #define PR_DISPLAY_CC                           PROP_TAG( PT_TSTRING,   0x0E03)
345 #define PR_DISPLAY_CC_W                         PROP_TAG( PT_UNICODE,   0x0E03)
346 #define PR_DISPLAY_CC_A                         PROP_TAG( PT_STRING8,   0x0E03)
347 #define PR_DISPLAY_TO                           PROP_TAG( PT_TSTRING,   0x0E04)
348 #define PR_DISPLAY_TO_W                         PROP_TAG( PT_UNICODE,   0x0E04)
349 #define PR_DISPLAY_TO_A                         PROP_TAG( PT_STRING8,   0x0E04)
350 #define PR_PARENT_DISPLAY                       PROP_TAG( PT_TSTRING,   0x0E05)
351 #define PR_PARENT_DISPLAY_W                     PROP_TAG( PT_UNICODE,   0x0E05)
352 #define PR_PARENT_DISPLAY_A                     PROP_TAG( PT_STRING8,   0x0E05)
353 #define PR_MESSAGE_DELIVERY_TIME                PROP_TAG( PT_SYSTIME,   0x0E06)
354 #define PR_MESSAGE_FLAGS                        PROP_TAG( PT_LONG,      0x0E07)
355 #define PR_MESSAGE_SIZE                         PROP_TAG( PT_LONG,      0x0E08)
356 #define PR_PARENT_ENTRYID                       PROP_TAG( PT_BINARY,    0x0E09)
357 #define PR_SENTMAIL_ENTRYID                     PROP_TAG( PT_BINARY,    0x0E0A)
358 #define PR_CORRELATE                            PROP_TAG( PT_BOOLEAN,   0x0E0C)
359 #define PR_CORRELATE_MTSID                      PROP_TAG( PT_BINARY,    0x0E0D)
360 #define PR_DISCRETE_VALUES                      PROP_TAG( PT_BOOLEAN,   0x0E0E)
361 #define PR_RESPONSIBILITY                       PROP_TAG( PT_BOOLEAN,   0x0E0F)
362 #define PR_SPOOLER_STATUS                       PROP_TAG( PT_LONG,      0x0E10)
363 #define PR_TRANSPORT_STATUS                     PROP_TAG( PT_LONG,      0x0E11)
364 #define PR_MESSAGE_RECIPIENTS                   PROP_TAG( PT_OBJECT,    0x0E12)
365 #define PR_MESSAGE_ATTACHMENTS                  PROP_TAG( PT_OBJECT,    0x0E13)
366 #define PR_SUBMIT_FLAGS                         PROP_TAG( PT_LONG,      0x0E14)
367 #define PR_RECIPIENT_STATUS                     PROP_TAG( PT_LONG,      0x0E15)
368 #define PR_TRANSPORT_KEY                        PROP_TAG( PT_LONG,      0x0E16)
369 #define PR_MSG_STATUS                           PROP_TAG( PT_LONG,      0x0E17)
370 #define PR_MESSAGE_DOWNLOAD_TIME                PROP_TAG( PT_LONG,      0x0E18)
371 #define PR_CREATION_VERSION                     PROP_TAG( PT_I8,        0x0E19)
372 #define PR_MODIFY_VERSION                       PROP_TAG( PT_I8,        0x0E1A)
373 #define PR_HASATTACH                            PROP_TAG( PT_BOOLEAN,   0x0E1B)
374 #define PR_BODY_CRC                             PROP_TAG( PT_LONG,      0x0E1C)
375 #define PR_NORMALIZED_SUBJECT                   PROP_TAG( PT_TSTRING,   0x0E1D)
376 #define PR_NORMALIZED_SUBJECT_W                 PROP_TAG( PT_UNICODE,   0x0E1D)
377 #define PR_NORMALIZED_SUBJECT_A                 PROP_TAG( PT_STRING8,   0x0E1D)
378 #define PR_RTF_IN_SYNC                          PROP_TAG( PT_BOOLEAN,   0x0E1F)
379 #define PR_ATTACH_SIZE                          PROP_TAG( PT_LONG,      0x0E20)
380 #define PR_ATTACH_NUM                           PROP_TAG( PT_LONG,      0x0E21)
381 #define PR_PREPROCESS                           PROP_TAG( PT_BOOLEAN,   0x0E22)
382 #define PR_ORIGINATING_MTA_CERTIFICATE          PROP_TAG( PT_BINARY,    0x0E25)
383 #define PR_PROOF_OF_SUBMISSION                  PROP_TAG( PT_BINARY,    0x0E26)
384 #define PR_ENTRYID                              PROP_TAG( PT_BINARY,    0x0FFF)
385 #define PR_OBJECT_TYPE                          PROP_TAG( PT_LONG,      0x0FFE)
386 #define PR_ICON                                 PROP_TAG( PT_BINARY,    0x0FFD)
387 #define PR_MINI_ICON                            PROP_TAG( PT_BINARY,    0x0FFC)
388 #define PR_STORE_ENTRYID                        PROP_TAG( PT_BINARY,    0x0FFB)
389 #define PR_STORE_RECORD_KEY                     PROP_TAG( PT_BINARY,    0x0FFA)
390 #define PR_RECORD_KEY                           PROP_TAG( PT_BINARY,    0x0FF9)
391 #define PR_MAPPING_SIGNATURE                    PROP_TAG( PT_BINARY,    0x0FF8)
392 #define PR_ACCESS_LEVEL                         PROP_TAG( PT_LONG,      0x0FF7)
393 #define PR_INSTANCE_KEY                         PROP_TAG( PT_BINARY,    0x0FF6)
394 #define PR_ROW_TYPE                             PROP_TAG( PT_LONG,      0x0FF5)
395 #define PR_ACCESS                               PROP_TAG( PT_LONG,      0x0FF4)
396 #define PR_ROWID                                PROP_TAG( PT_LONG,      0x3000)
397 #define PR_DISPLAY_NAME                         PROP_TAG( PT_TSTRING,   0x3001)
398 #define PR_DISPLAY_NAME_W                       PROP_TAG( PT_UNICODE,   0x3001)
399 #define PR_DISPLAY_NAME_A                       PROP_TAG( PT_STRING8,   0x3001)
400 #define PR_ADDRTYPE                             PROP_TAG( PT_TSTRING,   0x3002)
401 #define PR_ADDRTYPE_W                           PROP_TAG( PT_UNICODE,   0x3002)
402 #define PR_ADDRTYPE_A                           PROP_TAG( PT_STRING8,   0x3002)
403 #define PR_EMAIL_ADDRESS                        PROP_TAG( PT_TSTRING,   0x3003)
404 #define PR_EMAIL_ADDRESS_W                      PROP_TAG( PT_UNICODE,   0x3003)
405 #define PR_EMAIL_ADDRESS_A                      PROP_TAG( PT_STRING8,   0x3003)
406 #define PR_COMMENT                              PROP_TAG( PT_TSTRING,   0x3004)
407 #define PR_COMMENT_W                            PROP_TAG( PT_UNICODE,   0x3004)
408 #define PR_COMMENT_A                            PROP_TAG( PT_STRING8,   0x3004)
409 #define PR_DEPTH                                PROP_TAG( PT_LONG,      0x3005)
410 #define PR_PROVIDER_DISPLAY                     PROP_TAG( PT_TSTRING,   0x3006)
411 #define PR_PROVIDER_DISPLAY_W                   PROP_TAG( PT_UNICODE,   0x3006)
412 #define PR_PROVIDER_DISPLAY_A                   PROP_TAG( PT_STRING8,   0x3006)
413 #define PR_CREATION_TIME                        PROP_TAG( PT_SYSTIME,   0x3007)
414 #define PR_LAST_MODIFICATION_TIME               PROP_TAG( PT_SYSTIME,   0x3008)
415 #define PR_RESOURCE_FLAGS                       PROP_TAG( PT_LONG,      0x3009)
416 #define PR_PROVIDER_DLL_NAME                    PROP_TAG( PT_TSTRING,   0x300A)
417 #define PR_PROVIDER_DLL_NAME_W                  PROP_TAG( PT_UNICODE,   0x300A)
418 #define PR_PROVIDER_DLL_NAME_A                  PROP_TAG( PT_STRING8,   0x300A)
419 #define PR_SEARCH_KEY                           PROP_TAG( PT_BINARY,    0x300B)
420 #define PR_PROVIDER_UID                         PROP_TAG( PT_BINARY,    0x300C)
421 #define PR_PROVIDER_ORDINAL                     PROP_TAG( PT_LONG,      0x300D)
422 #define PR_FORM_VERSION                         PROP_TAG(PT_TSTRING,    0x3301)
423 #define PR_FORM_VERSION_W                       PROP_TAG(PT_UNICODE,    0x3301)
424 #define PR_FORM_VERSION_A                       PROP_TAG(PT_STRING8,    0x3301)
425 #define PR_FORM_CLSID                           PROP_TAG(PT_CLSID,      0x3302)
426 #define PR_FORM_CONTACT_NAME                    PROP_TAG(PT_TSTRING,    0x3303)
427 #define PR_FORM_CONTACT_NAME_W                  PROP_TAG(PT_UNICODE,    0x3303)
428 #define PR_FORM_CONTACT_NAME_A                  PROP_TAG(PT_STRING8,    0x3303)
429 #define PR_FORM_CATEGORY                        PROP_TAG(PT_TSTRING,    0x3304)
430 #define PR_FORM_CATEGORY_W                      PROP_TAG(PT_UNICODE,    0x3304)
431 #define PR_FORM_CATEGORY_A                      PROP_TAG(PT_STRING8,    0x3304)
432 #define PR_FORM_CATEGORY_SUB                    PROP_TAG(PT_TSTRING,    0x3305)
433 #define PR_FORM_CATEGORY_SUB_W                  PROP_TAG(PT_UNICODE,    0x3305)
434 #define PR_FORM_CATEGORY_SUB_A                  PROP_TAG(PT_STRING8,    0x3305)
435 #define PR_FORM_HOST_MAP                        PROP_TAG(PT_MV_LONG,    0x3306)
436 #define PR_FORM_HIDDEN                          PROP_TAG(PT_BOOLEAN,    0x3307)
437 #define PR_FORM_DESIGNER_NAME                   PROP_TAG(PT_TSTRING,    0x3308)
438 #define PR_FORM_DESIGNER_NAME_W                 PROP_TAG(PT_UNICODE,    0x3308)
439 #define PR_FORM_DESIGNER_NAME_A                 PROP_TAG(PT_STRING8,    0x3308)
440 #define PR_FORM_DESIGNER_GUID                   PROP_TAG(PT_CLSID,      0x3309)
441 #define PR_FORM_MESSAGE_BEHAVIOR                PROP_TAG(PT_LONG,       0x330A)
442 #define PR_DEFAULT_STORE                        PROP_TAG( PT_BOOLEAN,   0x3400)
443 #define PR_STORE_SUPPORT_MASK                   PROP_TAG( PT_LONG,      0x340D)
444 #define PR_STORE_STATE                          PROP_TAG( PT_LONG,      0x340E)
445 #define PR_IPM_SUBTREE_SEARCH_KEY               PROP_TAG( PT_BINARY,    0x3410)
446 #define PR_IPM_OUTBOX_SEARCH_KEY                PROP_TAG( PT_BINARY,    0x3411)
447 #define PR_IPM_WASTEBASKET_SEARCH_KEY           PROP_TAG( PT_BINARY,    0x3412)
448 #define PR_IPM_SENTMAIL_SEARCH_KEY              PROP_TAG( PT_BINARY,    0x3413)
449 #define PR_MDB_PROVIDER                         PROP_TAG( PT_BINARY,    0x3414)
450 #define PR_RECEIVE_FOLDER_SETTINGS              PROP_TAG( PT_OBJECT,    0x3415)
451 #define PR_VALID_FOLDER_MASK                    PROP_TAG( PT_LONG,      0x35DF)
452 #define PR_IPM_SUBTREE_ENTRYID                  PROP_TAG( PT_BINARY,    0x35E0)
453 #define PR_IPM_OUTBOX_ENTRYID                   PROP_TAG( PT_BINARY,    0x35E2)
454 #define PR_IPM_WASTEBASKET_ENTRYID              PROP_TAG( PT_BINARY,    0x35E3)
455 #define PR_IPM_SENTMAIL_ENTRYID                 PROP_TAG( PT_BINARY,    0x35E4)
456 #define PR_VIEWS_ENTRYID                        PROP_TAG( PT_BINARY,    0x35E5)
457 #define PR_COMMON_VIEWS_ENTRYID                 PROP_TAG( PT_BINARY,    0x35E6)
458 #define PR_FINDER_ENTRYID                       PROP_TAG( PT_BINARY,    0x35E7)
459 #define PR_CONTAINER_FLAGS                      PROP_TAG( PT_LONG,      0x3600)
460 #define PR_FOLDER_TYPE                          PROP_TAG( PT_LONG,      0x3601)
461 #define PR_CONTENT_COUNT                        PROP_TAG( PT_LONG,      0x3602)
462 #define PR_CONTENT_UNREAD                       PROP_TAG( PT_LONG,      0x3603)
463 #define PR_CREATE_TEMPLATES                     PROP_TAG( PT_OBJECT,    0x3604)
464 #define PR_DETAILS_TABLE                        PROP_TAG( PT_OBJECT,    0x3605)
465 #define PR_SEARCH                               PROP_TAG( PT_OBJECT,    0x3607)
466 #define PR_SELECTABLE                           PROP_TAG( PT_BOOLEAN,   0x3609)
467 #define PR_SUBFOLDERS                           PROP_TAG( PT_BOOLEAN,   0x360A)
468 #define PR_STATUS                               PROP_TAG( PT_LONG,      0x360B)
469 #define PR_ANR                                  PROP_TAG( PT_TSTRING,   0x360C)
470 #define PR_ANR_W                                PROP_TAG( PT_UNICODE,   0x360C)
471 #define PR_ANR_A                                PROP_TAG( PT_STRING8,   0x360C)
472 #define PR_CONTENTS_SORT_ORDER                  PROP_TAG( PT_MV_LONG,   0x360D)
473 #define PR_CONTAINER_HIERARCHY                  PROP_TAG( PT_OBJECT,    0x360E)
474 #define PR_CONTAINER_CONTENTS                   PROP_TAG( PT_OBJECT,    0x360F)
475 #define PR_FOLDER_ASSOCIATED_CONTENTS           PROP_TAG( PT_OBJECT,    0x3610)
476 #define PR_DEF_CREATE_DL                        PROP_TAG( PT_BINARY,    0x3611)
477 #define PR_DEF_CREATE_MAILUSER                  PROP_TAG( PT_BINARY,    0x3612)
478 #define PR_CONTAINER_CLASS                      PROP_TAG( PT_TSTRING,   0x3613)
479 #define PR_CONTAINER_CLASS_W                    PROP_TAG( PT_UNICODE,   0x3613)
480 #define PR_CONTAINER_CLASS_A                    PROP_TAG( PT_STRING8,   0x3613)
481 #define PR_CONTAINER_MODIFY_VERSION             PROP_TAG( PT_I8,        0x3614)
482 #define PR_AB_PROVIDER_ID                       PROP_TAG( PT_BINARY,    0x3615)
483 #define PR_DEFAULT_VIEW_ENTRYID                 PROP_TAG( PT_BINARY,    0x3616)
484 #define PR_ASSOC_CONTENT_COUNT                  PROP_TAG( PT_LONG,      0x3617)
485 #define PR_ATTACHMENT_X400_PARAMETERS           PROP_TAG( PT_BINARY,    0x3700)
486 #define PR_ATTACH_DATA_OBJ                      PROP_TAG( PT_OBJECT,    0x3701)
487 #define PR_ATTACH_DATA_BIN                      PROP_TAG( PT_BINARY,    0x3701)
488 #define PR_ATTACH_ENCODING                      PROP_TAG( PT_BINARY,    0x3702)
489 #define PR_ATTACH_EXTENSION                     PROP_TAG( PT_TSTRING,   0x3703)
490 #define PR_ATTACH_EXTENSION_W                   PROP_TAG( PT_UNICODE,   0x3703)
491 #define PR_ATTACH_EXTENSION_A                   PROP_TAG( PT_STRING8,   0x3703)
492 #define PR_ATTACH_FILENAME                      PROP_TAG( PT_TSTRING,   0x3704)
493 #define PR_ATTACH_FILENAME_W                    PROP_TAG( PT_UNICODE,   0x3704)
494 #define PR_ATTACH_FILENAME_A                    PROP_TAG( PT_STRING8,   0x3704)
495 #define PR_ATTACH_METHOD                        PROP_TAG( PT_LONG,      0x3705)
496 #define PR_ATTACH_LONG_FILENAME                 PROP_TAG( PT_TSTRING,   0x3707)
497 #define PR_ATTACH_LONG_FILENAME_W               PROP_TAG( PT_UNICODE,   0x3707)
498 #define PR_ATTACH_LONG_FILENAME_A               PROP_TAG( PT_STRING8,   0x3707)
499 #define PR_ATTACH_PATHNAME                      PROP_TAG( PT_TSTRING,   0x3708)
500 #define PR_ATTACH_PATHNAME_W                    PROP_TAG( PT_UNICODE,   0x3708)
501 #define PR_ATTACH_PATHNAME_A                    PROP_TAG( PT_STRING8,   0x3708)
502 #define PR_ATTACH_RENDERING                     PROP_TAG( PT_BINARY,    0x3709)
503 #define PR_ATTACH_TAG                           PROP_TAG( PT_BINARY,    0x370A)
504 #define PR_RENDERING_POSITION                   PROP_TAG( PT_LONG,      0x370B)
505 #define PR_ATTACH_TRANSPORT_NAME                PROP_TAG( PT_TSTRING,   0x370C)
506 #define PR_ATTACH_TRANSPORT_NAME_W              PROP_TAG( PT_UNICODE,   0x370C)
507 #define PR_ATTACH_TRANSPORT_NAME_A              PROP_TAG( PT_STRING8,   0x370C)
508 #define PR_ATTACH_LONG_PATHNAME                 PROP_TAG( PT_TSTRING,   0x370D)
509 #define PR_ATTACH_LONG_PATHNAME_W               PROP_TAG( PT_UNICODE,   0x370D)
510 #define PR_ATTACH_LONG_PATHNAME_A               PROP_TAG( PT_STRING8,   0x370D)
511 #define PR_ATTACH_MIME_TAG                      PROP_TAG( PT_TSTRING,   0x370E)
512 #define PR_ATTACH_MIME_TAG_W                    PROP_TAG( PT_UNICODE,   0x370E)
513 #define PR_ATTACH_MIME_TAG_A                    PROP_TAG( PT_STRING8,   0x370E)
514 #define PR_ATTACH_ADDITIONAL_INFO               PROP_TAG( PT_BINARY,    0x370F)
515 #define PR_DISPLAY_TYPE                         PROP_TAG( PT_LONG,      0x3900)
516 #define PR_TEMPLATEID                           PROP_TAG( PT_BINARY,    0x3902)
517 #define PR_PRIMARY_CAPABILITY                   PROP_TAG( PT_BINARY,    0x3904)
518 #define PR_7BIT_DISPLAY_NAME                    PROP_TAG( PT_STRING8,   0x39FF)
519 #define PR_ACCOUNT                              PROP_TAG( PT_TSTRING,   0x3A00)
520 #define PR_ACCOUNT_W                            PROP_TAG( PT_UNICODE,   0x3A00)
521 #define PR_ACCOUNT_A                            PROP_TAG( PT_STRING8,   0x3A00)
522 #define PR_ALTERNATE_RECIPIENT                  PROP_TAG( PT_BINARY,    0x3A01)
523 #define PR_CALLBACK_TELEPHONE_NUMBER            PROP_TAG( PT_TSTRING,   0x3A02)
524 #define PR_CALLBACK_TELEPHONE_NUMBER_W          PROP_TAG( PT_UNICODE,   0x3A02)
525 #define PR_CALLBACK_TELEPHONE_NUMBER_A          PROP_TAG( PT_STRING8,   0x3A02)
526 #define PR_CONVERSION_PROHIBITED                PROP_TAG( PT_BOOLEAN,   0x3A03)
527 #define PR_DISCLOSE_RECIPIENTS                  PROP_TAG( PT_BOOLEAN,   0x3A04)
528 #define PR_GENERATION                           PROP_TAG( PT_TSTRING,   0x3A05)
529 #define PR_GENERATION_W                         PROP_TAG( PT_UNICODE,   0x3A05)
530 #define PR_GENERATION_A                         PROP_TAG( PT_STRING8,   0x3A05)
531 #define PR_GIVEN_NAME                           PROP_TAG( PT_TSTRING,   0x3A06)
532 #define PR_GIVEN_NAME_W                         PROP_TAG( PT_UNICODE,   0x3A06)
533 #define PR_GIVEN_NAME_A                         PROP_TAG( PT_STRING8,   0x3A06)
534 #define PR_GOVERNMENT_ID_NUMBER                 PROP_TAG( PT_TSTRING,   0x3A07)
535 #define PR_GOVERNMENT_ID_NUMBER_W               PROP_TAG( PT_UNICODE,   0x3A07)
536 #define PR_GOVERNMENT_ID_NUMBER_A               PROP_TAG( PT_STRING8,   0x3A07)
537 #define PR_BUSINESS_TELEPHONE_NUMBER            PROP_TAG( PT_TSTRING,   0x3A08)
538 #define PR_BUSINESS_TELEPHONE_NUMBER_W          PROP_TAG( PT_UNICODE,   0x3A08)
539 #define PR_BUSINESS_TELEPHONE_NUMBER_A          PROP_TAG( PT_STRING8,   0x3A08)
540 #define PR_OFFICE_TELEPHONE_NUMBER              PR_BUSINESS_TELEPHONE_NUMBER
541 #define PR_OFFICE_TELEPHONE_NUMBER_W            PR_BUSINESS_TELEPHONE_NUMBER_W
542 #define PR_OFFICE_TELEPHONE_NUMBER_A            PR_BUSINESS_TELEPHONE_NUMBER_A
543 #define PR_HOME_TELEPHONE_NUMBER                PROP_TAG( PT_TSTRING,   0x3A09)
544 #define PR_HOME_TELEPHONE_NUMBER_W              PROP_TAG( PT_UNICODE,   0x3A09)
545 #define PR_HOME_TELEPHONE_NUMBER_A              PROP_TAG( PT_STRING8,   0x3A09)
546 #define PR_INITIALS                             PROP_TAG( PT_TSTRING,   0x3A0A)
547 #define PR_INITIALS_W                           PROP_TAG( PT_UNICODE,   0x3A0A)
548 #define PR_INITIALS_A                           PROP_TAG( PT_STRING8,   0x3A0A)
549 #define PR_KEYWORD                              PROP_TAG( PT_TSTRING,   0x3A0B)
550 #define PR_KEYWORD_W                            PROP_TAG( PT_UNICODE,   0x3A0B)
551 #define PR_KEYWORD_A                            PROP_TAG( PT_STRING8,   0x3A0B)
552 #define PR_LANGUAGE                             PROP_TAG( PT_TSTRING,   0x3A0C)
553 #define PR_LANGUAGE_W                           PROP_TAG( PT_UNICODE,   0x3A0C)
554 #define PR_LANGUAGE_A                           PROP_TAG( PT_STRING8,   0x3A0C)
555 #define PR_LOCATION                             PROP_TAG( PT_TSTRING,   0x3A0D)
556 #define PR_LOCATION_W                           PROP_TAG( PT_UNICODE,   0x3A0D)
557 #define PR_LOCATION_A                           PROP_TAG( PT_STRING8,   0x3A0D)
558 #define PR_MAIL_PERMISSION                      PROP_TAG( PT_BOOLEAN,   0x3A0E)
559 #define PR_MHS_COMMON_NAME                      PROP_TAG( PT_TSTRING,   0x3A0F)
560 #define PR_MHS_COMMON_NAME_W                    PROP_TAG( PT_UNICODE,   0x3A0F)
561 #define PR_MHS_COMMON_NAME_A                    PROP_TAG( PT_STRING8,   0x3A0F)
562 #define PR_ORGANIZATIONAL_ID_NUMBER             PROP_TAG( PT_TSTRING,   0x3A10)
563 #define PR_ORGANIZATIONAL_ID_NUMBER_W           PROP_TAG( PT_UNICODE,   0x3A10)
564 #define PR_ORGANIZATIONAL_ID_NUMBER_A           PROP_TAG( PT_STRING8,   0x3A10)
565 #define PR_SURNAME                              PROP_TAG( PT_TSTRING,   0x3A11)
566 #define PR_SURNAME_W                            PROP_TAG( PT_UNICODE,   0x3A11)
567 #define PR_SURNAME_A                            PROP_TAG( PT_STRING8,   0x3A11)
568 #define PR_ORIGINAL_ENTRYID                     PROP_TAG( PT_BINARY,    0x3A12)
569 #define PR_ORIGINAL_DISPLAY_NAME                PROP_TAG( PT_TSTRING,   0x3A13)
570 #define PR_ORIGINAL_DISPLAY_NAME_W              PROP_TAG( PT_UNICODE,   0x3A13)
571 #define PR_ORIGINAL_DISPLAY_NAME_A              PROP_TAG( PT_STRING8,   0x3A13)
572 #define PR_ORIGINAL_SEARCH_KEY                  PROP_TAG( PT_BINARY,    0x3A14)
573 #define PR_POSTAL_ADDRESS                       PROP_TAG( PT_TSTRING,   0x3A15)
574 #define PR_POSTAL_ADDRESS_W                     PROP_TAG( PT_UNICODE,   0x3A15)
575 #define PR_POSTAL_ADDRESS_A                     PROP_TAG( PT_STRING8,   0x3A15)
576 #define PR_COMPANY_NAME                         PROP_TAG( PT_TSTRING,   0x3A16)
577 #define PR_COMPANY_NAME_W                       PROP_TAG( PT_UNICODE,   0x3A16)
578 #define PR_COMPANY_NAME_A                       PROP_TAG( PT_STRING8,   0x3A16)
579 #define PR_TITLE                                PROP_TAG( PT_TSTRING,   0x3A17)
580 #define PR_TITLE_W                              PROP_TAG( PT_UNICODE,   0x3A17)
581 #define PR_TITLE_A                              PROP_TAG( PT_STRING8,   0x3A17)
582 #define PR_DEPARTMENT_NAME                      PROP_TAG( PT_TSTRING,   0x3A18)
583 #define PR_DEPARTMENT_NAME_W                    PROP_TAG( PT_UNICODE,   0x3A18)
584 #define PR_DEPARTMENT_NAME_A                    PROP_TAG( PT_STRING8,   0x3A18)
585 #define PR_OFFICE_LOCATION                      PROP_TAG( PT_TSTRING,   0x3A19)
586 #define PR_OFFICE_LOCATION_W                    PROP_TAG( PT_UNICODE,   0x3A19)
587 #define PR_OFFICE_LOCATION_A                    PROP_TAG( PT_STRING8,   0x3A19)
588 #define PR_PRIMARY_TELEPHONE_NUMBER             PROP_TAG( PT_TSTRING,   0x3A1A)
589 #define PR_PRIMARY_TELEPHONE_NUMBER_W           PROP_TAG( PT_UNICODE,   0x3A1A)
590 #define PR_PRIMARY_TELEPHONE_NUMBER_A           PROP_TAG( PT_STRING8,   0x3A1A)
591 #define PR_BUSINESS2_TELEPHONE_NUMBER           PROP_TAG( PT_TSTRING,   0x3A1B)
592 #define PR_BUSINESS2_TELEPHONE_NUMBER_W         PROP_TAG( PT_UNICODE,   0x3A1B)
593 #define PR_BUSINESS2_TELEPHONE_NUMBER_A         PROP_TAG( PT_STRING8,   0x3A1B)
594 #define PR_OFFICE2_TELEPHONE_NUMBER             PR_BUSINESS2_TELEPHONE_NUMBER
595 #define PR_OFFICE2_TELEPHONE_NUMBER_W           PR_BUSINESS2_TELEPHONE_NUMBER_W
596 #define PR_OFFICE2_TELEPHONE_NUMBER_A           PR_BUSINESS2_TELEPHONE_NUMBER_A
597 #define PR_MOBILE_TELEPHONE_NUMBER              PROP_TAG( PT_TSTRING,   0x3A1C)
598 #define PR_MOBILE_TELEPHONE_NUMBER_W            PROP_TAG( PT_UNICODE,   0x3A1C)
599 #define PR_MOBILE_TELEPHONE_NUMBER_A            PROP_TAG( PT_STRING8,   0x3A1C)
600 #define PR_CELLULAR_TELEPHONE_NUMBER            PR_MOBILE_TELEPHONE_NUMBER
601 #define PR_CELLULAR_TELEPHONE_NUMBER_W          PR_MOBILE_TELEPHONE_NUMBER_W
602 #define PR_CELLULAR_TELEPHONE_NUMBER_A          PR_MOBILE_TELEPHONE_NUMBER_A
603 #define PR_RADIO_TELEPHONE_NUMBER               PROP_TAG( PT_TSTRING,   0x3A1D)
604 #define PR_RADIO_TELEPHONE_NUMBER_W             PROP_TAG( PT_UNICODE,   0x3A1D)
605 #define PR_RADIO_TELEPHONE_NUMBER_A             PROP_TAG( PT_STRING8,   0x3A1D)
606 #define PR_CAR_TELEPHONE_NUMBER                 PROP_TAG( PT_TSTRING,   0x3A1E)
607 #define PR_CAR_TELEPHONE_NUMBER_W               PROP_TAG( PT_UNICODE,   0x3A1E)
608 #define PR_CAR_TELEPHONE_NUMBER_A               PROP_TAG( PT_STRING8,   0x3A1E)
609 #define PR_OTHER_TELEPHONE_NUMBER               PROP_TAG( PT_TSTRING,   0x3A1F)
610 #define PR_OTHER_TELEPHONE_NUMBER_W             PROP_TAG( PT_UNICODE,   0x3A1F)
611 #define PR_OTHER_TELEPHONE_NUMBER_A             PROP_TAG( PT_STRING8,   0x3A1F)
612 #define PR_TRANSMITABLE_DISPLAY_NAME            PROP_TAG( PT_TSTRING,   0x3A20)
613 #define PR_TRANSMITABLE_DISPLAY_NAME_W          PROP_TAG( PT_UNICODE,   0x3A20)
614 #define PR_TRANSMITABLE_DISPLAY_NAME_A          PROP_TAG( PT_STRING8,   0x3A20)
615 #define PR_PAGER_TELEPHONE_NUMBER               PROP_TAG( PT_TSTRING,   0x3A21)
616 #define PR_PAGER_TELEPHONE_NUMBER_W             PROP_TAG( PT_UNICODE,   0x3A21)
617 #define PR_PAGER_TELEPHONE_NUMBER_A             PROP_TAG( PT_STRING8,   0x3A21)
618 #define PR_BEEPER_TELEPHONE_NUMBER              PR_PAGER_TELEPHONE_NUMBER
619 #define PR_BEEPER_TELEPHONE_NUMBER_W            PR_PAGER_TELEPHONE_NUMBER_W
620 #define PR_BEEPER_TELEPHONE_NUMBER_A            PR_PAGER_TELEPHONE_NUMBER_A
621 #define PR_USER_CERTIFICATE                     PROP_TAG( PT_BINARY,    0x3A22)
622 #define PR_PRIMARY_FAX_NUMBER                   PROP_TAG( PT_TSTRING,   0x3A23)
623 #define PR_PRIMARY_FAX_NUMBER_W                 PROP_TAG( PT_UNICODE,   0x3A23)
624 #define PR_PRIMARY_FAX_NUMBER_A                 PROP_TAG( PT_STRING8,   0x3A23)
625 #define PR_BUSINESS_FAX_NUMBER                  PROP_TAG( PT_TSTRING,   0x3A24)
626 #define PR_BUSINESS_FAX_NUMBER_W                PROP_TAG( PT_UNICODE,   0x3A24)
627 #define PR_BUSINESS_FAX_NUMBER_A                PROP_TAG( PT_STRING8,   0x3A24)
628 #define PR_HOME_FAX_NUMBER                      PROP_TAG( PT_TSTRING,   0x3A25)
629 #define PR_HOME_FAX_NUMBER_W                    PROP_TAG( PT_UNICODE,   0x3A25)
630 #define PR_HOME_FAX_NUMBER_A                    PROP_TAG( PT_STRING8,   0x3A25)
631 #define PR_COUNTRY                              PROP_TAG( PT_TSTRING,   0x3A26)
632 #define PR_COUNTRY_W                            PROP_TAG( PT_UNICODE,   0x3A26)
633 #define PR_COUNTRY_A                            PROP_TAG( PT_STRING8,   0x3A26)
634 #define PR_BUSINESS_ADDRESS_COUNTRY             PR_COUNTRY
635 #define PR_BUSINESS_ADDRESS_COUNTRY_W           PR_COUNTRY_W
636 #define PR_BUSINESS_ADDRESS_COUNTRY_A           PR_COUNTRY_A
637 #define PR_LOCALITY                             PROP_TAG( PT_TSTRING,   0x3A27)
638 #define PR_LOCALITY_W                           PROP_TAG( PT_UNICODE,   0x3A27)
639 #define PR_LOCALITY_A                           PROP_TAG( PT_STRING8,   0x3A27)
640 #define PR_BUSINESS_ADDRESS_CITY                PR_LOCALITY
641 #define PR_BUSINESS_ADDRESS_CITY_W              PR_LOCALITY_W
642 #define PR_BUSINESS_ADDRESS_CITY_A              PR_LOCALITY_A
643 #define PR_STATE_OR_PROVINCE                    PROP_TAG( PT_TSTRING,   0x3A28)
644 #define PR_STATE_OR_PROVINCE_W                  PROP_TAG( PT_UNICODE,   0x3A28)
645 #define PR_STATE_OR_PROVINCE_A                  PROP_TAG( PT_STRING8,   0x3A28)
646 #define PR_BUSINESS_ADDRESS_STATE_OR_PROVINCE   PR_STATE_OR_PROVINCE
647 #define PR_BUSINESS_ADDRESS_STATE_OR_PROVINCE_W PR_STATE_OR_PROVINCE_W
648 #define PR_BUSINESS_ADDRESS_STATE_OR_PROVINCE_A PR_STATE_OR_PROVINCE_A
649 #define PR_STREET_ADDRESS                       PROP_TAG( PT_TSTRING,   0x3A29)
650 #define PR_STREET_ADDRESS_W                     PROP_TAG( PT_UNICODE,   0x3A29)
651 #define PR_STREET_ADDRESS_A                     PROP_TAG( PT_STRING8,   0x3A29)
652 #define PR_BUSINESS_ADDRESS_STREET              PR_STREET_ADDRESS
653 #define PR_BUSINESS_ADDRESS_STREET_W            PR_STREET_ADDRESS_W
654 #define PR_BUSINESS_ADDRESS_STREET_A            PR_STREET_ADDRESS_A
655 #define PR_POSTAL_CODE                          PROP_TAG( PT_TSTRING,   0x3A2A)
656 #define PR_POSTAL_CODE_W                        PROP_TAG( PT_UNICODE,   0x3A2A)
657 #define PR_POSTAL_CODE_A                        PROP_TAG( PT_STRING8,   0x3A2A)
658 #define PR_BUSINESS_ADDRESS_POSTAL_CODE         PR_POSTAL_CODE
659 #define PR_BUSINESS_ADDRESS_POSTAL_CODE_W       PR_POSTAL_CODE_W
660 #define PR_BUSINESS_ADDRESS_POSTAL_CODE_A       PR_POSTAL_CODE_A
661 #define PR_POST_OFFICE_BOX                      PROP_TAG( PT_TSTRING,   0x3A2B)
662 #define PR_POST_OFFICE_BOX_W                    PROP_TAG( PT_UNICODE,   0x3A2B)
663 #define PR_POST_OFFICE_BOX_A                    PROP_TAG( PT_STRING8,   0x3A2B)
664 #define PR_BUSINESS_ADDRESS_POST_OFFICE_BOX     PR_POST_OFFICE_BOX
665 #define PR_BUSINESS_ADDRESS_POST_OFFICE_BOX_W   PR_POST_OFFICE_BOX_W
666 #define PR_BUSINESS_ADDRESS_POST_OFFICE_BOX_A   PR_POST_OFFICE_BOX_A
667 #define PR_TELEX_NUMBER                         PROP_TAG( PT_TSTRING,   0x3A2C)
668 #define PR_TELEX_NUMBER_W                       PROP_TAG( PT_UNICODE,   0x3A2C)
669 #define PR_TELEX_NUMBER_A                       PROP_TAG( PT_STRING8,   0x3A2C)
670 #define PR_ISDN_NUMBER                          PROP_TAG( PT_TSTRING,   0x3A2D)
671 #define PR_ISDN_NUMBER_W                        PROP_TAG( PT_UNICODE,   0x3A2D)
672 #define PR_ISDN_NUMBER_A                        PROP_TAG( PT_STRING8,   0x3A2D)
673 #define PR_ASSISTANT_TELEPHONE_NUMBER           PROP_TAG( PT_TSTRING,   0x3A2E)
674 #define PR_ASSISTANT_TELEPHONE_NUMBER_W         PROP_TAG( PT_UNICODE,   0x3A2E)
675 #define PR_ASSISTANT_TELEPHONE_NUMBER_A         PROP_TAG( PT_STRING8,   0x3A2E)
676 #define PR_HOME2_TELEPHONE_NUMBER               PROP_TAG( PT_TSTRING,   0x3A2F)
677 #define PR_HOME2_TELEPHONE_NUMBER_W             PROP_TAG( PT_UNICODE,   0x3A2F)
678 #define PR_HOME2_TELEPHONE_NUMBER_A             PROP_TAG( PT_STRING8,   0x3A2F)
679 #define PR_ASSISTANT                            PROP_TAG( PT_TSTRING,   0x3A30)
680 #define PR_ASSISTANT_W                          PROP_TAG( PT_UNICODE,   0x3A30)
681 #define PR_ASSISTANT_A                          PROP_TAG( PT_STRING8,   0x3A30)
682 #define PR_SEND_RICH_INFO                       PROP_TAG( PT_BOOLEAN,   0x3A40)
683 #define PR_WEDDING_ANNIVERSARY                  PROP_TAG( PT_SYSTIME,   0x3A41)
684 #define PR_BIRTHDAY                             PROP_TAG( PT_SYSTIME,   0x3A42)
685 #define PR_HOBBIES                              PROP_TAG( PT_TSTRING,   0x3A43)
686 #define PR_HOBBIES_W                            PROP_TAG( PT_UNICODE,   0x3A43)
687 #define PR_HOBBIES_A                            PROP_TAG( PT_STRING8,   0x3A43)
688 #define PR_MIDDLE_NAME                          PROP_TAG( PT_TSTRING,   0x3A44)
689 #define PR_MIDDLE_NAME_W                        PROP_TAG( PT_UNICODE,   0x3A44)
690 #define PR_MIDDLE_NAME_A                        PROP_TAG( PT_STRING8,   0x3A44)
691 #define PR_DISPLAY_NAME_PREFIX                  PROP_TAG( PT_TSTRING,   0x3A45)
692 #define PR_DISPLAY_NAME_PREFIX_W                PROP_TAG( PT_UNICODE,   0x3A45)
693 #define PR_DISPLAY_NAME_PREFIX_A                PROP_TAG( PT_STRING8,   0x3A45)
694 #define PR_PROFESSION                           PROP_TAG( PT_TSTRING,   0x3A46)
695 #define PR_PROFESSION_W                         PROP_TAG( PT_UNICODE,   0x3A46)
696 #define PR_PROFESSION_A                         PROP_TAG( PT_STRING8,   0x3A46)
697 #define PR_PREFERRED_BY_NAME                    PROP_TAG( PT_TSTRING,   0x3A47)
698 #define PR_PREFERRED_BY_NAME_W                  PROP_TAG( PT_UNICODE,   0x3A47)
699 #define PR_PREFERRED_BY_NAME_A                  PROP_TAG( PT_STRING8,   0x3A47)
700 #define PR_SPOUSE_NAME                          PROP_TAG( PT_TSTRING,   0x3A48)
701 #define PR_SPOUSE_NAME_W                        PROP_TAG( PT_UNICODE,   0x3A48)
702 #define PR_SPOUSE_NAME_A                        PROP_TAG( PT_STRING8,   0x3A48)
703 #define PR_COMPUTER_NETWORK_NAME                PROP_TAG( PT_TSTRING,   0x3A49)
704 #define PR_COMPUTER_NETWORK_NAME_W              PROP_TAG( PT_UNICODE,   0x3A49)
705 #define PR_COMPUTER_NETWORK_NAME_A              PROP_TAG( PT_STRING8,   0x3A49)
706 #define PR_CUSTOMER_ID                          PROP_TAG( PT_TSTRING,   0x3A4A)
707 #define PR_CUSTOMER_ID_W                        PROP_TAG( PT_UNICODE,   0x3A4A)
708 #define PR_CUSTOMER_ID_A                        PROP_TAG( PT_STRING8,   0x3A4A)
709 #define PR_TTYTDD_PHONE_NUMBER                  PROP_TAG( PT_TSTRING,   0x3A4B)
710 #define PR_TTYTDD_PHONE_NUMBER_W                PROP_TAG( PT_UNICODE,   0x3A4B)
711 #define PR_TTYTDD_PHONE_NUMBER_A                PROP_TAG( PT_STRING8,   0x3A4B)
712 #define PR_FTP_SITE                             PROP_TAG( PT_TSTRING,   0x3A4C)
713 #define PR_FTP_SITE_W                           PROP_TAG( PT_UNICODE,   0x3A4C)
714 #define PR_FTP_SITE_A                           PROP_TAG( PT_STRING8,   0x3A4C)
715 #define PR_GENDER                               PROP_TAG( PT_SHORT,     0x3A4D)
716 #define PR_MANAGER_NAME                         PROP_TAG( PT_TSTRING,   0x3A4E)
717 #define PR_MANAGER_NAME_W                       PROP_TAG( PT_UNICODE,   0x3A4E)
718 #define PR_MANAGER_NAME_A                       PROP_TAG( PT_STRING8,   0x3A4E)
719 #define PR_NICKNAME                             PROP_TAG( PT_TSTRING,   0x3A4F)
720 #define PR_NICKNAME_W                           PROP_TAG( PT_UNICODE,   0x3A4F)
721 #define PR_NICKNAME_A                           PROP_TAG( PT_STRING8,   0x3A4F)
722 #define PR_PERSONAL_HOME_PAGE                   PROP_TAG( PT_TSTRING,   0x3A50)
723 #define PR_PERSONAL_HOME_PAGE_W                 PROP_TAG( PT_UNICODE,   0x3A50)
724 #define PR_PERSONAL_HOME_PAGE_A                 PROP_TAG( PT_STRING8,   0x3A50)
725 #define PR_BUSINESS_HOME_PAGE                   PROP_TAG( PT_TSTRING,   0x3A51)
726 #define PR_BUSINESS_HOME_PAGE_W                 PROP_TAG( PT_UNICODE,   0x3A51)
727 #define PR_BUSINESS_HOME_PAGE_A                 PROP_TAG( PT_STRING8,   0x3A51)
728 #define PR_CONTACT_VERSION                      PROP_TAG( PT_CLSID,     0x3A52)
729 #define PR_CONTACT_ENTRYIDS                  PROP_TAG( PT_MV_BINARY,    0x3A53)
730 #define PR_CONTACT_ADDRTYPES                 PROP_TAG( PT_MV_TSTRING,   0x3A54)
731 #define PR_CONTACT_ADDRTYPES_W               PROP_TAG( PT_MV_UNICODE,   0x3A54)
732 #define PR_CONTACT_ADDRTYPES_A               PROP_TAG( PT_MV_STRING8,   0x3A54)
733 #define PR_CONTACT_DEFAULT_ADDRESS_INDEX        PROP_TAG( PT_LONG,      0x3A55)
734 #define PR_CONTACT_EMAIL_ADDRESSES           PROP_TAG( PT_MV_TSTRING,   0x3A56)
735 #define PR_CONTACT_EMAIL_ADDRESSES_W         PROP_TAG( PT_MV_UNICODE,   0x3A56)
736 #define PR_CONTACT_EMAIL_ADDRESSES_A         PROP_TAG( PT_MV_STRING8,   0x3A56)
737 #define PR_COMPANY_MAIN_PHONE_NUMBER            PROP_TAG( PT_TSTRING,   0x3A57)
738 #define PR_COMPANY_MAIN_PHONE_NUMBER_W          PROP_TAG( PT_UNICODE,   0x3A57)
739 #define PR_COMPANY_MAIN_PHONE_NUMBER_A          PROP_TAG( PT_STRING8,   0x3A57)
740 #define PR_CHILDRENS_NAMES                   PROP_TAG( PT_MV_TSTRING,   0x3A58)
741 #define PR_CHILDRENS_NAMES_W                 PROP_TAG( PT_MV_UNICODE,   0x3A58)
742 #define PR_CHILDRENS_NAMES_A                 PROP_TAG( PT_MV_STRING8,   0x3A58)
743 #define PR_HOME_ADDRESS_CITY                    PROP_TAG( PT_TSTRING,   0x3A59)
744 #define PR_HOME_ADDRESS_CITY_W                  PROP_TAG( PT_UNICODE,   0x3A59)
745 #define PR_HOME_ADDRESS_CITY_A                  PROP_TAG( PT_STRING8,   0x3A59)
746 #define PR_HOME_ADDRESS_COUNTRY                 PROP_TAG( PT_TSTRING,   0x3A5A)
747 #define PR_HOME_ADDRESS_COUNTRY_W               PROP_TAG( PT_UNICODE,   0x3A5A)
748 #define PR_HOME_ADDRESS_COUNTRY_A               PROP_TAG( PT_STRING8,   0x3A5A)
749 #define PR_HOME_ADDRESS_POSTAL_CODE             PROP_TAG( PT_TSTRING,   0x3A5B)
750 #define PR_HOME_ADDRESS_POSTAL_CODE_W           PROP_TAG( PT_UNICODE,   0x3A5B)
751 #define PR_HOME_ADDRESS_POSTAL_CODE_A           PROP_TAG( PT_STRING8,   0x3A5B)
752 #define PR_HOME_ADDRESS_STATE_OR_PROVINCE       PROP_TAG( PT_TSTRING,   0x3A5C)
753 #define PR_HOME_ADDRESS_STATE_OR_PROVINCE_W     PROP_TAG( PT_UNICODE,   0x3A5C)
754 #define PR_HOME_ADDRESS_STATE_OR_PROVINCE_A     PROP_TAG( PT_STRING8,   0x3A5C)
755 #define PR_HOME_ADDRESS_STREET                  PROP_TAG( PT_TSTRING,   0x3A5D)
756 #define PR_HOME_ADDRESS_STREET_W                PROP_TAG( PT_UNICODE,   0x3A5D)
757 #define PR_HOME_ADDRESS_STREET_A                PROP_TAG( PT_STRING8,   0x3A5D)
758 #define PR_HOME_ADDRESS_POST_OFFICE_BOX         PROP_TAG( PT_TSTRING,   0x3A5E)
759 #define PR_HOME_ADDRESS_POST_OFFICE_BOX_W       PROP_TAG( PT_UNICODE,   0x3A5E)
760 #define PR_HOME_ADDRESS_POST_OFFICE_BOX_A       PROP_TAG( PT_STRING8,   0x3A5E)
761 #define PR_OTHER_ADDRESS_CITY                   PROP_TAG( PT_TSTRING,   0x3A5F)
762 #define PR_OTHER_ADDRESS_CITY_W                 PROP_TAG( PT_UNICODE,   0x3A5F)
763 #define PR_OTHER_ADDRESS_CITY_A                 PROP_TAG( PT_STRING8,   0x3A5F)
764 #define PR_OTHER_ADDRESS_COUNTRY                PROP_TAG( PT_TSTRING,   0x3A60)
765 #define PR_OTHER_ADDRESS_COUNTRY_W              PROP_TAG( PT_UNICODE,   0x3A60)
766 #define PR_OTHER_ADDRESS_COUNTRY_A              PROP_TAG( PT_STRING8,   0x3A60)
767 #define PR_OTHER_ADDRESS_POSTAL_CODE            PROP_TAG( PT_TSTRING,   0x3A61)
768 #define PR_OTHER_ADDRESS_POSTAL_CODE_W          PROP_TAG( PT_UNICODE,   0x3A61)
769 #define PR_OTHER_ADDRESS_POSTAL_CODE_A          PROP_TAG( PT_STRING8,   0x3A61)
770 #define PR_OTHER_ADDRESS_STATE_OR_PROVINCE      PROP_TAG( PT_TSTRING,   0x3A62)
771 #define PR_OTHER_ADDRESS_STATE_OR_PROVINCE_W    PROP_TAG( PT_UNICODE,   0x3A62)
772 #define PR_OTHER_ADDRESS_STATE_OR_PROVINCE_A    PROP_TAG( PT_STRING8,   0x3A62)
773 #define PR_OTHER_ADDRESS_STREET                 PROP_TAG( PT_TSTRING,   0x3A63)
774 #define PR_OTHER_ADDRESS_STREET_W               PROP_TAG( PT_UNICODE,   0x3A63)
775 #define PR_OTHER_ADDRESS_STREET_A               PROP_TAG( PT_STRING8,   0x3A63)
776 #define PR_OTHER_ADDRESS_POST_OFFICE_BOX        PROP_TAG( PT_TSTRING,   0x3A64)
777 #define PR_OTHER_ADDRESS_POST_OFFICE_BOX_W      PROP_TAG( PT_UNICODE,   0x3A64)
778 #define PR_OTHER_ADDRESS_POST_OFFICE_BOX_A      PROP_TAG( PT_STRING8,   0x3A64)
779 #define PR_STORE_PROVIDERS                    PROP_TAG( PT_BINARY,      0x3D00)
780 #define PR_AB_PROVIDERS                       PROP_TAG( PT_BINARY,      0x3D01)
781 #define PR_TRANSPORT_PROVIDERS                PROP_TAG( PT_BINARY,      0x3D02)
782 #define PR_DEFAULT_PROFILE                    PROP_TAG( PT_BOOLEAN,     0x3D04)
783 #define PR_AB_SEARCH_PATH                     PROP_TAG( PT_MV_BINARY,   0x3D05)
784 #define PR_AB_DEFAULT_DIR                     PROP_TAG( PT_BINARY,      0x3D06)
785 #define PR_AB_DEFAULT_PAB                     PROP_TAG( PT_BINARY,      0x3D07)
786 #define PR_FILTERING_HOOKS                    PROP_TAG( PT_BINARY,      0x3D08)
787 #define PR_SERVICE_NAME                       PROP_TAG( PT_TSTRING,     0x3D09)
788 #define PR_SERVICE_NAME_W                     PROP_TAG( PT_UNICODE,     0x3D09)
789 #define PR_SERVICE_NAME_A                     PROP_TAG( PT_STRING8,     0x3D09)
790 #define PR_SERVICE_DLL_NAME                   PROP_TAG( PT_TSTRING,     0x3D0A)
791 #define PR_SERVICE_DLL_NAME_W                 PROP_TAG( PT_UNICODE,     0x3D0A)
792 #define PR_SERVICE_DLL_NAME_A                 PROP_TAG( PT_STRING8,     0x3D0A)
793 #define PR_SERVICE_ENTRY_NAME                 PROP_TAG( PT_STRING8,     0x3D0B)
794 #define PR_SERVICE_UID                        PROP_TAG( PT_BINARY,      0x3D0C)
795 #define PR_SERVICE_EXTRA_UIDS                 PROP_TAG( PT_BINARY,      0x3D0D)
796 #define PR_SERVICES                           PROP_TAG( PT_BINARY,      0x3D0E)
797 #define PR_SERVICE_SUPPORT_FILES             PROP_TAG( PT_MV_TSTRING,   0x3D0F)
798 #define PR_SERVICE_SUPPORT_FILES_W           PROP_TAG( PT_MV_UNICODE,   0x3D0F)
799 #define PR_SERVICE_SUPPORT_FILES_A           PROP_TAG( PT_MV_STRING8,   0x3D0F)
800 #define PR_SERVICE_DELETE_FILES              PROP_TAG( PT_MV_TSTRING,   0x3D10)
801 #define PR_SERVICE_DELETE_FILES_W            PROP_TAG( PT_MV_UNICODE,   0x3D10)
802 #define PR_SERVICE_DELETE_FILES_A            PROP_TAG( PT_MV_STRING8,   0x3D10)
803 #define PR_AB_SEARCH_PATH_UPDATE             PROP_TAG( PT_BINARY,       0x3D11)
804 #define PR_PROFILE_NAME                       PROP_TAG( PT_TSTRING,     0x3D12)
805 #define PR_PROFILE_NAME_A                     PROP_TAG( PT_STRING8,     0x3D12)
806 #define PR_PROFILE_NAME_W                     PROP_TAG( PT_UNICODE,     0x3D12)
807 #define PR_IDENTITY_DISPLAY                   PROP_TAG( PT_TSTRING,     0x3E00)
808 #define PR_IDENTITY_DISPLAY_W                 PROP_TAG( PT_UNICODE,     0x3E00)
809 #define PR_IDENTITY_DISPLAY_A                 PROP_TAG( PT_STRING8,     0x3E00)
810 #define PR_IDENTITY_ENTRYID                   PROP_TAG( PT_BINARY,      0x3E01)
811 #define PR_RESOURCE_METHODS                   PROP_TAG( PT_LONG,        0x3E02)
812 #define PR_RESOURCE_TYPE                      PROP_TAG( PT_LONG,        0x3E03)
813 #define PR_STATUS_CODE                        PROP_TAG( PT_LONG,        0x3E04)
814 #define PR_IDENTITY_SEARCH_KEY                PROP_TAG( PT_BINARY,      0x3E05)
815 #define PR_OWN_STORE_ENTRYID                  PROP_TAG( PT_BINARY,      0x3E06)
816 #define PR_RESOURCE_PATH                      PROP_TAG( PT_TSTRING,     0x3E07)
817 #define PR_RESOURCE_PATH_W                    PROP_TAG( PT_UNICODE,     0x3E07)
818 #define PR_RESOURCE_PATH_A                    PROP_TAG( PT_STRING8,     0x3E07)
819 #define PR_STATUS_STRING                      PROP_TAG( PT_TSTRING,     0x3E08)
820 #define PR_STATUS_STRING_W                    PROP_TAG( PT_UNICODE,     0x3E08)
821 #define PR_STATUS_STRING_A                    PROP_TAG( PT_STRING8,     0x3E08)
822 #define PR_X400_DEFERRED_DELIVERY_CANCEL      PROP_TAG( PT_BOOLEAN,     0x3E09)
823 #define PR_HEADER_FOLDER_ENTRYID              PROP_TAG( PT_BINARY,      0x3E0A)
824 #define PR_REMOTE_PROGRESS                    PROP_TAG( PT_LONG,        0x3E0B)
825 #define PR_REMOTE_PROGRESS_TEXT               PROP_TAG( PT_TSTRING,     0x3E0C)
826 #define PR_REMOTE_PROGRESS_TEXT_W             PROP_TAG( PT_UNICODE,     0x3E0C)
827 #define PR_REMOTE_PROGRESS_TEXT_A             PROP_TAG( PT_STRING8,     0x3E0C)
828 #define PR_REMOTE_VALIDATE_OK                 PROP_TAG( PT_BOOLEAN,     0x3E0D)
829 #define PR_CONTROL_FLAGS                      PROP_TAG( PT_LONG,        0x3F00)
830 #define PR_CONTROL_STRUCTURE                  PROP_TAG( PT_BINARY,      0x3F01)
831 #define PR_CONTROL_TYPE                       PROP_TAG( PT_LONG,        0x3F02)
832 #define PR_DELTAX                             PROP_TAG( PT_LONG,        0x3F03)
833 #define PR_DELTAY                             PROP_TAG( PT_LONG,        0x3F04)
834 #define PR_XPOS                               PROP_TAG( PT_LONG,        0x3F05)
835 #define PR_YPOS                               PROP_TAG( PT_LONG,        0x3F06)
836 #define PR_CONTROL_ID                         PROP_TAG( PT_BINARY,      0x3F07)
837 #define PR_INITIAL_DETAILS_PANE               PROP_TAG( PT_LONG,        0x3F08)
838
839 #define PROP_ID_SECURE_MIN                0x67F0
840 #define PROP_ID_SECURE_MAX                0x67FF
841
842 #define pidExchangeXmitReservedMin        0x3FE0
843 #define pidExchangeNonXmitReservedMin     0x65E0
844 #define pidProfileMin                     0x6600
845 #define pidStoreMin                       0x6618
846 #define pidFolderMin                      0x6638
847 #define pidMessageReadOnlyMin             0x6640
848 #define pidMessageWriteableMin            0x6658
849 #define pidAttachReadOnlyMin              0x666C
850 #define pidSpecialMin                     0x6670
851 #define pidAdminMin                       0x6690
852 #define pidSecureProfileMin               PROP_ID_SECURE_MIN
853
854 #define PR_PROFILE_VERSION           PROP_TAG( PT_LONG, pidProfileMin+0x00)
855 #define PR_PROFILE_CONFIG_FLAGS      PROP_TAG( PT_LONG, pidProfileMin+0x01)
856 #define PR_PROFILE_HOME_SERVER       PROP_TAG( PT_STRING8, pidProfileMin+0x02)
857 #define PR_PROFILE_HOME_SERVER_DN    PROP_TAG( PT_STRING8, pidProfileMin+0x12)
858 #define PR_PROFILE_HOME_SERVER_ADDRS PROP_TAG( PT_MV_STRING8, \
859                                                            pidProfileMin+0x13)
860 #define PR_PROFILE_USER              PROP_TAG( PT_STRING8, pidProfileMin+0x03)
861 #define PR_PROFILE_CONNECT_FLAGS     PROP_TAG( PT_LONG,    pidProfileMin+0x04)
862 #define PR_PROFILE_TRANSPORT_FLAGS   PROP_TAG( PT_LONG,    pidProfileMin+0x05)
863 #define PR_PROFILE_UI_STATE          PROP_TAG( PT_LONG,    pidProfileMin+0x06)
864 #define PR_PROFILE_UNRESOLVED_NAME   PROP_TAG( PT_STRING8, pidProfileMin+0x07)
865 #define PR_PROFILE_UNRESOLVED_SERVER PROP_TAG( PT_STRING8, pidProfileMin+0x08)
866 #define PR_PROFILE_BINDING_ORDER     PROP_TAG( PT_STRING8, pidProfileMin+0x09)
867 #define PR_PROFILE_MAX_RESTRICT      PROP_TAG( PT_LONG,    pidProfileMin+0x0D)
868 #define PR_PROFILE_AB_FILES_PATH     PROP_TAG( PT_STRING8, pidProfileMin+0xE)
869 #define PR_PROFILE_OFFLINE_STORE_PATH PROP_TAG( PT_STRING8,pidProfileMin+0x10)
870 #define PR_PROFILE_OFFLINE_INFO      PROP_TAG( PT_BINARY,  pidProfileMin+0x11)
871 #define PR_PROFILE_ADDR_INFO         PROP_TAG( PT_BINARY,  pidSpecialMin+0x17)
872 #define PR_PROFILE_OPTIONS_DATA      PROP_TAG( PT_BINARY,  pidSpecialMin+0x19)
873 #define PR_PROFILE_SECURE_MAILBOX    PROP_TAG( PT_BINARY, \
874                                                       pidSecureProfileMin + 0)
875 #define PR_DISABLE_WINSOCK           PROP_TAG( PT_LONG,    pidProfileMin+0x18)
876 #define PR_OST_ENCRYPTION            PROP_TAG( PT_LONG,    0x6702)
877 #define PR_PROFILE_OPEN_FLAGS        PROP_TAG( PT_LONG,    pidProfileMin+0x09)
878 #define PR_PROFILE_TYPE              PROP_TAG( PT_LONG,    pidProfileMin+0x0A)
879 #define PR_PROFILE_MAILBOX           PROP_TAG( PT_STRING8, pidProfileMin+0x0B)
880 #define PR_PROFILE_SERVER            PROP_TAG( PT_STRING8, pidProfileMin+0x0C)
881 #define PR_PROFILE_SERVER_DN         PROP_TAG( PT_STRING8, pidProfileMin+0x14)
882 #define PR_PROFILE_FAVFLD_DISPLAY_NAME PROP_TAG(PT_STRING8,pidProfileMin+0x0F)
883 #define PR_PROFILE_FAVFLD_COMMENT    PROP_TAG(PT_STRING8,  pidProfileMin+0x15)
884 #define PR_PROFILE_ALLPUB_DISPLAY_NAME PROP_TAG(PT_STRING8,pidProfileMin+0x16)
885 #define PR_PROFILE_ALLPUB_COMMENT    PROP_TAG(PT_STRING8,  pidProfileMin+0x17)
886
887 #define OSTF_NO_ENCRYPTION            0x80000000
888 #define OSTF_COMPRESSABLE_ENCRYPTION  0x40000000
889 #define OSTF_BEST_ENCRYPTION          0x20000000
890
891 #define PR_NON_IPM_SUBTREE_ENTRYID    PROP_TAG( PT_BINARY, pidStoreMin+0x08)
892 #define PR_EFORMS_REGISTRY_ENTRYID    PROP_TAG( PT_BINARY, pidStoreMin+0x09)
893 #define PR_SPLUS_FREE_BUSY_ENTRYID    PROP_TAG( PT_BINARY, pidStoreMin+0x0A)
894 #define PR_OFFLINE_ADDRBOOK_ENTRYID   PROP_TAG( PT_BINARY, pidStoreMin+0x0B)
895 #define PR_EFORMS_FOR_LOCALE_ENTRYID  PROP_TAG( PT_BINARY, pidStoreMin+0x0C)
896 #define PR_FREE_BUSY_FOR_LOCAL_SITE_ENTRYID \
897                                       PROP_TAG( PT_BINARY, pidStoreMin+0x0D)
898 #define PR_ADDRBOOK_FOR_LOCAL_SITE_ENTRYID \
899                                       PROP_TAG( PT_BINARY, pidStoreMin+0x0E)
900 #define PR_OFFLINE_MESSAGE_ENTRYID    PROP_TAG( PT_BINARY, pidStoreMin+0x0F)
901 #define PR_IPM_FAVORITES_ENTRYID      PROP_TAG( PT_BINARY, pidStoreMin+0x18)
902 #define PR_IPM_PUBLIC_FOLDERS_ENTRYID PROP_TAG( PT_BINARY, pidStoreMin+0x19)
903 #define PR_GW_MTSIN_ENTRYID           PROP_TAG( PT_BINARY, pidStoreMin+0x10)
904 #define PR_GW_MTSOUT_ENTRYID          PROP_TAG( PT_BINARY, pidStoreMin+0x11)
905 #define PR_TRANSFER_ENABLED           PROP_TAG( PT_BOOLEAN,pidStoreMin+0x12)
906 #define PR_TEST_LINE_SPEED            PROP_TAG( PT_BINARY, pidStoreMin+0x13)
907 #define PR_HIERARCHY_SYNCHRONIZER     PROP_TAG( PT_OBJECT, pidStoreMin+0x14)
908 #define PR_CONTENTS_SYNCHRONIZER      PROP_TAG( PT_OBJECT, pidStoreMin+0x15)
909 #define PR_COLLECTOR                  PROP_TAG( PT_OBJECT, pidStoreMin+0x16)
910 #define PR_FAST_TRANSFER              PROP_TAG( PT_OBJECT, pidStoreMin+0x17)
911 #define PR_STORE_OFFLINE              PROP_TAG( PT_BOOLEAN,pidStoreMin+0x1A)
912 #define PR_IN_TRANSIT                 PROP_TAG( PT_BOOLEAN,pidStoreMin)
913 #define PR_REPLICATION_STYLE          PROP_TAG( PT_LONG,   pidAdminMin)
914 #define PR_REPLICATION_SCHEDULE       PROP_TAG( PT_BINARY, pidAdminMin+0x01)
915 #define PR_REPLICATION_MESSAGE_PRIORITY PROP_TAG( PT_LONG, pidAdminMin+0x02)
916 #define PR_OVERALL_MSG_AGE_LIMIT      PROP_TAG( PT_LONG,   pidAdminMin+0x03 )
917 #define PR_REPLICATION_ALWAYS_INTERVAL PROP_TAG( PT_LONG, pidAdminMin+0x04 )
918 #define PR_REPLICATION_MSG_SIZE       PROP_TAG( PT_LONG, pidAdminMin+0x05 )
919
920
921 #define REPLICATION_MESSAGE_SIZE_LIMIT_DEFAULT  100
922
923 #define STYLE_DEFAULT                 (-1)
924 #define STYLE_NEVER                     0
925 #define STYLE_NORMAL                    1
926 #define STYLE_ALWAYS                    2
927 #define STYLE_ALWAYS_INTERVAL_DEFAULT  15
928
929 #define PR_SOURCE_KEY   PROP_TAG( PT_BINARY, pidExchangeNonXmitReservedMin+0x0)
930 #define PR_PARENT_SOURCE_KEY \
931                         PROP_TAG( PT_BINARY, pidExchangeNonXmitReservedMin+0x1)
932 #define PR_CHANGE_KEY   PROP_TAG( PT_BINARY, pidExchangeNonXmitReservedMin+0x2)
933 #define PR_PREDECESSOR_CHANGE_LIST \
934                         PROP_TAG( PT_BINARY, pidExchangeNonXmitReservedMin+0x3)
935
936 #define PR_FOLDER_CHILD_COUNT      PROP_TAG( PT_LONG,    pidFolderMin)
937 #define PR_RIGHTS                  PROP_TAG( PT_LONG,    pidFolderMin+1)
938 #define PR_HAS_RULES               PROP_TAG( PT_BOOLEAN, pidFolderMin+2)
939 #define PR_ACL_TABLE       PROP_TAG( PT_OBJECT, pidExchangeXmitReservedMin)
940 #define PR_RULES_TABLE     PROP_TAG( PT_OBJECT, pidExchangeXmitReservedMin+1)
941 #define PR_ADDRESS_BOOK_ENTRYID    PROP_TAG( PT_BINARY, pidFolderMin+0x03)
942 #define PR_ACL_DATA        PROP_TAG( PT_BINARY, pidExchangeXmitReservedMin)
943 #define PR_RULES_DATA      PROP_TAG( PT_BINARY, pidExchangeXmitReservedMin+0x1)
944 #define PR_FOLDER_DESIGN_FLAGS  \
945                              PROP_TAG( PT_LONG, pidExchangeXmitReservedMin+0x2)
946 #define PR_DESIGN_IN_PROGRESS \
947                           PROP_TAG( PT_BOOLEAN, pidExchangeXmitReservedMin+0x4)
948 #define PR_SECURE_ORIGINATION \
949                           PROP_TAG( PT_BOOLEAN, pidExchangeXmitReservedMin+0x5)
950 #define PR_PUBLISH_IN_ADDRESS_BOOK \
951                           PROP_TAG( PT_BOOLEAN, pidExchangeXmitReservedMin+0x6)
952 #define PR_RESOLVE_METHOD PROP_TAG( PT_LONG,    pidExchangeXmitReservedMin+0x7)
953 #define PR_ADDRESS_BOOK_DISPLAY_NAME \
954                           PROP_TAG( PT_TSTRING, pidExchangeXmitReservedMin+0x8)
955 #define PR_EFORMS_LOCALE_ID  PROP_TAG( PT_LONG, pidExchangeXmitReservedMin+0x9)
956 #define PR_REPLICA_LIST         PROP_TAG( PT_BINARY, pidAdminMin+0x8)
957 #define PR_OVERALL_AGE_LIMIT    PROP_TAG( PT_LONG,   pidAdminMin+0x9)
958
959 #define RESOLVE_METHOD_DEFAULT                  0
960 #define RESOLVE_METHOD_LAST_WRITER_WINS         1
961 #define RESOLVE_METHOD_NO_CONFLICT_NOTIFICATION 2
962
963 #define PR_PUBLIC_FOLDER_ENTRYID   PROP_TAG( PT_BINARY, pidFolderMin+0x04)
964 #define PR_HAS_NAMED_PROPERTIES  \
965                           PROP_TAG(PT_BOOLEAN, pidMessageReadOnlyMin+0x0A)
966 #define PR_CREATOR_NAME          \
967                           PROP_TAG(PT_TSTRING, pidExchangeXmitReservedMin+0x18)
968 #define PR_CREATOR_ENTRYID       \
969                           PROP_TAG(PT_BINARY, pidExchangeXmitReservedMin+0x19)
970 #define PR_LAST_MODIFIER_NAME    \
971                           PROP_TAG(PT_TSTRING, pidExchangeXmitReservedMin+0x1A)
972 #define PR_LAST_MODIFIER_ENTRYID \
973                           PROP_TAG(PT_BINARY, pidExchangeXmitReservedMin+0x1B)
974 #define PR_HAS_DAMS              \
975                           PROP_TAG( PT_BOOLEAN, pidExchangeXmitReservedMin+0xA)
976 #define PR_RULE_TRIGGER_HISTORY  \
977                           PROP_TAG( PT_BINARY, pidExchangeXmitReservedMin+0x12)
978 #define PR_MOVE_TO_STORE_ENTRYID \
979                           PROP_TAG( PT_BINARY, pidExchangeXmitReservedMin+0x13)
980 #define PR_MOVE_TO_FOLDER_ENTRYID \
981                           PROP_TAG( PT_BINARY, pidExchangeXmitReservedMin+0x14)
982 #define PR_REPLICA_SERVER        \
983                             PROP_TAG(PT_TSTRING, pidMessageReadOnlyMin+0x4)
984 #define PR_DEFERRED_SEND_NUMBER  \
985                             PROP_TAG( PT_LONG, pidExchangeXmitReservedMin+0xB)
986 #define PR_DEFERRED_SEND_UNITS   \
987                             PROP_TAG( PT_LONG, pidExchangeXmitReservedMin+0xC)
988 #define PR_EXPIRY_NUMBER         \
989                             PROP_TAG( PT_LONG, pidExchangeXmitReservedMin+0xD)
990 #define PR_EXPIRY_UNITS          \
991                             PROP_TAG( PT_LONG, pidExchangeXmitReservedMin+0xE)
992 #define PR_DEFERRED_SEND_TIME    \
993                          PROP_TAG( PT_SYSTIME, pidExchangeXmitReservedMin+0xF)
994 #define PR_GW_ADMIN_OPERATIONS   PROP_TAG( PT_LONG, pidMessageWriteableMin)
995 #define PR_P1_CONTENT            PROP_TAG( PT_BINARY, 0x1100)
996 #define PR_P1_CONTENT_TYPE       PROP_TAG( PT_BINARY, 0x1101)
997 #define PR_CLIENT_ACTIONS        PROP_TAG(PT_BINARY, pidMessageReadOnlyMin+0x5)
998 #define PR_DAM_ORIGINAL_ENTRYID  PROP_TAG(PT_BINARY, pidMessageReadOnlyMin+0x6)
999 #define PR_DAM_BACK_PATCHED     PROP_TAG(PT_BOOLEAN, pidMessageReadOnlyMin+0x7)
1000 #define PR_RULE_ERROR           PROP_TAG(PT_LONG,    pidMessageReadOnlyMin+0x8)
1001 #define PR_RULE_ACTION_TYPE     PROP_TAG(PT_LONG,    pidMessageReadOnlyMin+0x9)
1002 #define PR_RULE_ACTION_NUMBER   PROP_TAG(PT_LONG,   pidMessageReadOnlyMin+0x10)
1003 #define PR_RULE_FOLDER_ENTRYID  PROP_TAG(PT_BINARY, pidMessageReadOnlyMin+0x11)
1004 #define PR_CONFLICT_ENTRYID  \
1005                            PROP_TAG(PT_BINARY, pidExchangeXmitReservedMin+0x10)
1006 #define PR_MESSAGE_LOCALE_ID \
1007                              PROP_TAG(PT_LONG, pidExchangeXmitReservedMin+0x11)
1008 #define PR_STORAGE_QUOTA_LIMIT \
1009                              PROP_TAG(PT_LONG, pidExchangeXmitReservedMin+0x15)
1010 #define PR_EXCESS_STORAGE_USED \
1011                              PROP_TAG(PT_LONG, pidExchangeXmitReservedMin+0x16)
1012 #define PR_SVR_GENERATING_QUOTA_MSG \
1013                           PROP_TAG(PT_TSTRING, pidExchangeXmitReservedMin+0x17)
1014 #define PR_DELEGATED_BY_RULE \
1015                           PROP_TAG( PT_BOOLEAN, pidExchangeXmitReservedMin+0x3)
1016
1017 #define MSGSTATUS_IN_CONFLICT      0x800
1018
1019 #define PR_IN_CONFLICT             PROP_TAG(PT_BOOLEAN, pidAttachReadOnlyMin)
1020 #define PR_LONGTERM_ENTRYID_FROM_TABLE  PROP_TAG(PT_BINARY, pidSpecialMin)
1021 #define PR_ORIGINATOR_NAME    PROP_TAG( PT_TSTRING, pidMessageWriteableMin+0x3)
1022 #define PR_ORIGINATOR_ADDR    PROP_TAG( PT_TSTRING, pidMessageWriteableMin+0x4)
1023 #define PR_ORIGINATOR_ADDRTYPE \
1024                               PROP_TAG( PT_TSTRING, pidMessageWriteableMin+0x5)
1025 #define PR_ORIGINATOR_ENTRYID PROP_TAG( PT_BINARY, pidMessageWriteableMin+0x6)
1026 #define PR_ARRIVAL_TIME       PROP_TAG( PT_SYSTIME, pidMessageWriteableMin+0x7)
1027 #define PR_TRACE_INFO         PROP_TAG( PT_BINARY, pidMessageWriteableMin+0x8)
1028 #define PR_INTERNAL_TRACE_INFO \
1029                               PROP_TAG( PT_BINARY, pidMessageWriteableMin+0x12)
1030 #define PR_SUBJECT_TRACE_INFO PROP_TAG( PT_BINARY, pidMessageWriteableMin+0x9)
1031 #define PR_RECIPIENT_NUMBER   PROP_TAG( PT_LONG, pidMessageWriteableMin+0xA)
1032 #define PR_MTS_SUBJECT_ID     PROP_TAG(PT_BINARY, pidMessageWriteableMin+0xB)
1033 #define PR_REPORT_DESTINATION_NAME \
1034                               PROP_TAG(PT_TSTRING, pidMessageWriteableMin+0xC)
1035 #define PR_REPORT_DESTINATION_ENTRYID \
1036                               PROP_TAG(PT_BINARY, pidMessageWriteableMin+0xD)
1037 #define PR_CONTENT_SEARCH_KEY PROP_TAG(PT_BINARY, pidMessageWriteableMin+0xE)
1038 #define PR_FOREIGN_ID         PROP_TAG(PT_BINARY, pidMessageWriteableMin+0xF)
1039 #define PR_FOREIGN_REPORT_ID  PROP_TAG(PT_BINARY, pidMessageWriteableMin+0x10)
1040 #define PR_FOREIGN_SUBJECT_ID PROP_TAG(PT_BINARY, pidMessageWriteableMin+0x11)
1041
1042 #define PR_MTS_ID             PR_MESSAGE_SUBMISSION_ID
1043 #define PR_MTS_REPORT_ID      PR_MESSAGE_SUBMISSION_ID
1044
1045 #define PR_FOLDER_FLAGS                  PROP_TAG( PT_LONG, pidAdminMin+0x18 )
1046 #define PR_LAST_ACCESS_TIME              PROP_TAG( PT_SYSTIME,pidAdminMin+0x19)
1047 #define PR_RESTRICTION_COUNT             PROP_TAG( PT_LONG, pidAdminMin+0x1A )
1048 #define PR_CATEG_COUNT                   PROP_TAG( PT_LONG, pidAdminMin+0x1B )
1049 #define PR_CACHED_COLUMN_COUNT           PROP_TAG( PT_LONG, pidAdminMin+0x1C )
1050 #define PR_NORMAL_MSG_W_ATTACH_COUNT     PROP_TAG( PT_LONG, pidAdminMin+0x1D )
1051 #define PR_ASSOC_MSG_W_ATTACH_COUNT      PROP_TAG( PT_LONG, pidAdminMin+0x1E )
1052 #define PR_RECIPIENT_ON_NORMAL_MSG_COUNT PROP_TAG( PT_LONG, pidAdminMin+0x1F )
1053 #define PR_RECIPIENT_ON_ASSOC_MSG_COUNT  PROP_TAG( PT_LONG, pidAdminMin+0x20 )
1054 #define PR_ATTACH_ON_NORMAL_MSG_COUNT    PROP_TAG( PT_LONG, pidAdminMin+0x21 )
1055 #define PR_ATTACH_ON_ASSOC_MSG_COUNT     PROP_TAG( PT_LONG, pidAdminMin+0x22 )
1056 #define PR_NORMAL_MESSAGE_SIZE           PROP_TAG( PT_LONG, pidAdminMin+0x23 )
1057 #define PR_NORMAL_MESSAGE_SIZE_EXTENDED  PROP_TAG( PT_I8, pidAdminMin+0x23 )
1058 #define PR_ASSOC_MESSAGE_SIZE            PROP_TAG( PT_LONG, pidAdminMin+0x24 )
1059 #define PR_ASSOC_MESSAGE_SIZE_EXTENDED   PROP_TAG( PT_I8, pidAdminMin+0x24 )
1060 #define PR_FOLDER_PATHNAME             PROP_TAG(PT_TSTRING, pidAdminMin+0x25 )
1061 #define PR_OWNER_COUNT                 PROP_TAG( PT_LONG, pidAdminMin+0x26 )
1062 #define PR_CONTACT_COUNT               PROP_TAG( PT_LONG, pidAdminMin+0x27 )
1063
1064 #define PR_MESSAGE_SIZE_EXTENDED   PROP_TAG(PT_I8, PROP_ID(PR_MESSAGE_SIZE))
1065
1066 #endif /*MAPITAGS_H*/