WWAN_SMS_CDMA_RECORD - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-wwan-_wwan_sms_cdma_record)

_WWAN_SMS_CDMA_RECORD structure

Description

The WWAN_SMS_CDMA_RECORD structure represents CDMA-based SMS text message records.

Members

MessageIndex

An 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.

MsgStatus

The status of the record that represents whether the SMS message is new (unread), old (read), a draft, or sent.

Address

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:

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.

ScTimeStamp

A 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"

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 that is used in the SMS text message.

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

The encoded content of the record that represents the SMS text message.

See also

WWAN_MSG_STATUS

WWAN_SMS_CDMA_ENCODING

WWAN_SMS_CDMA_LANG