Partager via


RIL Functions (Compact 2013)

3/26/2014

The following table lists the RIL functions and a description of the purpose of each function.

Note

RIL supports asynchronous functions, synchronous functions, and functions that can be either asynchronous or synchronous. Most of the RIL functions are asynchronous. The synchronous functions and the functions that can be either asynchronous or synchronous are noted in the following function descriptions.

RIL Functions

Description

GetEventName

This is a helper function that returns an event name with a radio identifier.

GetRadioIdentifier

This is a helper function that returns the radio identifier for a given radio.

GetRegistryKeyPath

This is a helper function that returns a registry path with a radio identifier.

RIL_AddCallForwarding

This function adds a call forwarding rule.

RIL_AddPreferredOperator

This function adds a specified operator to the list of preferred operators.

RIL_Answer

Deprecated.

This function is implemented by a RIL driver. It is responsible for answering the currently offered call.

This function is deprecated. The RIL clients developed by Microsoft, for example CellCore, do not use this function. RIL clients developed by Microsoft partners should not use this function. The function exists in Windows Embedded Compact 2013 but will be removed in the following Windows Embedded Compact release. Use RIL_ManageCalls.

RIL_CancelSupServiceDataSession

This function cancels the current supplementary service session.

RIL_ChangeCallBarringPassword

This function changes the password for the specified type of call barring.

RIL_ChangeLockingPassword

This function changes the locking password for the specified facility.

RIL_ClearCCBSRegistration

This function clears the registration for a completion of the call to busy subscriber (CCBS) index.

RIL_Deinitialize

This function deinitializes RIL. This function is synchronous.

RIL_DeleteGPRSContext

This function deletes a particular GPRS context.

RIL_DeleteMinimumQualityOfService

This function deletes the minimum quality of service profile for a context.

RIL_DeleteMsg

This function deletes a message from the current storage location.

RIL_DeletePhonebookEntry

This function deletes a phonebook entry from the current storage location.

RIL_DeleteRequestedQualityOfService

This function deletes the requested quality of service profile for a context.

RIL_DevSpecific

This function is used by an OEM to provide custom calls into the RIL driver. This function can be asynchronous or synchronous.

RIL_Dial

This function is responsible for dialing voice and data calls.

RIL_DisableNotifications

This function disables classes of notifications for a client. This function is synchronous.

RIL_EnableNotifications

This function enables additional classes of notifications for a client. This function is synchronous.

RIL_EnterGPRSDataMode

This function enters into a GPRS data state.

RIL_EnumRadios

This function retrieves the count of radios. It optionally retrieves a list of RADIOINFO structures for the radios.

RIL_FetchSimToolkitCmd

Important   This API is not supported in Windows Embedded Compact 2013.

RIL_GetAllOperatorsList

This function retrieves the built-in list of all known operators.

RIL_GetATR

This function retrieves the Answer To Reset (ATR) string from the SIM.

RIL_GetAudioDevices

This function retrieves the current transmit and receive audio devices.

RIL_GetAudioGain

This function retrieves audio gain information.

RIL_GetAudioMuting

This function is implemented by a RIL driver. It is responsible for querying the mute status of the radio.

RIL_GetBearerServiceOptions

This function retrieves the current data bearer service options. This function can be asynchronous or synchronous.

RIL_GetCallBarringStatus

This function retrieves the status of the specified type of call barring.

RIL_GetCallerIdSettings

This function retrieves the current caller ID settings.

RIL_GetCallForwardingSettings

This function retrieves current call forwarding rules.

RIL_GetCallWaitingSettings

This function retrieves information classes that call waiting is currently enabled for.

RIL_GetCCBSStatus

This function retrieves the status for a Completion of Call to Busy Subscriber (CCBS) index.

RIL_GetCellBroadcastMsgConfig

This function retrieves the cell broadcast messaging configuration.

RIL_GetCellTowerInfo

