ril.h
来自「wince中工程模式用来测试硬件的驱动是否好用」· C头文件 代码 · 共 861 行 · 第 1/5 页
H
861 行
// @doc EXTERNAL
//
// @constants Notification Messaging | Messaging notifications (RIL_MCLASS_MESSAGE)
//
// @comm None
//
// -----------------------------------------------------------------------------
#define RIL_NOTIFY_MESSAGE (0x00000001 | RIL_NCLASS_MESSAGE) // @constdefine Incoming message; lpData points to RILMESSAGE
#define RIL_NOTIFY_BCMESSAGE (0x00000002 | RIL_NCLASS_MESSAGE) // @constdefine Incoming broadcast message; lpData points to RILMESSAGE
#define RIL_NOTIFY_STATUSMESSAGE (0x00000003 | RIL_NCLASS_MESSAGE) // @constdefine Incoming status-report message; lpData points to RILMESSAGE
#define RIL_NOTIFY_MSGSTORED (0x00000004 | RIL_NCLASS_MESSAGE) // @constdefine A message has been added to storage; lpData points to the storage index assigned to the new message
#define RIL_NOTIFY_MSGDELETED (0x00000005 | RIL_NCLASS_MESSAGE) // @constdefine A message has been deleted from storage; lpData points to the storage index occupied by the deleted message
#define RIL_NOTIFY_MSGSTORAGECHANGED (0x00000006 | RIL_NCLASS_MESSAGE) // @constdefine One of the message storage locations has been changed; lpData points to RILMSGSTORAGEINFO
#define RIL_NOTIFY_MESSAGE_IN_SIM (0x00000007 | RIL_NCLASS_MESSAGE) // @constdefine Incoming message stored to SIM; lpData points to the storage RILMESSAGE_IN_SIM
#define RIL_NOTIFY_BCMESSAGE_IN_SIM (0x00000008 | RIL_NCLASS_MESSAGE) // @constdefine Incoming broadcast message stored to SIM; lpData points to RILMESSAGE_IN_SIM
#define RIL_NOTIFY_STATUSMESSAGE_IN_SIM (0x00000009 | RIL_NCLASS_MESSAGE) // @constdefine Incoming status-report message stored to SIM; lpData points to RILMESSAGE_IN_SIM
#if defined (ZTE_P550A)
/* Added by djh 06-08-14 , SMS Ready State Changed*/
#define RIL_NOTIFY_MSGREADYSTATECHANGED (0x0000000A | RIL_NCLASS_MESSAGE) // @constdefine SMREADY:n1,n2,stat,n3, SMS is READY, lpData points to RILMSGRERDYSTATE
/*Added by zhongcm 07-08-03 for DM message Notify*/
#define RIL_NOTIFY_DM_MESSAGE (0x0000000B | RIL_NCLASS_MESSAGE)
#endif
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Notification Network | Network-related notifications (RIL_NCLASS_NETWORK)
//
// @comm None
//
// -----------------------------------------------------------------------------
#define RIL_NOTIFY_REGSTATUSCHANGED (0x00000001 | RIL_NCLASS_NETWORK) // @constdefine Network registration status has changed; lpData points to the new status (RIL_REGSTAT_* constant)
#define RIL_NOTIFY_CALLMETER (0x00000002 | RIL_NCLASS_NETWORK) // @constdefine Call meter has changed; lpData points to a DWORD containing new current call meter value
#define RIL_NOTIFY_CALLMETERMAXREACHED (0x00000003 | RIL_NCLASS_NETWORK) // @constdefine Call meter maximum has been reached; lpData is NULL
#define RIL_NOTIFY_GPRSREGSTATUSCHANGED (0x00000004 | RIL_NCLASS_NETWORK) // @constdefine Network registration status has changed; lpData points to the new status (RIL_REGSTAT_* constant)
#define RIL_NOTIFY_SYSTEMCHANGED (0x00000005 | RIL_NCLASS_NETWORK) // @constdefine This indicates that the type of coverage which is available has changed. Typically one would expect IS-95A or 1xRTT, however CDMA does allow overlay systems; lpData is <t DWORD> of type RIL_SYSTEMTYPE_ flags
#define RIL_NOTIFY_GPRSCONNECTIONSTATUS (0x00000006 | RIL_NCLASS_NETWORK) // @constdefine This indicates the pdp context state has changed. lpData points to RILGPRSCONTEXTACTIVATED
#define RIL_NOTIFY_SYSTEMCAPSCHANGED (0x00000007 | RIL_NCLASS_NETWORK) // @constdefine This indicates the system capability has changed. lpData points to the new system capability (RIL_SYSTEMCAPS_* constant)
#define RIL_NOTIFY_LOCATIONUPDATE (0x00000008 | RIL_NCLASS_NETWORK) // @constdefine This indicates the location data has changed. lpData points to RILLOCATIONINFO
/*Added by zhong for DM业务*/
#define RIL_NOTIFY_GPRSCONNECTED (0x0000000A | RIL_NCLASS_NETWORK)
/*add zhaoyi for DM*/
#define RIL_NOTIFY_GPRSDISCONNECTED (0x0000000B | RIL_NCLASS_NETWORK)
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Notification Supplementary Service | Supplementary service notifications (RIL_NCLASS_SUPSERVICE)
//
// @comm None
//
// -----------------------------------------------------------------------------
#define RIL_NOTIFY_CALLERID (0x00000001 | RIL_NCLASS_SUPSERVICE) // @constdefine Incoming call CallerID information; lpData points to RILREMOTEPARTYINFO
#define RIL_NOTIFY_DIALEDID (0x00000002 | RIL_NCLASS_SUPSERVICE) // @constdefine Initiated call DialedID information; lpData points to RILREMOTEPARTYINFO
#define RIL_NOTIFY_CALLWAITING (0x00000003 | RIL_NCLASS_SUPSERVICE) // @constdefine Call Waiting information; lpData points to RILCALLWAITINGINFO
#define RIL_NOTIFY_SUPSERVICEDATA (0x00000004 | RIL_NCLASS_SUPSERVICE) // @constdefine Ustructured supplementary service data; lpData points to RILSUPSERVICEDATA
#define RIL_NOTIFY_INTERMEDIATESS (0x00000005 | RIL_NCLASS_SUPSERVICE) // @constdefine Ustructured supplementary service data; lpData points to RILINTERMEDIATESSINFO
#define RIL_NOTIFY_UNSOLICITEDSS (0x00000006 | RIL_NCLASS_SUPSERVICE) // @constdefine Ustructured supplementary service data; lpData points to RILUNSOLICITEDSSINFO
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Notification Phonebook | Phonebook notifications (RIL_NCLASS_PHONEBOOK)
//
// @comm None
//
// -----------------------------------------------------------------------------
#define RIL_NOTIFY_PHONEBOOKENTRYSTORED (0x00000001 | RIL_NCLASS_PHONEBOOK) // @constdefine A phonebook entry has been added to storage; lpData points to the storage
// index assigned to the new entry (ifdwIndex is RIL_PBINDEX_FIRSTAVAILABLE, the new entry was stored in the first available location)
#define RIL_NOTIFY_PHONEBOOKENTRYDELETED (0x00000002 | RIL_NCLASS_PHONEBOOK) // @constdefine A phonebook entry has been deleted from storage; lpData points to the storage index occupied by the deleted entry
#define RIL_NOTIFY_PHONEBOOKSTORAGECHANGED (0x00000003 | RIL_NCLASS_PHONEBOOK) // @constdefine Phonebook storage location has been changed; lpData points to RIL_PBLOC_* constant
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Notification Toolkit | SIM Toolkit notifications (RIL_NCLASS_SIMTOOLKIT)
//
// @comm None
//
// -----------------------------------------------------------------------------
#define RIL_NOTIFY_SIMTOOLKITCMD (0x00000001 | RIL_NCLASS_SIMTOOLKIT) // @constdefine A SIM Toolkit command was not handled by the radio; lpData points to array of bytes containing the command
#define RIL_NOTIFY_SIMTOOLKITCALLSETUP (0x00000002 | RIL_NCLASS_SIMTOOLKIT) // @constdefine SIM Toolkit is trying to set up a call and call conditions were successfully checked by the radio;
// lpData points to a DWORD containing the redial timeout for the call (in milliseconds)
#define RIL_NOTIFY_SIMTOOLKITEVENT (0x00000003 | RIL_NCLASS_SIMTOOLKIT) // @constdefine A SIM Toolkit command was handled by the radio or the radio sent a SIm Toolkit command response to the SIM;
// lpData points to array of bytes containing the command or response sent
#define RIL_NOTIFY_SIMTOOLKITSESSIONEND (0x00000004 | RIL_NCLASS_SIMTOOLKIT) // @constdefine A SIM Toolkit command session is ending
#if defined (ZTE_P550A)
#define RIL_NOTIFY_SIMTOOLKITNOTSUPPORT (0x00000005 | RIL_NCLASS_SIMTOOLKIT) // @constdefine SIM STK application not support,lxl-stk-3
#endif
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Notification Radio State Change | Radio State Change notifications (RIL_NCLASS_RADIOSTATE)
//
// @comm None
//
// -----------------------------------------------------------------------------
#define RIL_NOTIFY_RADIOEQUIPMENTSTATECHANGED (0x00000001 | RIL_NCLASS_RADIOSTATE) // @constdefine Carries a STRUCT (RILEQUIPMENTSTATE) stating The Radio equiptmentstate has changed, also notifies a driver defined Radio ON or OFF state
#define RIL_NOTIFY_RADIOPRESENCECHANGED (0x00000002 | RIL_NCLASS_RADIOSTATE) // @constdefine Carries a dword (RIL_RADIOPRESENCE_*) stating that a Radio Module/Driver has been changed (removed, inserted, etc)
#define RIL_NOTIFY_RADIORESET (0x00000003 | RIL_NCLASS_RADIOSTATE) // @constdefine The driver has detected that the radio reset itself. lpData points to NULL
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Notification Misc | Miscellaneous notifications (RIL_NCLASS_MISC)
//
// @comm None
//
// -----------------------------------------------------------------------------
#define RIL_NOTIFY_SIMNOTACCESSIBLE (0x00000001 | RIL_NCLASS_MISC) // @constdefine SIM card has been removed or has failed to respond; lpData is NULL
#define RIL_NOTIFY_DTMFSIGNAL (0x00000002 | RIL_NCLASS_MISC) // @constdefine A DTMF signal has been detected; lpData points to char
#define RIL_NOTIFY_GPRSCLASS_NETWORKCHANGED (0x00000003 | RIL_NCLASS_MISC) // @constdefine Network has indicated a change in GPRS class
// lpData points to a DWORD containing the new RIL_GPRSCLASS_* value
#define RIL_NOTIFY_GPRSCLASS_RADIOCHANGED (0x00000004 | RIL_NCLASS_MISC) // @constdefine The radio has indicated a change in GPRS class
// lpData points to a DWORD containing the new RIL_GPRSCLASS_* value
#define RIL_NOTIFY_SIGNALQUALITY (0x00000005 | RIL_NCLASS_MISC) // @constdefine Signal Quality Notification
// lpData points to a RILSIGNALQUALITY structure
#define RIL_NOTIFY_MAINTREQUIRED (0x00000006 | RIL_NCLASS_MISC) // @constdefine BS notification that MS requires servicing; lpdata is NULL
#define RIL_NOTIFY_PRIVACYCHANGED (0x00000007 | RIL_NCLASS_MISC) // @constdefine Call Privacy Status; lpData points to DWORD of value RIL_CALLPRIVACY_*
#define RIL_NOTIFY_SIM_DATACHANGE (0x00000008 | RIL_NCLASS_MISC) // @constdefine data change notification; lpData points to DWORD of value RIL_SIMDATACHANGE_*
#define RIL_NOTIFY_ATLOGGING (0x00000009 | RIL_NCLASS_MISC) // @constdefine at command log data present
#define RIL_NOTIFY_SIMSTATUSCHANGED (0x00000010 | RIL_NCLASS_MISC) // @constdefine SIM card state has changed. Carries a DWORD (RIL_SIMSTATUSCHANGED_*) with the current state.
// Notification is sent only when encountering error conditions from the radio.
#define RIL_NOTIFY_EONS (0x00000011 | RIL_NCLASS_MISC) // @constdefine EONS information ready or updated; lpData is NULL
#define RIL_NOTIFY_NITZ (0x00000012 | RIL_NCLASS_MISC) // @constdefine NITZ Date/Time notification. lpData points to a RILNITZINFO structure.
#if defined (ZTE_P550A)
#define RIL_NOTIFY_SIM_BLOCKED (0x00000013 | RIL_NCLASS_MISC) // @constdefine EONS information ready or updated; lpData is NULL.lxl-stk-3
#endif
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Notification Device Specific | Device Specific notifications (RIL_NCLASS_DEVSPECIFIC)
//
// @comm None
//
// -----------------------------------------------------------------------------
#define RIL_NOTIFY_LOCATION (0x00008000 | RIL_NCLASS_DEVSPECIFIC) // @constdefine Location Services; lpData points to DWORD of value RIL_LOCATION_*
#define RIL_NOTIFY_ROAMSTATUS (0x00008001 | RIL_NCLASS_DEVSPECIFIC) // @constdefine Roaming Status; lpData points to DWORD of value RIL_ROAMSTATUS_*
#if defined (ZTE_P550A) // lpData ponts to DWORD of [ RIL_NDIS_XON |RIL_NDIS_XOFF ]
//guyu added 060913 begin
#define RIL_RESULT_LASTCALLTIME (0x00008002 | RIL_NCLASS_DEVSPECIFIC) /*guyu*/
//guyu added 060913 end
#endif
//
// Macro to extract notification class from notification code
//
#define NCLASS_FROM_NOTIFICATION(code) ((code) & 0xffff0000)
//
// Structure parameter flags
//
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @params RILNDISIPCONFIG
//
// @comm None
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?