namedprops.h 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. /*
  2. * Copyright 2005 - 2016 Zarafa and its licensors
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU Affero General Public License, version 3,
  6. * as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU Affero General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU Affero General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. *
  16. */
  17. #ifndef NAMEDPROPS_H
  18. #define NAMEDPROPS_H
  19. //MNID_ID properties:
  20. // In PSETID_Address
  21. #define dispidFileAs 0x8005 //PT_STRING8
  22. #define dispidFileAsSelection 0x8006 //PT_LONG
  23. #define dispidHomeAddress 0x801A //PT_STRING8
  24. #define dispidBusinessAddress 0x801B //PT_STRING8
  25. #define dispidOtherAddress 0x801C //PT_STRING8
  26. #define dispidSelectedMailingAddress 0x8022 //PT_LONG
  27. #define dispidJournal 0x8025 //PT_BOOLEAN
  28. #define dispidABPEmailList 0x8028 //PT_MV_LONG
  29. #define dispidABPArrayType 0x8029 //PT_LONG
  30. #define dispidWebPage 0x802B //PT_STRING8
  31. #define dispidWorkAddressStreet 0x8045 //PT_STRING8
  32. #define dispidWorkAddressCity 0x8046 //PT_STRING8
  33. #define dispidWorkAddressState 0x8047 //PT_STRING8
  34. #define dispidWorkAddressPostalCode 0x8048 //PT_STRING8
  35. #define dispidWorkAddressCountry 0x8049 //PT_STRING8
  36. #define dispidCheckSum 0x804C //PT_LONG
  37. #define dispidDLName 0x8053 //PT_STRING8
  38. #define dispidOneOffMembers 0x8054 //PT_MV_BINARY
  39. #define dispidMembers 0x8055 //PT_MV_BINARY
  40. #define dispidInstMsg 0x8062 //PT_STRING8
  41. #define dispidEmail1DisplayName 0x8080 //PT_STRING8
  42. #define dispidEmail1AddressType 0x8082 //PT_STRING8
  43. #define dispidEmail1Address 0x8083 //PT_STRING8
  44. #define dispidEmail1OriginalDisplayName 0x8084 //PT_STRING8
  45. #define dispidEmail1OriginalEntryID 0x8085 //PT_BINARY
  46. #define dispidEmail2DisplayName 0x8090 //PT_STRING8
  47. #define dispidEmail2AddressType 0x8092 //PT_STRING8
  48. #define dispidEmail2Address 0x8093 //PT_STRING8
  49. #define dispidEmail2OriginalDisplayName 0x8094 //PT_STRING8
  50. #define dispidEmail2OriginalEntryID 0x8095 //PT_BINARY
  51. #define dispidEmail3DisplayName 0x80A0 //PT_STRING8
  52. #define dispidEmail3AddressType 0x80A2 //PT_STRING8
  53. #define dispidEmail3Address 0x80A3 //PT_STRING8
  54. #define dispidEmail3OriginalDisplayName 0x80A4 //PT_STRING8
  55. #define dispidEmail3OriginalEntryID 0x80A5 //PT_BINARY
  56. #define dispidFax1DisplayName 0x80B0 //PT_STRING8
  57. #define dispidFax1AddressType 0x80B2 //PT_STRING8
  58. #define dispidFax1Address 0x80B3 //PT_STRING8
  59. #define dispidFax1OriginalDisplayName 0x80B4 //PT_STRING8
  60. #define dispidFax1OriginalEntryID 0x80B5 //PT_BINARY
  61. #define dispidFax2DisplayName 0x80C0 //PT_STRING8
  62. #define dispidFax2AddressType 0x80C2 //PT_STRING8
  63. #define dispidFax2Address 0x80C3 //PT_STRING8
  64. #define dispidFax2OriginalDisplayName 0x80C4 //PT_STRING8
  65. #define dispidFax2OriginalEntryID 0x80C5 //PT_BINARY
  66. #define dispidFax3DisplayName 0x80D0 //PT_STRING8
  67. #define dispidFax3AddressType 0x80D2 //PT_STRING8
  68. #define dispidFax3Address 0x80D3 //PT_STRING8
  69. #define dispidFax3OriginalDisplayName 0x80D4 //PT_STRING8
  70. #define dispidFax3OriginalEntryID 0x80D5 //PT_BINARY
  71. #define dispidInternetFreeBusyAddress 0x80D8 //PT_STRING8
  72. // In PSETID_Task
  73. #define dispidTaskStatus 0x8101 //PT_LONG
  74. #define dispidTaskPercentComplete 0x8102 //PT_DOUBLE
  75. #define dispidTaskTeamTask 0x8103 //PT_BOOLEAN
  76. #define dispidTaskStartDate 0x8104 //PT_SYSTIME
  77. #define dispidTaskDueDate 0x8105 //PT_SYSTIME
  78. #define dispidTaskDateCompleted 0x810f //PT_SYSTIME
  79. #define dispidTaskActualEffort 0x8110 //PT_LONG
  80. #define dispidTaskEstimatedEffort 0x8111 //PT_LONG
  81. #define dispidTaskState 0x8113 //PT_LONG
  82. #define dispidTaskRecurrenceState 0x8116 //PT_BINARY
  83. #define dispidTaskComplete 0x811c //PT_BOOLEAN
  84. #define dispidTaskOwner 0x811f //PT_STRING8
  85. #define dispidTaskDelegator 0x8121 //PT_STRING8
  86. #define dispidTaskOrdinal 0x8123 //PT_LONG
  87. #define dispidTaskIsRecurring 0x8126 //PT_BOOLEAN
  88. #define dispidTaskRole 0x8127 //PT_STRING8
  89. #define dispidTaskOwnership 0x8129 //PT_LONG
  90. #define dispidTaskDelegationState 0x812A //PT_LONG
  91. // In PSETID_Appointment
  92. #define dispidSendAsICAL 0x8200 //PT_BOOLEAN
  93. #define dispidAppointmentSequenceNumber 0x8201 //PT_LONG
  94. #define dispidApptSeqTime 0x8202 //PT_SYSTIME
  95. #define dispidBusyStatus 0x8205 //PT_LONG
  96. #define dispidApptAuxFlags 0x8207 //PT_LONG
  97. #define dispidLocation 0x8208 //PT_STRING8
  98. #define dispidApptStartWhole 0x820D //PT_SYSTIME
  99. #define dispidApptEndWhole 0x820E //PT_SYSTIME
  100. #define dispidApptDuration 0x8213 //PT_LONG
  101. #define dispidLabel 0x8214 //PT_LONG
  102. #define dispidAllDayEvent 0x8215 //PT_BOOLEAN - official name dispidApptSubType
  103. #define dispidRecurrenceState 0x8216 //PT_BINARY
  104. #define dispidAppointmentStateFlags 0x8217 //PT_LONG - aka PidLidAppointmentStateFlags
  105. #define dispidResponseStatus 0x8218 //PT_LONG
  106. #define dispidRecurring 0x8223 //PT_BOOLEAN
  107. #define dispidIntendedBusyStatus 0x8224 //PT_LONG
  108. #define dispidRecurringBase 0x8228 //PT_SYSTIME
  109. #define dispidRequestSent 0x8229 //PT_BOOLEAN
  110. #define dispidApptReplyName 0x8230 //PT_STRING8
  111. #define dispidRecurrenceType 0x8231 //PT_LONG
  112. #define dispidRecurrencePattern 0x8232 //PT_STRING8
  113. #define dispidTimeZoneData 0x8233 //PT_BINARY - official name dispidTimeZoneStruct
  114. #define dispidTimeZone 0x8234 //PT_STRING8
  115. #define dispidClipStart 0x8235 //PT_SYSTIME
  116. #define dispidClipEnd 0x8236 //PT_SYSTIME
  117. #define dispidAllAttendeesString 0x8238 //PT_STRING8
  118. #define dispidToAttendeesString 0x823B //PT_STRING8
  119. #define dispidCCAttendeesString 0x823C //PT_STRING8
  120. #define dispidNetMeetingType 0x8241 //PT_LONG
  121. #define dispidNetMeetingServer 0x8242 //PT_STRING8
  122. #define dispidNetMeetingOrganizerAlias 0x8243 //PT_STRING8
  123. #define dispidNetMeetingAutoStart 0x8244 //PT_BOOLEAN
  124. #define dispidAutoStartWhen 0x8245 //PT_LONG
  125. #define dispidConferenceServerAllowExternal 0x8246 //PT_BOOLEAN
  126. #define dispidNetMeetingDocPathName 0x8247 //PT_STRING8
  127. #define dispidNetShowURL 0x8248 //PT_STRING8
  128. #define dispidConferenceServerPassword 0x8249 //PT_STRING8
  129. // A counter proposal is when the recipient of the request has proposed a new time for the meeting
  130. #define dispidApptCounterProposal 0x8257 //PT_BOOLEAN
  131. #define dispidApptProposedStartWhole 0x8250 //PT_SYSTIME
  132. #define dispidApptProposedEndWhole 0x8251 //PT_SYSTIME
  133. #define dispidApptReplyTime 0x8220 //PT_SYSTIME
  134. #define dispidFExceptionalBody 0x8206 //PT_BOOLEAN
  135. #define dispidFExceptionalAttendees 0x822B //PT_BOOLEAN
  136. #define dispidOrgMsgId 0x8251 //PT_BINARY
  137. #define dispidZmtVersion 0x8252 //PT_STRING8
  138. // New in OLK 2007
  139. #define dispidApptTZDefStartDisplay 0x825E
  140. #define dispidApptTZDefEndDisplay 0x825F
  141. #define dispidApptTZDefRecur 0x8260
  142. // In PSETID_Meeting
  143. #define dispidMeetingLocation 0x0002 //PT_STRING8 - aka PidLidWhere
  144. #define dispidGlobalObjectID 0x0003 //PT_BINARY
  145. #define dispidIsRecurring 0x0005 //PT_BOOLEAN
  146. #define dispidCleanGlobalObjectID 0x0023 //PT_BINARY
  147. #define dispidMeetingMessageClass 0x0024 //PT_STRING8
  148. #define dispidAttendeeCriticalChange 0x1 //PT_SYSTIME
  149. #define dispidOwnerCriticalChange 0x1a //PT_SYSTIME
  150. #define dispidOldWhenStartWhole 0x0029 //PT_SYSTIME
  151. #define dispidIsException 0x000A //PT_BOOLEAN
  152. #define dispidStartRecurrenceDate 0x000D //PT_LONG
  153. #define dispidStartRecurrenceTime 0x000E //PT_LONG
  154. #define dispidEndRecurrenceDate 0x000F //PT_LONG
  155. #define dispidEndRecurrenceTime 0x0010 //PT_LONG
  156. #define dispidDayInterval 0x0011 //PT_I2
  157. #define dispidWeekInterval 0x0012 //PT_I2
  158. #define dispidMonthInterval 0x0013 //PT_I2
  159. #define dispidYearInterval 0x0014 //PT_I2
  160. #define dispidDayOfWeekMask 0x0015 //PT_LONG
  161. #define dispidDayOfMonthMask 0x0016 //PT_LONG
  162. #define dispidMonthOfYearMask 0x0017 //PT_LONG
  163. #define dispidOldRecurrenceType 0x0018 //PT_I2
  164. #define dispidDayOfWeekStart 0x0019 //PT_I2
  165. #define dispidMeetingType 0x0026 //PT_LONG - aka PidLidMeetingType
  166. //In PSETID_Kopano_CalDav
  167. #define dispidMozLastAck 0x0001 //PT_SYSTIME X-MOZ-LAST-ACK
  168. #define dispidMozGen 0x0002 //PT_LONG X-MOZ-GENERATION
  169. #define dispidMozSnoozeSuffixTime 0x0003 //PT_SYSTIME X-MOZ-SNOOZE-TIME suffix
  170. #define dispidMozSendInvite 0x0004 //PT_BOOLEAN X-MOZ-SEND-INVITATIONS
  171. #define dispidApptTsRef 0x0025 //PT_STRING8 Timestamp used as ID by Caldav
  172. #define dispidFldID 0x0026 //PT_STRING8 FolderID used by Caldav
  173. // In PSETID_Common
  174. #define dispidReminderMinutesBeforeStart 0x8501 //PT_LONG
  175. #define dispidReminderTime 0x8502 //PT_SYSTIME
  176. #define dispidReminderSet 0x8503 //PT_BOOLEAN
  177. #define dispidPrivate 0x8506 //PT_BOOLEAN
  178. #define dispidNoAging 0x850E //PT_BOOLEAN
  179. #define dispidFormStorage 0x850F
  180. #define dispidSideEffect 0x8510 //PT_LONG
  181. #define dispidRemoteStatus 0x8511 //PT_LONG
  182. #define dispidPageDirStream 0x8513
  183. #define dispidSmartNoAttach 0x8514 //PT_BOOLEAN
  184. #define dispidCommonStart 0x8516 //PT_SYSTIME
  185. #define dispidCommonEnd 0x8517 //PT_SYSTIME
  186. //On Appointments needed for deleting an occurrence of a recurring item in outlook
  187. //On Tasks is set to 1 on the send/assigned tasks, otherwise set to 0.
  188. #define dispidCommonAssign 0x8518 //PT_LONG
  189. #define dispidFormPropStream 0x851B
  190. #define dispidRequest 0x8530
  191. #define dispidCompanies 0x8539
  192. #define dispidPropDefStream 0x8540
  193. #define dispidScriptStream 0x8541
  194. #define dispidCustomFlag 0x8542
  195. #define dispidContacts 0x853A
  196. #define dispidOutlookInternalVersion 0x8552 //PT_LONG
  197. #define dispidOutlookVersion 0x8554 //PT_STRING8
  198. #define dispidReminderNextTime 0x8560
  199. #define dispidHeaderItem 0x8578
  200. #define dispidInetAcctName 0x8580
  201. #define dispidInetAcctStamp 0x8581
  202. // In PSETID_Log (also known as Journal)
  203. #define dispidLogType 0x8700
  204. #define dispidLogStart 0x8706
  205. #define dispidLogDuration 0x8707
  206. #define dispidLogEnd 0x8708
  207. // Values for dispidSideEffect, from [MS-OXCMSG].pdf, par 2.2.1.1.6
  208. // Additional processing is required on the Message object when deleting.
  209. #define seOpenToDelete 0x0001
  210. // No UI is associated with the Message object.
  211. #define seNoFrame 0x0008
  212. // Additional processing is required on the Message object when moving
  213. // or copying to a Folder object with a PidTagContainerClass of
  214. // "IPF.Note". For more details about the PidTagContainerClass property,
  215. // see [MS-OXOSFLD] section 2.2.5.
  216. #define seCoerceToInbox 0x0010
  217. // Additional processing is required on the Message object when
  218. // copying to another folder.
  219. #define seOpenToCopy 0x0020
  220. // Additional processing is required on the Message object when moving
  221. // to another folder.
  222. #define seOpenToMove 0x0040
  223. // Additional processing is required on the Message object when
  224. // displaying verbs to the end-user.
  225. #define seOpenForCtxMenu 0x0100
  226. // Cannot undo delete operation, MUST NOT be set unless "0x0001" is set.
  227. #define seCannotUndoDelete 0x0400
  228. // Cannot undo copy operation, MUST NOT be set unless "0x0020" is set.
  229. #define seCannotUndoCopy 0x0800
  230. // Cannot undo move operation, MUST NOT be set unless "0x0040" is set.
  231. #define seCannotUndoMove 0x1000
  232. // The Message object contains end-user script.
  233. #define seHasScript 0x2000
  234. // Additional processing is required to permanently delete the Message object.
  235. #define seOpenToPermDelete 0x4000
  236. /**
  237. * Values for PidLidResponseStatus
  238. */
  239. // No response is required for this object. This is the case for
  240. // Appointment objects and Meeting Response objects.
  241. #define respNone 0x00000000
  242. // This Meeting object belongs to the organizer.
  243. #define respOrganized 0x00000001
  244. // This value on the attendee's Meeting object indicates that the
  245. // attendee has tentatively accepted the Meeting Request object.
  246. #define respTentative 0x00000002
  247. // This value on the attendee's Meeting object indicates that the
  248. // attendee has accepted the Meeting Request object.
  249. #define respAccepted 0x00000003
  250. // This value on the attendee's Meeting object indicates that the
  251. // attendee has declined the Meeting Request object.
  252. #define respDeclined 0x00000004
  253. // This value on the attendee's Meeting object indicates that the
  254. // attendee has not yet responded. This value is on the Meeting Request
  255. // object, Meeting Update object, and Meeting Cancellation object.
  256. #define respNotResponded 0x00000005
  257. /* PS_EC_IMAP named PropTags */
  258. #define dispidIMAPEnvelope 0x0001
  259. #endif