Partager via


RIL Registry Radio Information Constants (Compact 2013)

3/26/2014

These constants are used to create registry paths related to physical radios.

These keys are part of the prefix or base for creating full registry keys:

Value

Key Value

Description

RIL_RADIOINFO_REGISTRY_KEY

"Comm\\Cellular\\RADIO"

The radio information registry node.

These are the data element name keys:

Value

Key Value

Description

RIL_REGISTRY_VALUE_RADIONAME

"RadioName"

The OEM supplied radio name.

RIL_REGISTRY_VALUE_RADIONUMBER

"RadioNumber"

The number of radios in the system.

RIL_REGISTRY_VALUE_RADIOTYPE

"RadioType"

The OEM supplied radio type which is one of the RIL Radio Type Constants values.

Example

BOOL  bRegKeyExist ;
DWORD dwRadioNumber = 0;
TCHAR szRadioName  [ MAX_PATH ];
TCHAR tszPathBuffer[ MAX_PATH ];

bRegKeyExist = GetRegistryDWORD(
  RIL_REGISTRY_ROOT
, RIL_RADIOINFO_REGISTRY_KEY
, RIL_REGISTRY_VALUE_RADIONUMBER
, &dwRadioNumber
  );

bRegKeyExist = GetRegistrySZ(
  RIL_REGISTRY_ROOT
, tszPathBuffer
, RIL_REGISTRY_VALUE_RADIONAME
, szRadioName
, MAX_PATH
  );

See Also

Reference

RIL Constants
RIL Registry Path Name Constants
RIL Registry Settings