Share via


RILNDISGPRSCONTEXT (Windows Embedded CE 6.0)

1/6/2010

This structure defines a GPRS context that the WWAN miniport that calls the RIL driver will activate.

Syntax

typedef struct rilndisgprscontext_tag {
  DWORD cbSize;
  DWORD dwParams;
  DWORD dwContextID;
  BOOL fContextActivation;
  TCHAR tszUserName[NDIS_GPRS_USERNAME_MAX_LENGTH];
  TCHAR tszPassword[NDIS_GPRS_PASSWORD_MAX_LENGTH];
  TCHAR tszDNS1[NDIS_GRPS_DNS_MAX_LENGTH];
  TCHAR tszDNS2[NDIS_GRPS_DNS_MAX_LENGTH];
  RILNDISRECEIVECALLBACK pfnNdisReceive;
  RILNDISTRANSMITCALLBACK pfnNdisTransmit;
  RILNDISSTATUSCALLBACK pfnNdisStatus;
  PVOID pCallbackContext;
} RILNDISGPRSCONTEXT, *LPRILNDISGPRSCONTEXT;

Members

  • cbSize
    Size of this RILNDISGPRSCONTEXT structure, in bytes.
  • dwParams
    Indicates valid parameters.
  • dwContextID
    GPRS Context ID that identifies the Access Point Name (APN).
  • fContextActivation
    If set to TRUE, activates the GPRS context, and if set to FALSE, deactivates GPRS context.
  • tszUserName[NDIS_GRPS_DNS_MAX_LENGTH]
    User name. The constant defining the length of the string is described in Maximum Lengths Constants.
  • tszPassword[NDIS_GPRS_PASSWORD_MAX_LENGTH]
    Password. The constant defining the length of the string is described in Maximum Lengths Constants.
  • tszDNS1[NDIS_GRPS_DNS_MAX_LENGTH]
    The name of the primary Domain Name System (DNS) server. This member is optional. The constant defining the length of the string is described in Maximum Lengths Constants.
  • tszDNS2[NDIS_GRPS_DNS_MAX_LENGTH]
    The name of the secondary DNS server. This member is optional. The constant defining the length of the string is described in Maximum Lengths Constants.

Requirements

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

See Also

Reference

RIL Structures

Other Resources

CellCore