📄 msfs.h
字号:
#if !defined( _MSFS_H )
#define _MSFS_H
/*
* M S F S . H
*
*
* Copyright 1986 - 1998 Microsoft Corporation. All Rights Reserved.
*
*
* Definitions used by the the Microsoft Mail transport, address book
* and shared folder service providers.
*
* The following MSFS defined properties are configurable via ConfigureMsgService()
* calls. They are grouped by function.
*
* C o n n e c t i o n P r o p e r t i e s
*
* PR_CFG_SERVER_PATH
* -- The path to the users post office. Mapped network drives, UNC and NETWARE paths
* are acceptable. NETWARE paths of the type NWServer/share:dir\dir1 are converted to
* UNC paths of the type \\NWServer\share\dir\dir1.
*
* PR_CFG_MAILBOX
* -- The users mailbox name. eg. in a NET/PO/USER address,
* this is USER. The maximum mailbox name is 10 characters.
*
* PR_CFG_PASSWORD
* -- The users mailbox password. The maximum password is 8 characters.
*
* PR_CFG_REMEMBER
* -- A boolean value indicating whether the users password is
* to be remembered in the profile or not. This is useful because
* if the password is remembered the user can bypass the logon prompt
* if his server path, mailbox name and password are all supplied.
*
* PR_CFG_CONN_TYPE
* -- The connection type. This may be one of CFG_CONN_AUTO, CFG_CONN_LAN,
* CFG_CONN_REMOTE, CFG_CONN_OFFLINE as defined below.
*
* CFG_CONN_AUTO -- Automatically detect whether the connection type is LAN or REMOTE.
* This connection type is only available on Win95.
* CFG_CONN_LAN -- LAN type connection. Used to connect to the post office using a
* UNC path or pre-existing mapped drive.
* CFG_CONN_REMOTE -- Dial up connection using Dial-up Networking.
* CFG_CONN_OFFLINE -- Not connected.
*
* PR_CFG_SESSION_LOG
* -- A boolean value indicating whether session logging
* is on or off.
*
* PR_CFG_SESSION_LOG_FILE
* -- The path to the session log file.
*
* D e l i v e r y P r o p e r t i e s
*
* PR_CFG_ENABLE_UPLOAD
* -- A boolean value which indicates whether mail in the outbox
* is sent.
*
* PR_CFG_ENABLE_DOWNLOAD
* -- A boolean value which indicates whether mail in the server
* mailbag is downloaded.
*
* PR_CFG_UPLOADTO
* -- A bit array which allows the user to indicate which addresses
* for which the transport is to attempt delivery. This is useful
* in order to allow a user to specify that a transport only handle
* delivery for a subset of the addresses it can really process.
* When multiple transports are installed and the user wants a
* different transport to handle some specific address types they
* can use this bit array to specify that the MSMAIL transport
* only handle a specific set of addresses.
*
* Possible values as defined below include:
*
* CFG_UPLOADTO_PCMAIL -- Local Post Office and External Post Office address types
* CFG_UPLOADTO_PROFS -- PROFS address types
* CFG_UPLOADTO_SNADS -- SNADS address types
* CFG_UPLOADTO_OV -- OfficeVision address types
* CFG_UPLOADTO_MCI -- MCI address types
* CFG_UPLOADTO_X400 -- X.400 address types
* CFG_UPLOADTO_FAX -- FAX address types
* CFG_UPLOADTO_MHS -- MHS address types
* CFG_UPLOADTO_SMTP -- SMTP address types
* CFG_UPLOADTO_MACMAIL -- MacMail address types
* CFG_UPLOADTO_ALL -- All of the above address types
*
*
* PR_CFG_NETBIOS_NTFY
* -- A boolean value which indicates whether a netbios notification
* is sent to a recipients transport when mail is delivered to
* their server inbox.
*
* PR_CFG_SPOOLER_POLL
* -- The polling interval in minutes when the transport
* checks for new mail. 1 <= polling interval <= 9999
*
* PR_CFG_GAL_ONLY
* -- A boolean value which, if TRUE, only displays the Microsoft Mail Global Address
* list for name selection. The Postoffice list, external post office lists, and gateway
* address lists are not shown.
*
* F a s t L A N P r o p e r t i e s
*
* PR_CFG_LAN_HEADERS
* -- A boolean value which indicates whether the user wants to enable
* headers while working on the LAN. Headers mode allows the user
* to download message headers and selectively choose which mail
* to download.
*
* PR_CFG_LAN_LOCAL_AB
* -- A boolean value which indicates whether the user wants to use
* name resolution based on a local copy of the server address book
* rather than the server address book itself.
*
* PR_CFG_LAN_EXTERNAL_DELIVERY
* -- A boolean value which indicates whether EXTERNAL.EXE, a server process, should be used
* to deliver submitted mail messages. This is sometimes useful when mail is running
* on a slow LAN connection.
*
* S l o w L A N P r o p e r t i e s
*
* PR_CFG_RAS_HEADERS
* -- A boolean value which indicates whether the user wants to enable
* headers while working over a slow speed link. Headers mode
* allows the user to download message headers and selectively
* choose which mail to download.
*
* PR_CFG_RAS_LOCAL_AB
* -- A boolean value which indicates whether the user wants to use
* name resolution based on a local copy of the server address book
* rather than the server address book itself.
*
* PR_CFG_RAS_EXTERNAL_DELIVERY
* -- A boolean value which indicates whether EXTERNAL.EXE, a server process, should be used
* to deliver submitted mail messages. This speeds up message delivery when mail is
* running on a Dial-up network connection.
*
* PR_CFG_RAS_INIT_ON_START
* -- A boolean value which indicates that a Dial-up Network connection should
* be established when the transport provider starts up.
*
* PR_CFG_RAS_TERM_ON_HDRS
* -- A boolean value which indicates that a Dial-up Network connection should
* be automatically terminated when headers are finished downloading.
*
* PR_CFG_RAS_TERM_ON_XFER
* -- A boolean value which indicates that a Dial-up Network connection should
* be automatically terminated after mail has finished being sent
* received.
*
* PR_CFG_RAS_TERM_ON_EXIT
* -- A boolean value which indicates that a Dial-up Network connection should
* be automatically terminated when the provider is exited.
*
* PR_CFG_RAS_PROFILE
* -- The name of the Dial-up Network profile that the transport will use by
* default to attempt the connection.
*
* PR_CFG_RAS_RETRYATTEMPTS
* -- Number of times to attempt dial for connection.
* 1 <= retry attempts <= 9999
*
* PR_CFG_RAS_RETRYDELAY
* -- Delay between retry attempts in seconds.
* 30 <= retry delay <= 9999
*
* PR_CFG_RAS_CONFIRM
* -- A value which determines whether, at connection time, the
* user should be prompted to select a Dial-up Network connection.
* Possible values as defined below include:
* CFG_ALWAYS -- Always use the default Dial-up Network profile.
* Never prompt the user.
* CFG_ASK_FIRST -- Prompt the user to select a profile on the
* first connection or after any error occurs.
* CFG_ASK_EVERY -- Always prompt the user to select the
* Dial-up Network profile.
*
* S c h e d u l e d S e s s i o n P r o p e r t i e s
*
* PR_CFG_SCHED_SESS
* -- A property that contains information on scheduled sessions. The
* maximum number of entries that may be stored is CFG_SS_MAX. The
* information is stored in the data structure SchedSess.
*
* typedef struct SchedSess {
* USHORT sSessType;
* USHORT sDayMask;
* FILETIME ftTime;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -