[1166] | 1 | /**
|
---|
| 2 | * This file has no copyright assigned and is placed in the Public Domain.
|
---|
| 3 | * This file is part of the mingw-w64 runtime package.
|
---|
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
---|
| 5 | */
|
---|
| 6 | #ifndef _MSFS_H_
|
---|
| 7 | #define _MSFS_H_
|
---|
| 8 |
|
---|
| 9 | #include <ras.h>
|
---|
| 10 | #include <mapitags.h>
|
---|
| 11 |
|
---|
| 12 | #define PR_CFG_SERVER_PATH PROP_TAG (PT_STRING8,0x6600)
|
---|
| 13 | #define PR_CFG_MAILBOX PROP_TAG (PT_STRING8,0x6601)
|
---|
| 14 |
|
---|
| 15 | #define PR_CFG_PASSWORD PROP_TAG (PT_STRING8,PROP_ID_SECURE_MIN)
|
---|
| 16 | #define PR_CFG_CONN_TYPE PROP_TAG (PT_LONG,0x6603)
|
---|
| 17 | #define CFG_CONN_LAN 0
|
---|
| 18 | #define CFG_CONN_REMOTE 1
|
---|
| 19 | #define CFG_CONN_OFFLINE 2
|
---|
| 20 | #define CFG_CONN_AUTO 3
|
---|
| 21 | #define PR_CFG_SESSION_LOG PROP_TAG (PT_BOOLEAN,0x6604)
|
---|
| 22 | #define PR_CFG_SESSION_LOG_FILE PROP_TAG (PT_STRING8,0x6605)
|
---|
| 23 | #define PR_CFG_REMEMBER PROP_TAG (PT_BOOLEAN,0x6606)
|
---|
| 24 |
|
---|
| 25 | #define PR_CFG_ENABLE_UPLOAD PROP_TAG (PT_BOOLEAN,0x6620)
|
---|
| 26 | #define PR_CFG_ENABLE_DOWNLOAD PROP_TAG (PT_BOOLEAN,0x6621)
|
---|
| 27 | #define PR_CFG_UPLOADTO PROP_TAG (PT_LONG,0x6622)
|
---|
| 28 | #define CFG_UPLOADTO_PCMAIL 0x00000001
|
---|
| 29 | #define CFG_UPLOADTO_PROFS 0x00000002
|
---|
| 30 | #define CFG_UPLOADTO_SNADS 0x00000004
|
---|
| 31 | #define CFG_UPLOADTO_MCI 0x00000008
|
---|
| 32 | #define CFG_UPLOADTO_X400 0x00000010
|
---|
| 33 | #define CFG_UPLOADTO_FAX 0x00000040
|
---|
| 34 | #define CFG_UPLOADTO_MHS 0x00000080
|
---|
| 35 | #define CFG_UPLOADTO_SMTP 0x00000100
|
---|
| 36 | #define CFG_UPLOADTO_OV 0x00000800
|
---|
| 37 | #define CFG_UPLOADTO_MACMAIL 0x00001000
|
---|
| 38 | #define CFG_UPLOADTO_ALL CFG_UPLOADTO_PCMAIL | CFG_UPLOADTO_PROFS | CFG_UPLOADTO_SNADS | CFG_UPLOADTO_MCI | CFG_UPLOADTO_X400 | CFG_UPLOADTO_FAX | CFG_UPLOADTO_MHS | CFG_UPLOADTO_SMTP | CFG_UPLOADTO_OV | CFG_UPLOADTO_MACMAIL
|
---|
| 39 | #define PR_CFG_NETBIOS_NTFY PROP_TAG (PT_BOOLEAN,0x6623)
|
---|
| 40 | #define PR_CFG_SPOOLER_POLL PROP_TAG (PT_STRING8,0x6624)
|
---|
| 41 | #define PR_CFG_GAL_ONLY PROP_TAG (PT_BOOLEAN,0x6625)
|
---|
| 42 |
|
---|
| 43 | #define PR_CFG_LAN_HEADERS PROP_TAG (PT_BOOLEAN,0x6630)
|
---|
| 44 | #define PR_CFG_LAN_LOCAL_AB PROP_TAG (PT_BOOLEAN,0x6631)
|
---|
| 45 | #define PR_CFG_LAN_EXTERNAL_DELIVERY PROP_TAG (PT_BOOLEAN,0x6632)
|
---|
| 46 |
|
---|
| 47 | #define PR_CFG_RAS_EXTERNAL_DELIVERY PROP_TAG (PT_BOOLEAN,0x6639)
|
---|
| 48 | #define PR_CFG_RAS_HEADERS PROP_TAG (PT_BOOLEAN,0x6640)
|
---|
| 49 | #define PR_CFG_RAS_LOCAL_AB PROP_TAG (PT_BOOLEAN,0x6641)
|
---|
| 50 | #define PR_CFG_RAS_INIT_ON_START PROP_TAG (PT_BOOLEAN,0x6642)
|
---|
| 51 | #define PR_CFG_RAS_TERM_ON_HDRS PROP_TAG (PT_BOOLEAN,0x6643)
|
---|
| 52 | #define PR_CFG_RAS_TERM_ON_XFER PROP_TAG (PT_BOOLEAN,0x6644)
|
---|
| 53 | #define PR_CFG_RAS_TERM_ON_EXIT PROP_TAG (PT_BOOLEAN,0x6645)
|
---|
| 54 | #define PR_CFG_RAS_PROFILE PROP_TAG (PT_STRING8,0x6646)
|
---|
| 55 | #define PR_CFG_RAS_CONFIRM PROP_TAG (PT_LONG,0x6647)
|
---|
| 56 | #define CFG_ALWAYS 0
|
---|
| 57 | #define CFG_ASK_FIRST 1
|
---|
| 58 | #define CFG_ASK_EVERY 2
|
---|
| 59 | #define PR_CFG_RAS_RETRYATTEMPTS PROP_TAG (PT_STRING8,0x6648)
|
---|
| 60 | #define PR_CFG_RAS_RETRYDELAY PROP_TAG (PT_STRING8,0x6649)
|
---|
| 61 |
|
---|
| 62 | #define PR_CFG_LOCAL_HEADER PROP_TAG (PT_BOOLEAN,0x6680)
|
---|
| 63 |
|
---|
| 64 | #define CFG_SS_MAX 16
|
---|
| 65 | #define CFG_SS_BASE_ID 0x6700
|
---|
| 66 | #define CFG_SS_MAX_ID CFG_SS_BASE_ID + CFG_SS_MAX - 1
|
---|
| 67 | #define SchedPropTag(n) PROP_TAG (PT_BINARY,CFG_SS_BASE_ID+(n))
|
---|
| 68 | #define PR_CFG_SCHED_SESS SchedPropTag(0)
|
---|
| 69 |
|
---|
| 70 | typedef struct SchedSess {
|
---|
| 71 | USHORT sSessType;
|
---|
| 72 | USHORT sDayMask;
|
---|
| 73 | FILETIME ftTime;
|
---|
| 74 | FILETIME ftStart;
|
---|
| 75 | ULONG ulFlags;
|
---|
| 76 | TCHAR szPhoneEntry[RAS_MaxEntryName+1];
|
---|
| 77 | } SCHEDSESS,*LPSCHEDSESS;
|
---|
| 78 |
|
---|
| 79 | #define CFG_SS_SUN 0x0001
|
---|
| 80 | #define CFG_SS_MON 0x0002
|
---|
| 81 | #define CFG_SS_TUE 0x0004
|
---|
| 82 | #define CFG_SS_WED 0x0008
|
---|
| 83 | #define CFG_SS_THU 0x0010
|
---|
| 84 | #define CFG_SS_FRI 0x0020
|
---|
| 85 | #define CFG_SS_SAT 0x0040
|
---|
| 86 |
|
---|
| 87 | #define IsDayChecked(sDayMask,nDay) ((sDayMask) & (1<<(nDay)))
|
---|
| 88 |
|
---|
| 89 | #define CFG_SS_EVERY 0
|
---|
| 90 | #define CFG_SS_WEEKLY 1
|
---|
| 91 | #define CFG_SS_ONCE 2
|
---|
| 92 | #define CFG_SS_NULLTYPE 3
|
---|
| 93 |
|
---|
| 94 | #define PR_CFG_MIN PROP_TAG (PT_STRING8,0x6600)
|
---|
| 95 | #define PR_CFG_MAX SchedPropTag(CFG_SS_MAX-1)
|
---|
| 96 |
|
---|
| 97 | #define PR_ASSIGNED_ACCESS PROP_TAG(PT_LONG,0x66ff)
|
---|
| 98 | #define PR_OWNER_NAME PROP_TAG(PT_STRING8,0x66fe)
|
---|
| 99 |
|
---|
| 100 | #define SFSP_ACCESS_OWNER 0x8000
|
---|
| 101 |
|
---|
| 102 | #define MSFS_UID_ABPROVIDER { 0x00,0x60,0x94,0x64,0x60,0x41,0xb8,0x01,0x08,0x00,0x2b,0x2b,0x8a,0x29,0x00,0x00 }
|
---|
| 103 | #define MSFS_UID_SFPROVIDER { 0x00,0xff,0xb8,0x64,0x60,0x41,0xb8,0x01,0x08,0x00,0x2b,0x2b,0x8a,0x29,0x00,0x00 }
|
---|
| 104 | #endif /* End _MSFS_H_ */
|
---|
| 105 |
|
---|