This function retrieves information about the cell tower currently used by the phone.

RIL_GetClosedGroupSettings

This function retrieves the current closed user group settings.

RIL_GetCurrentAddressId

This function retrieves the current or default address identification for devices that support multiple device addresses.

RIL_GetCurrentOperator

This function retrieves the operator the device is currently registered with.

RIL_GetCurrentPrivacyStatus

This function retrieves the current voice privacy status.

RIL_GetCurrentSystemType

This function retrieves the current system types.

RIL_GetDataCompression

This function retrieves data compression options. This function can be asynchronous or synchronous.

RIL_GetDevCaps

This function is responsible for retrieving specific device capabilities.

RIL_GetDialedIdSettings

This function retrieves the current settings for the dialed ID.

RIL_GetDriverVersion

This function retrieves the driver version information.

RIL_GetEquipmentInfo

This function retrieves manufacturer equipment information.

RIL_GetEquipmentState

This function retrieves the current equipment state. This function is synchronous.

RIL_GetErrorCorrection

This function retrieves error correction options. This function can be asynchronous or synchronous.

RIL_GetGPRSAddress

This function retrieves the PDP address for a particular context. This function can be asynchronous or synchronous.

RIL_GetGPRSAttached

This function retrieves the GPRS attach state. This function can be asynchronous or synchronous.

RIL_GetGPRSClass

This function retrieves the current GPRS class.

RIL_GetGPRSContextActivatedList

This function retrieves the GPRS activation state for all contexts. This function can be asynchronous or synchronous.

RIL_GetGPRSContextList

This function retrieves a list of GPRS contexts. This function can be asynchronous or synchronous.

RIL_GetGPRSRegistrationStatus

This function retrieves the current phone GPRS registration status. This function can be asynchronous or synchronous.

RIL_GetHideConnectedIdSettings

This function retrieves the current settings for the Hide Connected ID option.

RIL_GetHideIdSettings

This function retrieves the current settings for the Hide ID option.

RIL_GetHSCSDCallSettings

This function retrieves High Speed Circuit Switched Data options.

RIL_GetHSCSDOptions

This function retrieves High Speed Circuit Switched Data (HSCSD) options.

RIL_GetLockingStatus

This function retrieves locking status for the specified facility.

RIL_GetMinimumQualityOfServiceList

This function retrieves the minimum quality of service profile for all contexts. This function can be asynchronous or synchronous.

RIL_GetMOSMSService

This function retrieves the preferred Short Message Service (SMS) service option for mobile-originated messages.

RIL_GetMsgConfig

This function retrieves the current messaging configuration.

RIL_GetMsgServiceOptions

This function retrieves the current messaging service options.

RIL_GetOperatorList

This function retrieves the list of available operators.

RIL_GetPacketByteCount

This function retrieves the cumulative count of data bytes transferred by the radio.

RIL_GetPhonebookOptions

This function retrieves the current phonebook options.

RIL_GetPhoneLockedState

This function retrieves the current locked state of the phone.

RIL_GetPreferredOperatorList

This function retrieves the list of preferred operators.

RIL_GetPreferredPrivacyMode

This function retrieves the user's preferred privacy settings.

RIL_GetRadioPresence

This function determines whether the radio is present. This function is synchronous.

RIL_GetRegistrationStatus

This function retrieves the current phone registration status. This function can be asynchronous or synchronous.

RIL_GetRequestedQualityOfServiceList

This function retrieves the requested quality of service profile for all contexts. This function can be asynchronous or synchronous.

RIL_GetRLPOptions

This function retrieves the current radio link protocol options. This function can be asynchronous or synchronous.

RIL_GetRoamingMode

This function retrieves the CDMA roaming mode.

RIL_GetSerialPortHandle

This function retrieves a serial port handle to be used for data communications. This function is synchronous.

RIL_GetSerialPortHandleFromContextID

This function retrieves a serial port handle from the PDP context to be used for data communications. This function is synchronous.

