mapitags.pas

来自「Drag files and Drop to delphi forms 0402」· PAS 代码 · 共 1,560 行 · 第 1/5 页

PAS
1,560
字号
const PR_SENDER_ADDRTYPE_W                         = 
   (PT_UNICODE) or (($0C1E) shl 16);
const PR_SENDER_ADDRTYPE_A                         = 
   (PT_STRING8) or (($0C1E) shl 16);
const PR_SENDER_EMAIL_ADDRESS                      = 
   (PT_TSTRING) or (($0C1F) shl 16);
const PR_SENDER_EMAIL_ADDRESS_W                    = 
   (PT_UNICODE) or (($0C1F) shl 16);
const PR_SENDER_EMAIL_ADDRESS_A                    = 
   (PT_STRING8) or (($0C1F) shl 16);

(*
 *  Message non-transmittable properties
 *)

(*
 * The two tags, PR_MESSAGE_RECIPIENTS and PR_MESSAGE_ATTACHMENTS,
 * are to be used in the exclude list passed to
 * IMessage::CopyTo when the caller wants either the recipients or attachments
 * of the message to not get copied.  It is also used in the ProblemArray
 * return from IMessage::CopyTo when an error is encountered copying them
 *)

const PR_CURRENT_VERSION                           = 
   (PT_I8) or (($0E00) shl 16);
const PR_DELETE_AFTER_SUBMIT                       = 
   (PT_BOOLEAN) or (($0E01) shl 16);
const PR_DISPLAY_BCC                               = 
   (PT_TSTRING) or (($0E02) shl 16);
const PR_DISPLAY_BCC_W                             = 
   (PT_UNICODE) or (($0E02) shl 16);
const PR_DISPLAY_BCC_A                             = 
   (PT_STRING8) or (($0E02) shl 16);
const PR_DISPLAY_CC                                = 
   (PT_TSTRING) or (($0E03) shl 16);
const PR_DISPLAY_CC_W                              = 
   (PT_UNICODE) or (($0E03) shl 16);
const PR_DISPLAY_CC_A                              = 
   (PT_STRING8) or (($0E03) shl 16);
const PR_DISPLAY_TO                                = 
   (PT_TSTRING) or (($0E04) shl 16);
const PR_DISPLAY_TO_W                              = 
   (PT_UNICODE) or (($0E04) shl 16);
const PR_DISPLAY_TO_A                              = 
   (PT_STRING8) or (($0E04) shl 16);
const PR_PARENT_DISPLAY                            = 
   (PT_TSTRING) or (($0E05) shl 16);
const PR_PARENT_DISPLAY_W                          = 
   (PT_UNICODE) or (($0E05) shl 16);
const PR_PARENT_DISPLAY_A                          = 
   (PT_STRING8) or (($0E05) shl 16);
const PR_MESSAGE_DELIVERY_TIME                     = 
   (PT_SYSTIME) or (($0E06) shl 16);
const PR_MESSAGE_FLAGS                             = 
   (PT_LONG) or (($0E07) shl 16);
const PR_MESSAGE_SIZE                              = 
   (PT_LONG) or (($0E08) shl 16);
const PR_PARENT_ENTRYID                            = 
   (PT_BINARY) or (($0E09) shl 16);
const PR_SENTMAIL_ENTRYID                          = 
   (PT_BINARY) or (($0E0A) shl 16);
const PR_CORRELATE                                 = 
   (PT_BOOLEAN) or (($0E0C) shl 16);
const PR_CORRELATE_MTSID                           = 
   (PT_BINARY) or (($0E0D) shl 16);
const PR_DISCRETE_VALUES                           = 
   (PT_BOOLEAN) or (($0E0E) shl 16);
const PR_RESPONSIBILITY                            = 
   (PT_BOOLEAN) or (($0E0F) shl 16);
const PR_SPOOLER_STATUS                            = 
   (PT_LONG) or (($0E10) shl 16);
