没有去整理。
不通过注册表获取类似“中国移动”,和"46000",以及系列号等这样的信息。
基本步骤
1、lineInitializeEx ;2、lineNegotiateAPIVersion;3、lineGetDevCaps 获取device的ID.
4、lineOpen得到HLINE;5、lineNegotiateExtVersion(set up ExTAPI);6、lineGetGeneralInfo以及lineGetCurrentOperator等一系列的操作
| lineGetCallBarringCaps | X | X | Retrieves the barring modes supported by the radio hardware and network. |
| lineGetCallBarringState | X | X | Retrieves the current barring state for a given mode. Not implemented for Code-Division Multiple Access (CDMA). |
| lineGetCallWaitingCaps | X | X | Retrieves the set of media modes for which call waiting is supported by the radio hardware and network. |
| lineGetCallWaitingState | X | X | Retrieves the list of media modes for which call waiting is enabled. Not implemented for CDMA. |
| lineGetCurrentAddressID | X | X | Retrieves the current line address ID. Not implemented for CDMA. |
| lineGetCurrentHSCSDStatus | X | X | Retrieves the current non-transparent High Speed Circuit Switched Data (HSCSD) configuration. Not implemented for CDMA. |
| lineGetCurrentOperator | X | X | Retrieves the network operator on which the device is currently registered. Not implemented for CDMA. |
| lineGetCurrentSystemType | X | X | Retrieves the current line system type. |
| lineGetEquipmentState | X | X | Retrieves the state of the radio transmitter and receiver. |
| lineGetGeneralInfo | X | X | Retrieves general device information about the radio hardware, the radio software, the serial number, subscriber identity, and others. Some fields do not apply to CDMA. |
| lineGetGPRSClass | X | X | Retrieves the General Packet Radio Service (GPRS) class of the mobile device and network. Not implemented for CDMA. |
| lineGetHSCSDCaps | X | X | Retrieves the HSCSD device capabilities. Not implemented for CDMA. |
| lineGetHSCSDState | X | X | Retrieves the non-transparent HSCSD configuration to be applied during the next data call. Not implemented for CDMA. |
| lineGetMuteState | X | X | Retrieves the mute state of the device. |
| lineGetNumberCalls | X | X | Retrieves all three call counts for the given line. |
| lineGetOperatorStatus | X | X | Retrieves the lists of preferred and available operators. Not implemented for CDMA. |
| lineGetRadioPresence | X | X | Determines whether a radio module is present or not. |
| lineGetRegisterStatus | X | X | Retrieves the network registration status of the device. |
| lineGetSendCallerIDState | X | X | Indicates if Caller ID info is sent on a mobile-device-originated call. Not implemented for CDMA. |
| lineGetUSSD | X | X | Reads an Unstructured Supplementary Service Data (USSD) message. Not implemented for CDMA. |
| lineRegister | X | X | Registers the device with a particular network operator. Not implemented for CDMA. |
| lineSendUSSD | X | X | Sends a USSD message. Not implemented for CDMA. |
| lineSetCallBarringPassword | X | X | Changes the call-barring password. Not implemented for CDMA. |
| lineSetCallBarringState | X | X | Sets call barring of media modes for a given call-barring mode. Not implemented for CDMA. |
| lineSetCallWaitingState | X | X | Sets call waiting for a given set of media modes. Not implemented for CDMA. |
| lineSetCurrentAddressID | X | X | Sets the current line address ID. Not implemented for CDMA. |
| lineSetEquipmentState | X | X | Sets the state of the radio transmitter and receiver. |
| lineSetGPRSClass | X | X | Sets the GPRS class of the mobile device and the network. Not implemented for CDMA. |
| lineSetHSCSDState | X | X | Sets the non-transparent HSCSD configuration prior to a data call. Not implemented for CDMA. |
| lineSetMuteState | X | X | Sets the mute state. |
| lineSetPreferredOperator | X | X | Sets or deletes preferred operators. Not implemented for CDMA. |
| lineSetSendCallerIDState | X | X | Sets whether or not Caller ID is sent on a mobile-device-originated call. Not implemented for CDMA. |
| lineUnregister | X | X | Deregisters the device from the current network operator.
Note This function is not supported for CDMA. |
本文详细介绍了用于管理和操作电话设备的一系列API,包括获取设备信息、设置设备状态等功能。这些API涉及设备的基本信息检索、呼叫等待及禁止设置等多个方面,但不适用于CDMA设备。
6841

被折叠的 条评论
为什么被折叠?



