WWAN_SMS_SEND_CDMA structure (wwan.h)
The WWAN_SMS_SEND_CDMA structure represents a CDMA-based SMS text message to send.
Syntax
typedef struct _WWAN_SMS_SEND_CDMA {
WWAN_SMS_CDMA_ENCODING EncodingId;
WWAN_SMS_CDMA_LANG LanguageId;
CHAR Address[WWAN_SMS_CDMA_ADDR_MAX_LEN];
USHORT SizeInBytes;
BYTE SizeInCharacters;
BYTE EncodedMsg[WWAN_SMS_CDMA_MAX_BUF_LEN];
} WWAN_SMS_SEND_CDMA, *PWWAN_SMS_SEND_CDMA;
Members
EncodingId
The encoding that is used in the CDMA message. EncodedMsg message should be interpreted based on the value of this member.
LanguageId
The language used in CDMA message. This is an indicator of the language used in SMS message and may be set to WwanSmsCdmaLangUnknown, if the language is not known.
Address[WWAN_SMS_CDMA_ADDR_MAX_LEN]
A NULL-terminated string with a maximum length of 15 digits that represents a mobile number. The number can be in any of the following formats:
- "+ \0"
- "\0"
If MsgStatus is WwanMsgStatusDraft or WwanMsgStatusSent, miniport drivers should specify the receiver's mobile number in the previous members. Otherwise, if MsgStatus is WwanMsgStatusNew or WwanMsgStatusOld, miniport drivers should specify the sender's mobile number.
SizeInBytes
The size, in bytes, of EncodedMsg . The encoded message can have a maximum length of WWAN_SMS_CDMA_MAX_BUF_LEN. Miniport drivers must specify a value for this member for all encoding types.
SizeInCharacters
Size of EncodedMsg in number of characters represented by the encoded data. Miniport drivers should specify 0 for this member when EncodingId is set to WwanSmsCdmaEncodingShiftJis or WwanSmsCdmaEncodingKorean.
EncodedMsg[WWAN_SMS_CDMA_MAX_BUF_LEN]
The encoded content that represents the CDMA-based SMS text message.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 7 and later versions of Windows. |
Header | wwan.h (include Wwan.h) |