RILGPRSCONTEXT (Compact 2013)

3/26/2014

This structure stores a Packet Data Protocol (PDP) context that represents a specific configuration for packet data communication.

Syntax

typedef struct rilgprscontextcaps_tag {
  DWORD cbSize;
  DWORD dwParams;
  DWORD dwContextID;
  DWORD dwProtocolType;
  DWORD wszAccessPointName[MAXLENGTH_GPRSACCESSPOINTNAME];
  WCHAR wszAddress[MAXLENGTH_GPRSADDRESS];
  DWORD dwDataCompression;
  DWORD dwHeaderCompression;
  DWORD dwParameterLength;
  char szParameters[];
} RILGPRSCONTEXT, *LPRILGPRSCONTEXT;

Members

  • cbSize
    Size of the structure, in bytes.
  • dwContextID
    Context number.
  • wszAccessPointName[MAXLENGTH_GPRSACCESSPOINTNAME]
    Logical name of the GPRS access point. This name defines the external packet data network to use. For information on the MAXLENGTH_GPRSACCESSPOINTNAME constant, see Maximum Lengths Constants.
  • wszAddress[MAXLENGTH_GPRSADDRESS]
    Packet address to use. If this member is set to NULL, you must request dynamic address assignment. For information on the MAXLENGTH_GPRSADDRESS constant, see Maximum Lengths Constants.
  • dwDataCompression
    Specifies whether data compression is turned on. Must be one of the GPRS data compression constants.
  • dwHeaderCompression
    Specifies whether header compression is turned on. Must be one of the GPRS header compression constants.
  • dwParameterLength
    Length of the parameters list.
  • szParameters
    Parameters specific to the protocol type.

Requirements

Header

ril.h

See Also

Reference

RIL Structures
GPRS Protocol Constants
GPRS Data Comp Constants
GPRS Header Compression Constants
RIL_GetGPRSContextList
RIL_SetGPRSContext
RILGPRSCONTEXT Parameter Constants