⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pegmapi.h

📁 这个是微软WINCE的OBEX协议例子
💻 H
字号:
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
/*++


Module Name:

    PegMAPI.h

Abstract:

    Here we define the property tags for Pegasus applications whose data are replicated with the
    desktop MAPI store, e.g. the Address Book and Calendar.  We are starting with the MAPI
    address book properties, will mix in the Ren definitions, and season to taste.

Author:

    Robert O'Hara (ROHara) 05-03-1995
    Garrett Vargas (garrettv) 05-02-1996: broke off addrmapi.h

Environment:

    Pegasus

[Notes:]

    For now, we have to make sure we don't use property id's greater than 0x8000, so I changed those
	from 0x8xxx to 0x4xxx.  These should be changed back eventually

--*/

#ifndef _PEGMAPI_
#define _PEGMAPI_

#include <addrmapi.h>
#include "splustag.h"

// [cwu 12-10-95 for Replication ]
// Please do NOT use PT_BOOLEAN, use CEVT_I2 instead. because this file is shared by both
// pegasus and desktop (which uses MAPI with a different valued PT_BOOLEAN) replication.

#define BINARY_PROPERTY         0x40

#define HHPR_ACTION_ACTIVE                    PROP_TAG(CEVT_I2,   0x4503)  // PT_BOOLEAN
#define HHPR_ACTION_COOKIE                    PROP_TAG(PT_LONG,   0x0002)
#define HHPR_ACTION_DEFAULT_PARAM             PROP_TAG(PT_UNICODE, 0x4509)
#define HHPR_ACTION_DO_DEFAULT                PROP_TAG(PT_I2,   0x4507)  // PT_BOOLEAN
#define HHPR_ACTION_DO_OTHER                  PROP_TAG(CEVT_I2,   0x4508)  // PT_BOOLEAN
#define HHPR_ACTION_OFFSET                    PROP_TAG(PT_LONG,    0x4501)
#define HHPR_ACTION_TYPE                      PROP_TAG(PT_LONG,    0x450A)
#define HHPR_APPT_DURATION                    PROP_TAG(PT_LONG,    0x4213)
#define HHPR_APPT_LOCATION                    PROP_TAG(PT_UNICODE, 0x4208)
#define HHPR_APPT_RECURRING_DATA              PROP_TAG(CEVT_BLOB, 0x4015)
// 10 so far
#define HHPR_APPT_RECURRING_FLAG              PROP_TAG(CEVT_I2,   0x4223)  // PT_BOOLEAN
#define HHPR_APPT_START_DATE                  PROP_TAG(PT_SYSTIME, 0x4212)
#define HHPR_APPT_START_WHOLE                 PROP_TAG(PT_SYSTIME, 0x420D)
#define HHPR_APPT_SUBTYPE                     PROP_TAG(PT_LONG,    0x4215)
#define HHPR_BODY                             PR_BODY_W
#define HHPR_CATEGORIES                       PROP_TAG(PT_UNICODE, 0x4500)
#define HHPR_CREATION_TIME                    PR_CREATION_TIME
#define HHPR_DISPLAY_BCC                      PR_DISPLAY_BCC_W
#define HHPR_DISPLAY_CC                       PR_DISPLAY_CC_W
#define HHPR_DISPLAY_TO                       PR_DISPLAY_TO_W
// 20 so far
#define HHPR_CATEGORIES                       PROP_TAG(PT_UNICODE, 0x4500)
#define HHPR_IMPORTANCE                       PR_IMPORTANCE
#define HHPR_KEYWORD_W                        PR_KEYWORD_W
#define HHPR_KEYWORDS                         PROP_TAG(PT_UNICODE, 0x4902)
#define HHPR_LAST_MODIFICATION_TIME           PR_LAST_MODIFICATION_TIME
#define HHPR_MESSAGE_DELIVERY_TIME            PR_MESSAGE_DELIVERY_TIME
#define HHPR_MESSAGE_FLAGS                    PR_MESSAGE_FLAGS
#define HHPR_MESSAGE_SIZE                     PR_MESSAGE_SIZE
#define HHPR_NOTIFICATION_DATA                PROP_TAG(CEVT_BLOB, 0x0031)
#define HHPR_MESSAGE_SIZE                     PR_MESSAGE_SIZE
// 30 so far
#define HHPR_PRIORITY                         PR_PRIORITY
#define HHPR_REPLY_RECIPIENT_NAMES_W          PR_REPLY_RECIPIENT_NAMES_W
#define HHPR_REPLY_REQUESTED                  PR_REPLY_REQUESTED
#define HHPR_REPLY_TIME                       PR_REPLY_TIME
#define HHPR_SECURITY                         PR_SECURITY
#define HHPR_SENSITIVITY                      PR_SENSITIVITY
#define HHPR_SUBJECT                          PR_SUBJECT_W
#define HHPR_SUBJECT_W                        PR_SUBJECT_W
#define HHPR_TASK_BEFORE_END                  PROP_TAG(CEVT_I2, 0x0003)
#define HHPR_APPT_REQUIRED_ATTENDEES          PROP_TAG(PT_UNICODE, 0x0004)
// 40 so far
#define HHPR_TASK_COMPLETE                    PROP_TAG(CEVT_I2, 0x410f)    // PT_BOOLEAN
#define HHPR_TASK_COMPLETED_DATE              PROP_TAG(PT_SYSTIME, 0x410f)
#define HHPR_TASK_DUE_DATE                    PROP_TAG(PT_SYSTIME, 0x4105)
#define HHPR_TASK_RECURRING_DATA              PROP_TAG(CEVT_BLOB, 0x4116)
#define HHPR_TASK_RECURRING_FLAG              PROP_TAG(PT_BOOLEAN, 0x4126)
#define HHPR_TASK_START_DATE                  PROP_TAG(PT_SYSTIME, 0x4104)
#define HHPR_HIDDEN_PATTERN					  PROP_TAG(CEVT_I2, 0x0042)

#define HHPR_APPT_TIMEZONE                    PROP_TAG(CEVT_BLOB, 0x0001)
#define HHPR_BINARY_CATEGORY                  PROP_TAG(CEVT_BLOB, 0x0016)
// 50 so far
#define HHPR_BINARY_INK                       PROP_TAG(CEVT_BLOB, 0x0017)
#define HHPR_RADIO_TELEPHONE_NUMBER           PR_RADIO_TELEPHONE_NUMBER_W
#define HHPR_APPT_STATE                       PROP_TAG(PT_I2,    0x000F)
#define HHPR_PRIVATE                          PROP_TAG(CEVT_I2, 0x0004)
#define HHPR_TEAM_MGR                         PROP_TAG(CEVT_I2, 0x0005)
#define HHPR_APPT_BINARY_RESPONSE             PROP_TAG(CEVT_BLOB, 0x0030)

#endif

⌨️ 快捷键说明

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