Share via


RILERRORCODES

Warning  The Cellular COM API is deprecated in Windows 10. This content is provided to support maintenance of OEM and mobile operator created Windows Phone 8.1 applications.

 

RIL_ERROR_MASK is used to perform a bitwise logical OR with each error code so as to return an HRESULT error. RIL_ERROR_MASK is a constant, with the value of 0x81000000.

Syntax

enum RILERRORCODES {
    RIL_E_PHONEFAILURE = RIL_ERROR_MASK | 0x0001,
    RIL_E_NOCONNECTION = RIL_ERROR_MASK | 0x0002,
    RIL_E_LINKRESERVED = RIL_ERROR_MASK | 0x0003,
    RIL_E_OPNOTALLOWED = RIL_ERROR_MASK | 0x0004,
    RIL_E_OPNOTSUPPORTED = RIL_ERROR_MASK | 0x0005,
    RIL_E_UICCNOTINSERTED = RIL_ERROR_MASK | 0x0006,
    RIL_E_UICCFAILURE = RIL_ERROR_MASK | 0x0007,
    RIL_E_UICCBUSY = RIL_ERROR_MASK | 0x0008,
    RIL_E_UICCWRONG = RIL_ERROR_MASK | 0x0009,
    RIL_E_INCORRECTPASSWORD = RIL_ERROR_MASK | 0x000A,
    RIL_E_MEMORYFULL = RIL_ERROR_MASK | 0x000B,
    RIL_E_INVALIDINDEX = RIL_ERROR_MASK | 0x000C,
    RIL_E_NOTFOUND = RIL_ERROR_MASK | 0x000D,
    RIL_E_MEMORYFAILURE = RIL_ERROR_MASK | 0x000E,
    RIL_E_TEXTSTRINGTOOLONG = RIL_ERROR_MASK | 0x000F,
    RIL_E_INVALIDTEXTSTRING = RIL_ERROR_MASK | 0x0010,
    RIL_E_DIALSTRINGTOOLONG = RIL_ERROR_MASK | 0x0011,
    RIL_E_INVALIDDIALSTRING = RIL_ERROR_MASK | 0x0012,
    RIL_E_NONETWORKSVC = RIL_ERROR_MASK | 0x0013,
    RIL_E_NETWORKTIMEOUT = RIL_ERROR_MASK | 0x0014,
    RIL_E_EMERGENCYONLY = RIL_ERROR_MASK | 0x0015,
    RIL_E_TELEMATICIWUNSUPPORTED = RIL_ERROR_MASK | 0x0016,
    RIL_E_SMTYPE0UNSUPPORTED = RIL_ERROR_MASK | 0x0017,
    RIL_E_CANTREPLACEMSG = RIL_ERROR_MASK | 0x0018,
    RIL_E_PROTOCOLIDERROR = RIL_ERROR_MASK | 0x0019,
    RIL_E_DCSUNSUPPORTED = RIL_ERROR_MASK | 0x001A,
    RIL_E_MSGCLASSUNSUPPORTED = RIL_ERROR_MASK | 0x001B,
    RIL_E_DCSERROR = RIL_ERROR_MASK | 0x001C,
    RIL_E_CMDCANTBEACTIONED = RIL_ERROR_MASK | 0x001D,
    RIL_E_CMDUNSUPPORTED = RIL_ERROR_MASK | 0x001E,
    RIL_E_CMDERROR = RIL_ERROR_MASK | 0x001F,
    RIL_E_MSGBODYHEADERERROR = RIL_ERROR_MASK | 0x0020,
    RIL_E_SCBUSY = RIL_ERROR_MASK | 0x0021,
    RIL_E_NOSCSUBSCRIPTION = RIL_ERROR_MASK | 0x0022,
    RIL_E_SCSYSTEMFAILURE = RIL_ERROR_MASK | 0x0023,
    RIL_E_INVALIDADDRESS = RIL_ERROR_MASK | 0x0024,
    RIL_E_DESTINATIONBARRED = RIL_ERROR_MASK | 0x0025,
    RIL_E_REJECTEDDUPLICATE = RIL_ERROR_MASK | 0x0026,
    RIL_E_VPFUNSUPPORTED = RIL_ERROR_MASK | 0x0027,
    RIL_E_VPUNSUPPORTED = RIL_ERROR_MASK | 0x0028,
    RIL_E_UICCMSGSTORAGEFULL = RIL_ERROR_MASK | 0x0029,
    RIL_E_NOUICCMSGSTORAGE = RIL_ERROR_MASK | 0x002A,
    RIL_E_UICCTOOLKITBUSY = RIL_ERROR_MASK | 0x002B,
    RIL_E_UICCDOWNLOADERROR = RIL_ERROR_MASK | 0x002C,
    RIL_E_MSGSVCRESERVED = RIL_ERROR_MASK | 0x002D,
    RIL_E_INVALIDMSGPARAM = RIL_ERROR_MASK | 0x002E,
    RIL_E_UNKNOWNSCADDRESS = RIL_ERROR_MASK | 0x002F,
    RIL_E_UNASSIGNEDNUMBER = RIL_ERROR_MASK | 0x0030,
    RIL_E_MSGBARREDBYOPERATOR = RIL_ERROR_MASK | 0x0031,
    RIL_E_MSGCALLBARRED = RIL_ERROR_MASK | 0x0032,
    RIL_E_MSGXFERREJECTED = RIL_ERROR_MASK | 0x0033,
    RIL_E_DESTINATIONOUTOFSVC = RIL_ERROR_MASK | 0x0034,
    RIL_E_UNIDENTIFIEDSUBCRIBER = RIL_ERROR_MASK | 0x0035,
    RIL_E_SVCUNSUPPORTED = RIL_ERROR_MASK | 0x0036,
    RIL_E_UNKNOWNSUBSCRIBER = RIL_ERROR_MASK | 0x0037,
    RIL_E_NETWKOUTOFORDER = RIL_ERROR_MASK | 0x0038,
    RIL_E_NETWKTEMPFAILURE = RIL_ERROR_MASK | 0x0039,
    RIL_E_CONGESTION = RIL_ERROR_MASK | 0x003A,
    RIL_E_RESOURCESUNAVAILABLE = RIL_ERROR_MASK | 0x003B,
    RIL_E_SVCNOTSUBSCRIBED = RIL_ERROR_MASK | 0x003C,
    RIL_E_SVCNOTIMPLEMENTED = RIL_ERROR_MASK | 0x003D,
    RIL_E_INVALIDMSGREFERENCE = RIL_ERROR_MASK | 0x003E,
    RIL_E_INVALIDMSG = RIL_ERROR_MASK | 0x003F,
    RIL_E_INVALIDMANDATORYINFO = RIL_ERROR_MASK | 0x0040,
    RIL_E_MSGTYPEUNSUPPORTED = RIL_ERROR_MASK | 0x0041,
    RIL_E_ICOMPATIBLEMSG = RIL_ERROR_MASK | 0x0042,
    RIL_E_INFOELEMENTUNSUPPORTED = RIL_ERROR_MASK | 0x0043,
    RIL_E_PROTOCOLERROR = RIL_ERROR_MASK | 0x0044,
    RIL_E_NETWORKERROR = RIL_ERROR_MASK | 0x0045,
    RIL_E_MESSAGINGERROR = RIL_ERROR_MASK | 0x0046,
    RIL_E_NOTREADY = RIL_ERROR_MASK | 0x0047,
    RIL_E_TIMEDOUT = RIL_ERROR_MASK | 0x0048,
    RIL_E_CANCELLED = RIL_ERROR_MASK | 0x0049,
    RIL_E_NONOTIFYCALLBACK = RIL_ERROR_MASK | 0x004A,
    RIL_E_OPFMTUNAVAILABLE = RIL_ERROR_MASK | 0x004B,
    RIL_E_NORESPONSETODIAL = RIL_ERROR_MASK | 0x004C,
    RIL_E_SECURITYFAILURE = RIL_ERROR_MASK | 0x004D,
    RIL_E_RADIOFAILEDINIT = RIL_ERROR_MASK | 0x004E,
    RIL_E_DRIVERINITFAILED = RIL_ERROR_MASK | 0x004F,
    RIL_E_RADIONOTPRESENT = RIL_ERROR_MASK | 0x0050,
    RIL_E_RADIOOFF = RIL_ERROR_MASK | 0x0051,
    RIL_E_ILLEGALMS = RIL_ERROR_MASK | 0x0052,
    RIL_E_ILLEGALME = RIL_ERROR_MASK | 0x0053,
    RIL_E_GPRSSERVICENOTALLOWED = RIL_ERROR_MASK | 0x0054,
    RIL_E_PLMNNOTALLOWED = RIL_ERROR_MASK | 0x0055,
    RIL_E_LOCATIONAREANOTALLOWED = RIL_ERROR_MASK | 0x0056,
    RIL_E_ROAMINGNOTALLOWEDINTHISLOCATIONAREA = RIL_ERROR_MASK | 0x0057,
    RIL_E_SERVICEOPTIONNOTSUPPORTED = RIL_ERROR_MASK | 0x0058,
    RIL_E_REQUESTEDSERVICEOPTIONNOTSUBSCRIBED = RIL_ERROR_MASK | 0x0059,
    RIL_E_SERVICEOPTIONTEMPORARILYOUTOFORDER = RIL_ERROR_MASK | 0x005A,
    RIL_E_PDPAUTHENTICATIONFAILURE = RIL_ERROR_MASK | 0x005B,
    RIL_E_INVALIDMOBILECLASS = RIL_ERROR_MASK | 0x005C,
    RIL_E_UNSPECIFIEDGPRSERROR = RIL_ERROR_MASK | 0x005D,
    RIL_E_RADIOREBOOTED = RIL_ERROR_MASK | 0x005E,
    RIL_E_INVALIDCONTEXTSTATE = RIL_ERROR_MASK | 0x005F,
    RIL_E_MAXCONTEXTS = RIL_ERROR_MASK | 0x0060,
    RIL_E_SYNCHRONOUS_DATA_UNAVAILABLE = RIL_ERROR_MASK | 0x0061,
    RIL_E_FDNRESTRICT = RIL_ERROR_MASK | 0x0062,
    RIL_E_INVALIDASYNCCOMMANDRESPONSE = RIL_ERROR_MASK | 0x0063,
    RIL_E_INCOMPATIBLEPROXYDRIVER = RIL_ERROR_MASK | 0x0064,
    RIL_E_INVALIDDRIVERVERSION = RIL_ERROR_MASK | 0x0065,
    RIL_E_USIMCALLMODIFIED = RIL_ERROR_MASK | 0x0066,
    RIL_E_PASSWORDMISMATCH = RIL_ERROR_MASK | 0x0067,
    RIL_E_INVALIDCONTEXTACTIVATIONSTRING = RIL_ERROR_MASK | 0x0068,
    RIL_E_UICCAPPINACCESSIBLE = RIL_ERROR_MASK | 0x0069,
    RIL_E_UICCPINREQUIRED = RIL_ERROR_MASK | 0x006A,
    RIL_E_UICCPUKREQUIRED = RIL_ERROR_MASK | 0x006B,
    RIL_E_UICCPUKBLOCKED = RIL_ERROR_MASK | 0x006C,
    RIL_E_EXECUTORNOTREADY = RIL_ERROR_MASK | 0x006D,
    RIL_E_INVALIDUICCKEYREF = RIL_ERROR_MASK | 0x006E,
    RIL_E_UICCINACTIVE = RIL_ERROR_MASK | 0x006F,
    RIL_E_PERSOPUKREQUIRED = RIL_ERROR_MASK | 0x0070,
    RIL_E_PERSOPUKBLOCKED = RIL_ERROR_MASK | 0x0071,
    RIL_E_PERSOCHECKFAILED = RIL_ERROR_MASK | 0x0072,
    RIL_E_INVALIDUICCPATH = RIL_ERROR_MASK | 0x0073,
    RIL_E_IMSTEMPFAILURE = RIL_ERROR_MASK | 0x0074,
    RIL_E_UICCNOTREADY = RIL_ERROR_MASK | 0x0075,
    RIL_E_UICCPOWEROFF = RIL_ERROR_MASK | 0x0076,
    RIL_E_CALLISACTIVE = RIL_ERROR_MASK | 0x0077
} ;

