RIL_GetCurrentSystemType (Compact 2013)

3/26/2014

This function retrieves the current system types.

Syntax

HRESULT RIL_GetCurrentSystemType(
  HRIL hRil
);

Parameters

Return Value

Positive HRESULT values indicate success and are used as command identifications for matching the asynchronous call result. Negative HRESULT values indicate an error. Errors are defined in the Ril.h file.

An asynchronous result of RIL_RESULT_OK indicates success. The following table shows the possible values that the lpData notification parameter can point to.

Value

Description

RIL_SYSTEMTYPE_NONE

No Networks in Coverage.

RIL_SYSTEMTYPE_IS95A

IS-95A network support (Low Packet, or Circuit Switched Service).

RIL_SYSTEMTYPE_IS95B

IS-95B network support.

RIL_SYSTEMTYPE_1XRTTPACKET

CDMA-2000 Rev A (1xRTT) network support.

RIL_SYSTEMTYPE_GSM

GSM network support.

RIL_SYSTEMTYPE_GPRS

GPRS support.

RIL_SYSTEMTYPE_EDGE

GSM EDGE network support.

RIL_SYSTEMTYPE_1XEVDOPACKET

CDMA (1xEVDO) network support.

RIL_SYSTEMTYPE_1XEVDVPACKET

CDMA (1xEVDV) network support.

RIL_SYSTEMTYPE_UMTS

UMTS network support.

RIL_SYSTEMTYPE_HSDPA

HSDPA support.

Remarks

This query is currently only used on CDMA builds to control the 1XRTT indicator.

The RIL proxy translates the RIL_GetCurrentSystemType function into IOCTL_RIL_GetCurrentSystemType when the RIL proxy calls RIL_IOControl.

Requirements

Header

ril.h

Library

Ril.lib

See Also

Reference

RIL Functions
RIL_Initialize