const PR_TRANSPORT_STATUS                          = 
   (PT_LONG) or (($0E11) shl 16);
const PR_MESSAGE_RECIPIENTS                        = 
   (PT_OBJECT) or (($0E12) shl 16);
const PR_MESSAGE_ATTACHMENTS                       = 
   (PT_OBJECT) or (($0E13) shl 16);
const PR_SUBMIT_FLAGS                              = 
   (PT_LONG) or (($0E14) shl 16);
const PR_RECIPIENT_STATUS                          = 
   (PT_LONG) or (($0E15) shl 16);
const PR_TRANSPORT_KEY                             = 
   (PT_LONG) or (($0E16) shl 16);
const PR_MSG_STATUS                                = 
   (PT_LONG) or (($0E17) shl 16);
const PR_MESSAGE_DOWNLOAD_TIME                     = 
   (PT_LONG) or (($0E18) shl 16);
const PR_CREATION_VERSION                          = 
   (PT_I8) or (($0E19) shl 16);
const PR_MODIFY_VERSION                            = 
   (PT_I8) or (($0E1A) shl 16);
const PR_HASATTACH                                 =
   (PT_BOOLEAN) or (($0E1B) shl 16);
const PR_BODY_CRC                                  = 
   (PT_LONG) or (($0E1C) shl 16);
const PR_NORMALIZED_SUBJECT                        = 
   (PT_TSTRING) or (($0E1D) shl 16);
const PR_NORMALIZED_SUBJECT_W                      = 
   (PT_UNICODE) or (($0E1D) shl 16);
const PR_NORMALIZED_SUBJECT_A                      = 
   (PT_STRING8) or (($0E1D) shl 16);
const PR_RTF_IN_SYNC                               = 
   (PT_BOOLEAN) or (($0E1F) shl 16);
const PR_ATTACH_SIZE                               = 
   (PT_LONG) or (($0E20) shl 16);
const PR_ATTACH_NUM                                = 
   (PT_LONG) or (($0E21) shl 16);
const PR_PREPROCESS                                = 
   (PT_BOOLEAN) or (($0E22) shl 16);

{ PR_ORIGINAL_DISPLAY_TO, _CC, and _BCC moved to transmittible range 03/09/95 }

const PR_ORIGINATING_MTA_CERTIFICATE               =
   (PT_BINARY) or (($0E25) shl 16);
const PR_PROOF_OF_SUBMISSION                       = 
   (PT_BINARY) or (($0E26) shl 16);


(*
 * The range of non-message and non-recipient property IDs (0x3000 - 0x3FFF) is
 * further broken down into ranges to make assigning new property IDs easier.
 *
 *  From    To      Kind of property
 *  --------------------------------
 *  3000    32FF    MAPI_defined common property
 *  3200    33FF    MAPI_defined form property
 *  3400    35FF    MAPI_defined message store property
 *  3600    36FF    MAPI_defined Folder or AB Container property
 *  3700    38FF    MAPI_defined attachment property
 *  3900    39FF    MAPI_defined address book property
 *  3A00    3BFF    MAPI_defined mailuser property
 *  3C00    3CFF    MAPI_defined DistList property
 *  3D00    3DFF    MAPI_defined Profile Section property
 *  3E00    3EFF    MAPI_defined Status property
 *  3F00    3FFF    MAPI_defined display table property
 *)

(*
 *  Properties common to numerous MAPI objects.
 *
 *  Those properties that can appear on messages are in the
 *  non-transmittable range for messages. They start at the high
 *  end of that range and work down.
 *
 *  Properties that never appear on messages are defined in the common
 *  property range (see above).
 *)

(*
 * properties that are common to multiple objects (including message objects)
 * -- these ids are in the non-transmittable range
 *)

const PR_ENTRYID                                   = 
   (PT_BINARY) or (($0FFF) shl 16);
const PR_OBJECT_TYPE                               = 
   (PT_LONG) or (($0FFE) shl 16);
