Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

Syntax

typedef struct {
  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;

Members

cbSize

Structure size, in bytes.

dwParams

Specifies valid parameters. Must be one or a combination of the RILGPRSCONTEXTparameter constants.

dwContextID

Specifies the context number.

dwProtocolType

Specifies the protocol type. Must be one of the GPRS protocol constants.

wszAccessPointName[MAXLENGTH_GPRSACCESSPOINTNAME]

Specifies the logical name of the GPRS access point. This name defines the external packet data network to use.

wszAddress[MAXLENGTH_GPRSADDRESS]

Specifies the packet address to use. If this member is set to NULL, you must request dynamic address assignment.

dwDataCompression

Specifies whether data compression is turned on or off. Must be one of the GPRS data compression constants.

dwHeaderCompression

Specifies whether header compression is turned on or off. Must be one of the GPRS header compression constants.

dwParameterLength

Specifies the length of parameters list.

szParameters

Parameters specific to the protocol type.

Requirements

Header ril.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also