Partager via


RIL_GetCurrentSystemType

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

RIL_Initialize