次の方法で共有


RILGPRSCONTEXT (Windows Embedded CE 6.0)

1/6/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 RILGPRSCONTEXT parameter 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

Reference

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