RIL_GetSerialPortStatistics

This function retrieves a serial port handle statistics. This function is synchronous.

RIL_GetSignalQuality

This function retrieves information about the received signal quality. This function can be asynchronous or synchronous.

RIL_GetSimInfo

This function retrieves a RILSIMINFO structure for a RIL instance. This interface supports multiple SIM cards and SIM card changes.

RIL_GetSimRecordStatus

This function retrieves the status of the Subscriber Identity Module (SIM) record.

RIL_GetSimToolkitProfile

Important   This API is not supported in Windows Embedded Compact 2013.

RIL_GetSubscriberNumbers

This function retrieves information about all subscriber lines available for use.

RIL_GetSystemTime

This function retrieves the system time from the network.

RIL_GetUserIdentity

This function retrieves the International Mobile Subscriber Identity (IMSI) of the phone user.

RIL_GPRSAnswer

This function answers an incoming GPRS activation request.

RIL_Hangup

Deprecated.

This function is responsible for ending all calls.

This function is deprecated. The RIL clients developed by Microsoft, for example CellCore, do not use this function. RIL clients developed by Microsoft partners should not use this function. The function exists in Windows Embedded Compact 2013 but will be removed in the following Windows Embedded Compact release. Use RIL_ManageCalls. For different call types, you can use the Call Management Constants.

RIL_Initialize

This function initializes RIL for use by a client. This function is synchronous.

RIL_InitializeEmergency

Deprecated.

This function is deprecated. Initializes RIL for use by an emergency call module. This function is synchronous.

RIL_LogEventToRadio

This function sends a string to the radio for logging purposes.

RIL_ManageCalls

This function modifies the state of active, held, and waiting calls.

RIL_NDIS_SetGPRSContextActivated

This function sets the GPRS activation state for a context for an NDIS connection.

RIL_ReadMsg

This function reads a message from the current storage location.

RIL_ReadPhonebookEntries

This function reads phonebook entries from the specified range of indexes of the current storage location.

RIL_ReadPhonebookEntriesEx

This function reads phonebook entries from the specified range of indexes of the current storage location.

RIL_RegisterOnNetwork

This function registers a device on a wireless network.

RIL_RemoveCallForwarding

This function removes a call forwarding rule.

RIL_RemovePreferredOperator

This function removes a specified operator from the list of preferred operators.

RIL_ResetPacketByteCount

This function resets the cumulative count of data bytes transferred by the radio.

RIL_SendAKey

This function sends the user string to the device for authentication key (AKey) verification.

RIL_SendDTMF

This function sends Dual-Tone Multifrequency (DTMF) tones across an established voice call.

RIL_SendFlash

This function sends a flash message.

RIL_SendMsg

This function sends a message.

RIL_SendMsgAcknowledgement

This function sends a message acknowledgement.

RIL_SendRestrictedSimCmd

This function sends a specified restricted command to the SIM.

RIL_SendSimCmd

This function sends a specified command to the SIM.

RIL_SendSimToolkitCmdResponse

Important   This API is not supported in Windows Embedded Compact 2013.

RIL_SendSimToolkitEnvelopeCmd

Important   This API is not supported in Windows Embedded Compact 2013.

RIL_SendSimToolkitEventDownload

Important   This API is not supported in Windows Embedded Compact 2013.

RIL_SendStoredMsg

This function sends a message from the current storage location.

RIL_SendSupServiceData

This function sends supplementary service (USSD) data.

RIL_SetAudioDevices

This function is implemented by a RIL driver. It is responsible for setting the devices to be used for transmitting and receiving audio from the radio.

RIL_SetAudioGain

This function sets audio gain information.

RIL_SetAudioMuting

This function mutes or un-mutes the input audio device.

RIL_SetBearerServiceOptions

This function sets options related to the data connection bearer service.

RIL_SetCallBarringStatus

This function enables or disables the specified type of call barring.