Constants

  • RIL_E_PHONEFAILUR
    Phone failure.

  • RIL_E_NOCONNECTION
    No connection.

  • RIL_E_NOCONNECTION
    Link reserved.

  • RIL_E_OPNOTALLOWED
    Option not allowed.

  • RIL_E_OPNOTSUPPORTEDE
    Option not supported.

  • RIL_E_UICCNOTINSERTED
    UICC not supported.

  • RIL_E_UICCFAILUR
    UICC failure.

  • RIL_E_UICCBUSY
    UICC busy.

  • RIL_E_UICCWRONG
    Incorrect UICC.

  • RIL_E_INCORRECTPASSWORD
    Incorrect password.

  • RIL_E_MEMORYFULL
    Memory full.

  • RIL_E_INVALIDINDEX
    Invalid index.

  • RIL_E_NOTFOUND
    Not found.

  • RIL_E_MEMORYFAILUR
    Memory failure.

  • RIL_E_TEXTSTRINGTOOLON
    Text string too long.

  • RIL_E_INVALIDTEXTSTRIN
    Invalid text string.

  • RIL_E_DIALSTRINGTOOLONG
    Dial string too long.

  • RIL_E_INVALIDDIALSTRING
    Invalid dial string.

  • RIL_E_NONETWORKSVC
    No network service.

  • RIL_E_NETWORKTIMEOUT
    Network time-out.

  • RIL_E_EMERGENCYONLY
    Emergency only.

  • RIL_E_TELEMATICIWUNSUPPORTED
    Telematic IW unsupported.

  • RIL_E_SMTYPE0UNSUPPORTED
    SM type unsupported.

  • RIL_E_CANTREPLACEMSG
    Can’t replace message.

  • RIL_E_PROTOCOLIDERROR
    Protocol ID error.

  • RIL_E_DCSUNSUPPORTED
    DCS unsupported.

  • RIL_E_MSGCLASSUNSUPPORTE
    Message class unsupported.

  • RIL_E_DCSERROR
    DCS error.

  • RIL_E_CMDCANTBEACTIONED
    Command can’t be actioned.

  • RIL_E_CMDUNSUPPORTED
    Command not supported.

  • RIL_E_CMDERROR
    Command error.

  • RIL_E_MSGBODYHEADERERRO
    Message body header error.

  • RIL_E_SCBUSY
    SC busy.

  • RIL_E_NOSCSUBSCRIPTION
    No SC subscription.

  • RIL_E_SCSYSTEMFAILURE
    SC system failure.

  • RIL_E_INVALIDADDRESS
    Invalid address.

  • RIL_E_DESTINATIONBARRED
    Destination barred.

  • RIL_E_REJECTEDDUPLICAT
    Duplicate rejected

  • RIL_E_VPFUNSUPPORTED
    VPF unsupported.

  • RIL_E_VPUNSUPPORTED
    VP unsupported.

  • RIL_E_UICCMSGSTORAGEFULL
    UICC Message storage full.

  • RIL_E_NOUICCMSGSTORAGE
    No UICC message storeage.

  • RIL_E_UICCTOOLKITBUSY
    UICC toolkit busy.

  • RIL_E_UICCDOWNLOADERROR
    UICC download error.

  • RIL_E_MSGSVCRESERVED
    Message service reserved.

  • RIL_E_INVALIDMSGPARAM
    Invalid message parameter.

  • RIL_E_UNKNOWNSCADDRESS
    Unknown SC address.

  • RIL_E_UNASSIGNEDNUMBER
    Unassigned number.

  • RIL_E_MSGBARREDBYOPERAT
    Message barred by operator.

  • RIL_E_MSGCALLBARRED
    Message call barred.

  • RIL_E_MSGXFERREJECTED
    Message transfer rejected.

  • RIL_E_DESTINATIONOUTOFSVC
    Destination out of service.

  • RIL_E_UNIDENTIFIEDSUBCRIBER
    Unidentified subscriber

  • RIL_E_SVCUNSUPPORTED
    Service unsupported.

  • RIL_E_UNKNOWNSUBSCRIBER
    Unknown subscriber.

  • RIL_E_NETWKOUTOFORDER
    Network out of order.

  • RIL_E_NETWKTEMPFAILURE
    Temporary network failure.

  • RIL_E_CONGESTION
    Network congestion.

  • RIL_E_RESOURCESUNAVAILABLE
    Resources unavailable.

  • RIL_E_SVCNOTSUBSCRIBED
    Service not subscribed.

  • RIL_E_SVCNOTIMPLEMENTED
    Service not implemented.

  • RIL_E_INVALIDMSGREFERENCE
    Invalid message reference.

  • RIL_E_INVALIDMSG
    Invalid message.

  • RIL_E_INVALIDMANDATORYINFO
    Invalid mandatory information.

  • RIL_E_MSGTYPEUNSUPPORTED
    Unsupported message type.

  • RIL_E_ICOMPATIBLEMSG
    Incompatible message.

  • RIL_E_INFOELEMENTUNSUPPORTED
    Information element unsupported.

  • RIL_E_PROTOCOLERROR
    Protocol error.

  • RIL_E_NETWORKERROR
    Network error.

  • RIL_E_MESSAGINGERROR
    Messaging error.

  • RIL_E_NOTREADY
    Not ready.

  • RIL_E_TIMEDOUT
    System timed out.

  • RIL_E_CANCELLED
    Cancelled.

  • RIL_E_NONOTIFYCALLBACK
    Required notify callback was not provided.

  • RIL_E_OPFMTUNAVAILABLE
    Operator format is not available.

  • RIL_E_NORESPONSETODIAL
    Dial operation has not received a response for a long time.

  • RIL_E_SECURITYFAILURE
    Security failure.

  • RIL_E_RADIOFAILEDINIT
    Radio failed to initialize correctly.

  • RIL_E_DRIVERINITFAILED
    There was a problem initializing the radio driver.

  • RIL_E_RADIONOTPRESENT
    The radio is not present.

  • RIL_E_RADIOOFF
    The radio is in Off mode.

  • RIL_E_ILLEGALMS
    Illegal Mobile Station. Used with GPRS.

  • RIL_E_ILLEGALME
    Illegal Mobile Equipment. Used with GPRS.

  • RIL_E_GPRSSERVICENOTALLOWED
    GPRS Service not allowed

  • RIL_E_PLMNNOTALLOWED
    PLMN not allowed. Used with GPRS.

  • RIL_E_LOCATIONAREANOTALLOWED
    Location area not allowed. Used with GPRS.

  • RIL_E_ROAMINGNOTALLOWEDINTHISLOCATIONAREA
    Roaming not allowed in this location area.

  • RIL_E_SERVICEOPTIONNOTSUPPORTED
    Service option not supported. Used with GPRS.

  • RIL_E_REQUESTEDSERVICEOPTIONNOTSUBSCRIBED
    Requested service option not subscribed. Used with GPRS.

  • RIL_E_SERVICEOPTIONTEMPORARILYOUTOFORDER
    Service option temporarily out of order. Used with GPRS.

  • RIL_E_PDPAUTHENTICATIONFAILURE
    PDP authentication failure. Used with GPRS.

  • RIL_E_INVALIDMOBILECLASS
    Invalid mobile class. Used with GPRS.

  • RIL_E_UNSPECIFIEDGPRSERROR
    Unspecific GPRS error.

  • RIL_E_RADIOREBOOTED
    The command failed because the radio reset itself unexpectedly.

  • RIL_E_INVALIDCONTEXTSTATE
    The command failed because the requested context state is invalid. Used by NDIS.

  • RIL_E_MAXCONTEXTS
    The command failed because there are no more radio contexts. Used by NDIS.

  • RIL_E_SYNCHRONOUS_DATA_UNAVAILABLE
    Synchronous data unavailable

  • RIL_E_FDNRESTRICT
    Fixed Dialing Numbers (FDN) restriction.

  • RIL_E_INVALIDASYNCCOMMANDRESPONSE
    The RIL driver has issued an invalid asynchronous command response.

  • RIL_E_INCOMPATIBLEPROXYDRIVER
    Incompatible proxy driver.

  • RIL_E_INVALIDDRIVERVERSION
    Invalid driver version.

  • RIL_E_USIMCALLMODIFIED
    USIM call modified.

  • RIL_E_PASSWORDMISMATCH
    Password mismatch.

  • RIL_E_INVALIDCONTEXTACTIVATIONSTRING
    Invalid text activation string.

  • RIL_E_UICCAPPINACCESSIBLE
    UICC application is inaccessible.

  • RIL_E_UICCPINREQUIRED
    UICC PIN is required (PIN is enabled and not verified).

  • RIL_E_UICCPUKREQUIRED
    UICC PUK is required (PIN is blocked).

  • RIL_E_UICCPUKBLOCKED
    UICC lock is permanently blocked (PUK is blocked).

  • RIL_E_EXECUTORNOTREADY
    executor is not ready (not configured or still starting up).

  • RIL_E_INVALIDUICCKEYREF
    UICC application does not have any locks associated with it.

  • RIL_E_UICCINACTIVE
    Operation requires the specified UICC app to be active.

  • RIL_E_PERSOPUKREQUIRED
    Personalization PUK is required (password is blocked).

  • RIL_E_PERSOPUKBLOCKED
    Personalization lock is permanently blocked (PUK is blocked).

  • RIL_E_PERSOCHECKFAILED
    Operation failed because a personalization check failed.

  • RIL_E_INVALIDUICCPATH
    UICC directory/file path is invalid.

  • RIL_E_IMSTEMPFAILURE
    IMS request (e.g., SendMsg) failed due to a temporary error.

  • RIL_E_UICCNOTREADY
    UICC is not ready.

  • RIL_E_UICCPOWEROFF
    UICC slot power is off.

  • RIL_E_CALLISACTIVE
    Dial failed because a call is already active (3GPP2 only).

Remarks

Requirements

Header: Generated from CellularAPI_OEM.idl

Cellular COM enumerations

 

 

Send comments about this topic to Microsoft