// wwan.h
typedef struct _WWAN_SMS_CDMA_RECORD {
ULONG MessageIndex;
WWAN_MSG_STATUS MsgStatus;
CHAR Address[WWAN_SMS_CDMA_ADDR_MAX_LEN];
CHAR ScTimeStamp[WWAN_SMS_CDMA_TIMESTAMP_MAX_LEN];
WWAN_SMS_CDMA_ENCODING EncodingId;
WWAN_SMS_CDMA_LANG LanguageId;
USHORT SizeInBytes;
BYTE SizeInCharacters;
BYTE EncodedMsg[WWAN_SMS_CDMA_MAX_BUF_LEN];
} WWAN_SMS_CDMA_RECORD, *PWWAN_SMS_CDMA_RECORD;
View the official Windows Driver Kit DDI referenceNo description available.
The WWAN_SMS_CDMA_RECORD structure represents CDMA-based SMS text message records.
MessageIndexAn index into the virtual message store that is maintained by the miniport driver. This index is 1-based and the maximum index is ulMaxMessageIndex as returned in WWAN_SMS_CONFIGURATION_STATUS. Be aware that the specification does not differentiate between physically available data stores. If the message is a Class 0 (flash/alert) message, this must be set to WWAN_MESSAGE_INDEX_NONE.
MsgStatusThe status of the record that represents whether the SMS message is new (unread), old (read), a draft, or sent.
AddressA 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:
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.
ScTimeStampA string that represent the Service Center (SC) timestamp, in the following format: " YY/MM/DD, HH:mm:SS±ZZ" where:
For example, to represent October 2nd, 1996, 20:01:54 GMT+2 hours use the following string timestamp "96/10/02,20:01:54+02"
EncodingIdThe encoding that is used in the CDMA message. EncodedMsg message should be interpreted based on the value of this member.
LanguageIdThe language that is used in the SMS text message.
SizeInBytesThe 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.
SizeInCharactersSize 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.
EncodedMsgThe encoded content of the record that represents the SMS text message.