RILNDISGPRSCONTEXT (Compact 2013)
3/26/2014
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;
DWORD dwAuthType;
} RILNDISGPRSCONTEXT, *LPRILNDISGPRSCONTEXT;
Members
- cbSize
Size of this structure, in bytes.
- dwParams
Any combination of RILNDISGPRSCONTEXT Parameter Constants bits indicating which of the following parameters is valid.
- 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.
- pfnNdisReceive
A pointer to the RILNDISRECEIVECALLBACK function.
- pfnNdisTransmit
A pointer to the RILNDISTRANSMITCALLBACK function.
- pfnNdisStatus
A pointer to the RILNDISSTATUSCALLBACK function.
- pCallbackContext
Custom parameter passed to RILNDISRECEIVECALLBACK, RILNDISTRANSMITCALLBACK and RILNDISSTATUSCALLBACK functions.
- dwAuthType
An Authentication Type Constants value.
Requirements
Header |
ril.h |
See Also
Reference
RIL Structures
RILNDISGPRSCONTEXT Parameter Constants
Authentication Type Constants
RILNDISRECEIVECALLBACK
RILNDISTRANSMITCALLBACK
RILNDISSTATUSCALLBACK
Maximum Lengths Constants