次の方法で共有


RILEQUIPMENTSTATE (Compact 2013)

3/26/2014

This structure defines the state of the radio equipment.

Syntax

typedef struct rilequipmentstate_tag {
  DWORD cbSize;
  DWORD dwParams;
  DWORD dwRadioSupport;
  DWORD dwEqState;
  DWORD dwReadyState;
} RILEQUIPMENTSTATE, *LPRILEQUIPMENTSTATE;

Members

  • cbSize
    Size of the structure, in bytes.
  • dwEqState
    Any combination of Equipment State Constants bits that specify whether transmit or receive functionality is enabled.
  • dwReadyState
    Features that are currently ready on the phone. The following table shows the possible values.

    Constant

    Value

    Description

    RIL_READYSTATE_NONE

    0x00000000

    Nothing is ready yet.

    RIL_READYSTATE_INITIALIZED

    0x00000001

    The radio is initialized.

    RIL_READYSTATE_SIM

    0x00000002

    Subscriber Identity Module (SIM) functionality is ready.

    RIL_READYSTATE_SMS

    0x00000004

    Short Message Service (SMS) functionality is ready.

    RIL_READYSTATE_UNLOCKED

    0x00000008

    The SIM is unlocked, if applicable.

    RIL_READYSTATE_SIM_PB

    0x00000010

    The SIM phonebook has been fully copied to volatile memory and is ready to access.

    RIL_READYSTATE_EMERGENCY

    0x00000020

    Emergency functionality is available.

Requirements

Header

ril.h

See Also

Reference

RIL Structures
Driver-defined Radio ON/OFF State Constants
Equipment State Constants
Notification Radio State Change Constants
RIL_GetEquipmentState
RILEQUIPMENTSTATE Parameter Constants