RIL Registry Path Name 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 |
---|---|
RIL_REGISTRY_ROOT |
HKEY_LOCAL_MACHINE |
RIL_SECURE_REGISTRY_KEY |
"Comm\\Cellular\\Ril" |
These are the data element name keys:
Value |
Key Value |
---|---|
RIL_REGISTRY_VALUE_PDPCONTEXTS |
"Contexts" |
RIL_REGISTRY_VALUE_PACKETIO |
"Packet" |
RIL_REGISTRY_VALUE_WAITFORGPRSDEACTRESPONSE |
"WaitForDeactRsp" |
RIL_REGISTRY_VALUE_EONSENABLED |
"EONSEnabled" |
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 Radio Information Constants
RIL Registry Settings