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

📄 simmgr.h

📁 用在windows ce/mobile上的Outlook相关的开发源码
💻 H
📖 第 1 页 / 共 5 页
字号:
#define SIM_PARAM_PBCAPS_MAXADDRESSLENGTH             (0x00000008)    // @paramdefine dwMaxAddressLength field is valid
#define SIM_PARAM_PBCAPS_MAXTEXTLENGTH                (0x00000010)    // @paramdefine dwMaxTextLength field is valid
#define SIM_PARAM_PBCAPS_MAXSECONDNAMELENGTH          (0x00000020)    // @paramdefine dwMaxSecondNameLength field is valid
#define SIM_PARAM_PBCAPS_MAXADDITIONALNUMBERLENGTH    (0x00000040)    // @paramdefine dwMaxAdditionalNumberLength field is valid
#define SIM_PARAM_PBCAPS_MAXEMAILADDRESSLENGTH        (0x00000080)    // @paramdefine dwMaxEmailAddressLength field is valid
#define SIM_PARAM_PBCAPS_MAXGROUPTAGLENGTH            (0x00000100)    // @paramdefine dwGroupTagLength field is valid
#define SIM_PARAM_PBCAPS_MAXADDITIONALNUMBERTAGLENGTH (0x00000200)    // @paramdefine dwAdditionalNumberTagLength field is valid
#define SIM_PARAM_PBCAPS_ADDITIONALNUMBERCOUNT        (0x00000400)    // @paramdefine dwAdditionalNumberCount field is valid
#define SIM_PARAM_PBCAPS_EMAILADDRESSCOUNT            (0x00000800)    // @paramdefine dwEmailAddressCount field is valid
#define SIM_PARAM_PBCAPS_MAXGROUPTAGS                 (0x00001000)    // @paramdefine dwMaxGroupTags field is valid
#define SIM_PARAM_PBCAPS_MAXADDITIONALNUMBERTAGS      (0x00002000)    // @paramdefine dwMaxAddtionalNumberTags field is valid
#define SIM_PARAM_PBCAPS_HIDDEN                       (0x00004000)    // @paramdefine fHidden field is valid
#define SIM_PARAM_PBCAPS_UID                          (0x00008000)    // @paramdefine fUid field is valid
#define SIM_PARAM_PBCAPS_MAXGROUPIDCOUNT              (0x00010000)    // @paramdefine dwMaxGroupIdCount is valid
#define SIM_PARAM_PBCAPS_ALL                          (0x0001FFFF)    // @paramdefine All fields are valid

// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @params SIMRECORDINFO
//
// @comm None
//
// -----------------------------------------------------------------------------
#define SIM_PARAM_RECORDINFO_RECORDTYPE (0x00000001)     // @paramdefine dwRecordType field is valid
#define SIM_PARAM_RECORDINFO_ITEMCOUNT  (0x00000002)     // @paramdefine dwItemCount field is valid
#define SIM_PARAM_RECORDINFO_SIZE       (0x00000004)     // @paramdefine dwSize field is valid
#define SIM_PARAM_RECORDINFO_ALL        (0x00000007)     // @paramdefine All fields are valid

// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @params SIMFILEREFRESH
//
// @comm None
//
// -----------------------------------------------------------------------------
#define SIM_PARAM_FILEREFRESH_FLAGS      (0x00000001)     // @paramdefine dwFlags field is valid
#define SIM_PARAM_FILEREFRESH_FILECOUNT  (0x00000002)     // @paramdefine dwFileCount field is valid
#define SIM_PARAM_FILEREFRESH_FILEARRAY  (0x00000004)     // @paramdefine rgdwAddress field is valid
#define SIM_PARAM_FILEREFRESH_ALL        (0x00000007)     // @paramdefine All fields are valid


// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @params SIMPHONEBOOKADDITIONALNUMBER
//
// @comm None
//
// -----------------------------------------------------------------------------
#define SIM_PARAM_ADDITIONALNUM_ADDRESS      (0x00000001)  // @paramdefine lpszAddress field is valid
#define SIM_PARAM_ADDITIONALNUM_ADDRESS_TYPE (0x00000002)  // @paramdefine dwAddressType field is valid
#define SIM_PARAM_ADDITIONALNUM_NUMPLAN      (0x00000004)  // @paramdefine dwNumPlan field is valid
#define SIM_PARAM_ADDITIONALNUM_NUMID        (0x00000008)  // @paramdefine dwNumId field is valid
#define SIM_PARAM_ADDITIONALNUM_ALL          (0x0000000F)  // @paramdefine ALL fields are valid

// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @params SIMPHONEBOOKEMAILADDRESS
//
// @comm None
//
// -----------------------------------------------------------------------------
#define SIM_PARAM_EMAIL_ADDRESS             (0x00000001) // @paramdefine lpszAddress field is valid
#define SIM_PARAM_EMAIL_ALL                 (0x00000001) // @paramdefine ALL fields are valid


// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Phonebook Storage | Phone book storage locations
//
// @comm None
//
// -----------------------------------------------------------------------------
#define SIM_PBSTORAGE_EMERGENCY         (0x00000001)      // @constdefine Emergency dial list
#define SIM_PBSTORAGE_FIXEDDIALING      (0x00000002)      // @constdefine SIM fixed dialing list
#define SIM_PBSTORAGE_LASTDIALING       (0x00000004)      // @constdefine SIM last dialing list
#define SIM_PBSTORAGE_OWNNUMBERS        (0x00000008)      // @constdefine SIM ownnumbers lists
#define SIM_PBSTORAGE_SIM               (0x00000010)      // @constdefine General SIM Storage
#define SIM_NUMPBSTORAGES               5                 // @constdefine Number of phonebook storages

// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Phonebook Storage | Phone book storage locations
//
// @comm None
//
// -----------------------------------------------------------------------------
#define SIM_PBTAG_GROUP                 (1)              // @constdefine Group name tag
#define SIM_PBTAG_NUMBER                (2)              // @constdefine Additional Number tag


// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants SIM DevCaps | Device Capabilities
//
// @comm None
//
// -----------------------------------------------------------------------------
#define SIM_CAPSTYPE_PBENTRYLENGTH      (0x00000001)      // @constdefine Phonebook entry lengths
#define SIM_CAPSTYPE_PBSTORELOCATIONS   (0x00000002)      // @constdefine Phonebook storage locations
#define SIM_CAPSTYPE_LOCKFACILITIES     (0x00000004)      // @constdefine Lock facilities
#define SIM_CAPSTYPE_PBINDEXRANGE       (0x00000008)      // @constdefine Valid phonebook entry indexes
#define SIM_CAPSTYPE_LOCKINGPWDLENGTHS  (0x00000010)      // @constdefine Locking password lengths
#define SIM_CAPSTYPE_MSGMEMORYLOCATIONS (0x00000020)      // @constdefine Message memory locations
#define SIM_CAPSTYPE_ALL                (0x0000003F)      // @constdefine All of the above

// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants SMS Storage | SMS storage locations
//
// @comm None
//
// -----------------------------------------------------------------------------
#define SIM_SMSSTORAGE_BROADCAST        (0x00000001)      // @constdefine Broadcast message storage location
#define SIM_SMSSTORAGE_SIM              (0x00000002)      // @constdefine SIM storage location
#define SIM_NUMSMSSTORAGES              2                 // @constdefine Number of message storage locations

// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Address Type | Defines different address types
//
// @comm None
//
// -----------------------------------------------------------------------------
#define SIM_ADDRTYPE_UNKNOWN            (0x00000000)      // @constdefine Unknown
#define SIM_ADDRTYPE_INTERNATIONAL      (0x00000001)      // @constdefine International number
#define SIM_ADDRTYPE_NATIONAL           (0x00000002)      // @constdefine National number
#define SIM_ADDRTYPE_NETWKSPECIFIC      (0x00000003)      // @constdefine Network specific number
#define SIM_ADDRTYPE_SUBSCRIBER         (0x00000004)      // @constdefine Subscriber number (protocol-specific)
#define SIM_ADDRTYPE_ALPHANUM           (0x00000005)      // @constdefine Alphanumeric address
#define SIM_ADDRTYPE_ABBREV             (0x00000006)      // @constdefine Abbreviated number

// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Numbering Plan | Defines different numbering plans for SIM_ADDRTYPE_UNKNOWN,
//            SIM_ADDRTYPE_INTERNATIONAL, and SIM_ADDRTYPE_NATIONAL
//
// @comm None
//
// -----------------------------------------------------------------------------
#define SIM_NUMPLAN_UNKNOWN             (0x00000000)      // @constdefine Unknown
#define SIM_NUMPLAN_TELEPHONE           (0x00000001)      // @constdefine ISDN/telephone numbering plan (E.164/E.163)
#define SIM_NUMPLAN_DATA                (0x00000002)      // @constdefine Data numbering plan (X.121)
#define SIM_NUMPLAN_TELEX               (0x00000003)      // @constdefine Telex numbering plan
#define SIM_NUMPLAN_NATIONAL            (0x00000004)      // @constdefine National numbering plan
#define SIM_NUMPLAN_PRIVATE             (0x00000005)      // @constdefine Private numbering plan
#define SIM_NUMPLAN_ERMES               (0x00000006)      // @constdefine ERMES numbering plan (ETSI DE/PS 3 01-3)

// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Phone Locked | Indicates if the phone is currently locked (i.e.
//            awaiting password) and what password to enter
//
// @comm None
//
// -----------------------------------------------------------------------------
#define SIM_LOCKEDSTATE_UNKNOWN         (0x00000000)      // @constdefine Locking state is unknown
#define SIM_LOCKEDSTATE_READY           (0x00000001)      // @constdefine Not awaiting a password (unlocked)
#define SIM_LOCKEDSTATE_SIM_PIN         (0x00000002)      // @constdefine Awaiting the SIM PIN
#define SIM_LOCKEDSTATE_SIM_PUK         (0x00000003)      // @constdefine Awaiting the SIM PUK
#define SIM_LOCKEDSTATE_PH_SIM_PIN      (0x00000004)      // @constdefine Awaiting the Phone to SIM Personalization PIN
#define SIM_LOCKEDSTATE_PH_FSIM_PIN     (0x00000005)      // @constdefine Awaiting the Phone to first SIM Personalization PIN
#define SIM_LOCKEDSTATE_PH_FSIM_PUK     (0x00000006)      // @constdefine Awaiting the Phone to first SIM Personalization PUK
#define SIM_LOCKEDSTATE_SIM_PIN2        (0x00000007)      // @constdefine Awaiting the SIM PIN2
#define SIM_LOCKEDSTATE_SIM_PUK2        (0x00000008)      // @constdefine Awaiting the SIM PUK2
#define SIM_LOCKEDSTATE_PH_NET_PIN      (0x00000009)      // @constdefine Awaiting the Network Personalization PIN
#define SIM_LOCKEDSTATE_PH_NET_PUK      (0x0000000a)      // @constdefine Awaiting the Network Personalization PUK
#define SIM_LOCKEDSTATE_PH_NETSUB_PIN   (0x0000000b)      // @constdefine Awaiting the Network Subset Personalization PIN
#define SIM_LOCKEDSTATE_PH_NETSUB_PUK   (0x0000000c)      // @constdefine Awaiting the Network Subset Personalization PUK
#define SIM_LOCKEDSTATE_PH_SP_PIN       (0x0000000d)      // @constdefine Awaiting the Service Provider Personalization PIN
#define SIM_LOCKEDSTATE_PH_SP_PUK       (0x0000000e)      // @constdefine Awaiting the Service Provider Personalization PUK
#define SIM_LOCKEDSTATE_PH_CORP_PIN     (0x0000000f)      // @constdefine Awaiting the Corporate Personalization PIN
#define SIM_LOCKEDSTATE_PH_CORP_PUK     (0x00000010)      // @constdefine Awaiting the Corporate Personalization PUK

// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Phonebook Misc | Special phonebook constants
//
// @comm None
//
// -----------------------------------------------------------------------------
#define SIM_PBINDEX_FIRSTAVAILABLE      (0xffffffff)      // @constdefine Use first phonebook storage entry available

// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Phone Locking | Indicates the phone's locking behavior
//
// @comm None
//
// -----------------------------------------------------------------------------
#define SIM_LOCKFACILITY_CNTRL              (0x00000001)      // @constdefine Lock control curface
#define SIM_LOCKFACILITY_PH_SIM             (0x00000002)      // @constdefine Lock phone to SIM card
#define SIM_LOCKFACILITY_PH_FSIM            (0x00000004)      // @constdefine Lock phone to first SIM card
#define SIM_LOCKFACILITY_SIM                (0x00000008)      // @constdefine Lock SIM card
#define SIM_LOCKFACILITY_SIM_PIN2           (0x00000010)      // @constdefine Lock SIM card
#define SIM_LOCKFACILITY_SIM_FIXEDIALING    (0x00000020)      // @constdefine SIM fixed dialing memory
#define SIM_LOCKFACILITY_NETWORKPERS        (0x00000040)      // @constdefine Network personalization
#define SIM_LOCKFACILITY_NETWORKSUBPERS     (0x00000080)      // @constdefine Network subset personalization
#define SIM_LOCKFACILITY_SERVICEPROVPERS    (0x00000100)      // @constdefine Service provider personalization
#define SIM_LOCKFACILITY_CORPPERS           (0x00000200)      // @constdefine Corporate personalization
#define SIM_NUMLOCKFACILITIES               10                // @constdefine Number of locking facilities

// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants SIM Record | Different SIM file types
//
// @comm None
//
// -----------------------------------------------------------------------------
#define SIM_RECORDTYPE_UNKNOWN          (0x00000000)         // @constdefine An unknown file type

⌨️ 快捷键说明

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