const PR_ICON                                      = 
   (PT_BINARY) or (($0FFD) shl 16);
const PR_MINI_ICON                                 = 
   (PT_BINARY) or (($0FFC) shl 16);
const PR_STORE_ENTRYID                             = 
   (PT_BINARY) or (($0FFB) shl 16);
const PR_STORE_RECORD_KEY                          = 
   (PT_BINARY) or (($0FFA) shl 16);
const PR_RECORD_KEY                                = 
   (PT_BINARY) or (($0FF9) shl 16);
const PR_MAPPING_SIGNATURE                         = 
   (PT_BINARY) or (($0FF8) shl 16);
const PR_ACCESS_LEVEL                              = 
   (PT_LONG) or (($0FF7) shl 16);
const PR_INSTANCE_KEY                              = 
   (PT_BINARY) or (($0FF6) shl 16);
const PR_ROW_TYPE                                  = 
   (PT_LONG) or (($0FF5) shl 16);
const PR_ACCESS                                    = 
   (PT_LONG) or (($0FF4) shl 16);

(*
 * properties that are common to multiple objects (usually not including message objects)
 * -- these ids are in the transmittable range
 *)

const PR_ROWID                                     = 
   (PT_LONG) or (($3000) shl 16);
const PR_DISPLAY_NAME                              = 
   (PT_TSTRING) or (($3001) shl 16);
const PR_DISPLAY_NAME_W                            = 
   (PT_UNICODE) or (($3001) shl 16);
const PR_DISPLAY_NAME_A                            = 
   (PT_STRING8) or (($3001) shl 16);
const PR_ADDRTYPE                                  = 
   (PT_TSTRING) or (($3002) shl 16);
const PR_ADDRTYPE_W                                = 
   (PT_UNICODE) or (($3002) shl 16);
const PR_ADDRTYPE_A                                = 
   (PT_STRING8) or (($3002) shl 16);
const PR_EMAIL_ADDRESS                             = 
   (PT_TSTRING) or (($3003) shl 16);
const PR_EMAIL_ADDRESS_W                           = 
   (PT_UNICODE) or (($3003) shl 16);
const PR_EMAIL_ADDRESS_A                           = 
   (PT_STRING8) or (($3003) shl 16);
const PR_COMMENT                                   = 
   (PT_TSTRING) or (($3004) shl 16);
const PR_COMMENT_W                                 = 
   (PT_UNICODE) or (($3004) shl 16);
const PR_COMMENT_A                                 = 
   (PT_STRING8) or (($3004) shl 16);
const PR_DEPTH                                     = 
   (PT_LONG) or (($3005) shl 16);
const PR_PROVIDER_DISPLAY                          = 
   (PT_TSTRING) or (($3006) shl 16);
const PR_PROVIDER_DISPLAY_W                        = 
   (PT_UNICODE) or (($3006) shl 16);
const PR_PROVIDER_DISPLAY_A                        = 
   (PT_STRING8) or (($3006) shl 16);
const PR_CREATION_TIME                             = 
   (PT_SYSTIME) or (($3007) shl 16);
const PR_LAST_MODIFICATION_TIME                    =
   (PT_SYSTIME) or (($3008) shl 16);
const PR_RESOURCE_FLAGS                            = 
   (PT_LONG) or (($3009) shl 16);
const PR_PROVIDER_DLL_NAME                         = 
   (PT_TSTRING) or (($300A) shl 16);
const PR_PROVIDER_DLL_NAME_W                       = 
   (PT_UNICODE) or (($300A) shl 16);
const PR_PROVIDER_DLL_NAME_A                       = 
   (PT_STRING8) or (($300A) shl 16);
const PR_SEARCH_KEY                                = 
   (PT_BINARY) or (($300B) shl 16);
const PR_PROVIDER_UID                              = 
   (PT_BINARY) or (($300C) shl 16);
const PR_PROVIDER_ORDINAL                          = 
   (PT_LONG) or (($300D) shl 16);

(*
 *  MAPI Form properties
 *)
const PR_FORM_VERSION                              = 
  (PT_TSTRING) or (($3301) shl 16);
const PR_FORM_VERSION_W                            = 
  (PT_UNICODE) or (($3301) shl 16);
const PR_FORM_VERSION_A                            = 
  (PT_STRING8) or (($3301) shl 16);
const PR_FORM_CLSID                                = 
  (PT_CLSID) or (($3302) shl 16);
const PR_FORM_CONTACT_NAME                         = 
  (PT_TSTRING) or (($3303) shl 16);
const PR_FORM_CONTACT_NAME_W                       = 
  (PT_UNICODE) or (($3303) shl 16);
const PR_FORM_CONTACT_NAME_A                       = 
  (PT_STRING8) or (($3303) shl 16);
const PR_FORM_CATEGORY                             = 
  (PT_TSTRING) or (($3304) shl 16);
const PR_FORM_CATEGORY_W                           = 
  (PT_UNICODE) or (($3304) shl 16);
const PR_FORM_CATEGORY_A                           = 
  (PT_STRING8) or (($3304) shl 16);
const PR_FORM_CATEGORY_SUB                         = 
  (PT_TSTRING) or (($3305) shl 16);
const PR_FORM_CATEGORY_SUB_W                       = 
  (PT_UNICODE) or (($3305) shl 16);
const PR_FORM_CATEGORY_SUB_A                       = 
  (PT_STRING8) or (($3305) shl 16);
const PR_FORM_HOST_MAP                             = 
  (PT_MV_LONG) or (($3306) shl 16);
const PR_FORM_HIDDEN                               = 
  (PT_BOOLEAN) or (($3307) shl 16);
const PR_FORM_DESIGNER_NAME                        = 
  (PT_TSTRING) or (($3308) shl 16);
const PR_FORM_DESIGNER_NAME_W                      = 
  (PT_UNICODE) or (($3308) shl 16);
const PR_FORM_DESIGNER_NAME_A                      = 
  (PT_STRING8) or (($3308) shl 16);
const PR_FORM_DESIGNER_GUID                        = 
  (PT_CLSID) or (($3309) shl 16);
const PR_FORM_MESSAGE_BEHAVIOR                     = 
  (PT_LONG) or (($330A) shl 16);

(*
 *  Message store properties
 *)

const PR_DEFAULT_STORE                             = 
   (PT_BOOLEAN) or (($3400) shl 16);
const PR_STORE_SUPPORT_MASK                        = 
   (PT_LONG) or (($340D) shl 16);
const PR_STORE_STATE                               = 
   (PT_LONG) or (($340E) shl 16);

const PR_IPM_SUBTREE_SEARCH_KEY                    = 
   (PT_BINARY) or (($3410) shl 16);
const PR_IPM_OUTBOX_SEARCH_KEY                     = 
   (PT_BINARY) or (($3411) shl 16);
const PR_IPM_WASTEBASKET_SEARCH_KEY                = 
   (PT_BINARY) or (($3412) shl 16);
const PR_IPM_SENTMAIL_SEARCH_KEY                   = 
   (PT_BINARY) or (($3413) shl 16);
const PR_MDB_PROVIDER                              = 
   (PT_BINARY) or (($3414) shl 16);
const PR_RECEIVE_FOLDER_SETTINGS                   = 
   (PT_OBJECT) or (($3415) shl 16);

const PR_VALID_FOLDER_MASK                         =
   (PT_LONG) or (($35DF) shl 16);
const PR_IPM_SUBTREE_ENTRYID                       = 
   (PT_BINARY) or (($35E0) shl 16);

const PR_IPM_OUTBOX_ENTRYID                        = 
   (PT_BINARY) or (($35E2) shl 16);
const PR_IPM_WASTEBASKET_ENTRYID                   = 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?