RIL_SetCallerIdStatus

This function sets the current caller ID status.

RIL_SetCallForwardingStatus

This function enables or disables the specified call forwarding rule.

RIL_SetCallWaitingStatus

This function enables or disables call waiting for the specified information class.

RIL_SetCellBroadcastMsgConfig

This function sets the cell broadcast message configuration.

RIL_SetClosedGroupSettings

This function sets the closed user group settings.

RIL_SetCostInfo

This function sets advice-of-charge settings.

RIL_SetCurrentAddressId

This function sets the current or default address identification for devices that support multiple device addresses.

RIL_SetDataCompression

This function sets data compression options.

RIL_SetDialedIdStatus

This function sets the current status of the dialed ID.

RIL_SetDTMFMonitoring

This function detects DTMF tones from an established voice call.

RIL_SetEquipmentState

This function sets the radio equipment state.

RIL_SetErrorCorrection

This function sets error correction options.

RIL_SetGPRSAttached

This function sets the GPRS attach state.

RIL_SetGPRSClass

This function sets the current GPRS class.

RIL_SetGPRSContext

This function sets a particular GPRS context.

RIL_SetGPRSContextActivated

This function sets the GPRS activation state for a context.

RIL_SetHideConnectedIdStatus

This function sets the current status for the Hide Connected ID option.

RIL_SetHideIdStatus

This function enables or disables Hide ID option.

RIL_SetHSCSDOptions

This function sets High Speed Circuit Switched Data (HSCSD) options.

RIL_SetLockingStatus

This function enables or disables locking status for the specified facility.

RIL_SetMinimumQualityOfService

This function sets the minimum quality of service profile for a context.

RIL_SetMOSMSService

This function sets the preferred Short Message Service (SMS) service option for mobile-originated messages.

RIL_SetMsgConfig

This function sets messaging configuration.

RIL_SetMsgServiceOptions

This function sets messaging service options.

RIL_SetPhonebookOptions

This function sets phonebook options.

RIL_SetPreferredPrivacyMode

This function sets the user's preferred privacy setting.

RIL_SetRequestedQualityOfService

This function sets the requested quality of service profile for a context.

RIL_SetRLPOptions

This function sets Radio Link Protocol (RLP) options.

RIL_SetRoamingMode

This function sets the CDMA roaming mode.

RIL_SetSimToolkitProfile

Important   This API is not supported in Windows Embedded Compact 2013.

RIL_StartDTMF

This function sends a continuous DTMF tone on the voice channel of an active call. To stop the tone call RIL_StopDTMF.

RIL_StopDTMF

This function stops a continuous DTMF tone that was started by RIL_StopDTMF.

RIL_TerminateSimToolkitSession

Important   This API is not supported in Windows Embedded Compact 2013.

RIL_TransferCall

This function transfers incoming alerting call to the specified number.

RIL_UnlockPhone

This function removes the current lock that is applied to the phone.

RIL_UnregisterFromNetwork

This function unregisters the device from the network.

RIL_WriteMsg

This function writes a message to the current storage location.

RIL_WritePhonebookEntry

This function writes a phone book entry to the current storage location.

RIL_WritePhonebookEntryEx

This function writes a Universal Subscriber Identity Module (USIM) phone book entry to the current storage location.

RILCALLTYPECALLBACK

This callback function determines whether an incoming call is a push-to-talk call.

RILNDISRECEIVECALLBACK

This callback function is called when a packet is received by the RIL driver.

RILNDISSTATUSCALLBACK

This callback function is called when a NDIS packet status change occurred in the RIL driver.

RILNDISTRANSMITCALLBACK

This callback function is called when a packet is sent by the RIL driver.

RILNOTIFYCALLBACK

This callback function is called when the radio sends an unsolicited notification.

RILRESULTCALLBACK

This callback function is called to send a return value after an asynchronous RIL function call.

See Also

Other Resources

Radio Interface Layer