Sms_info structure, Sms_info – Argox PT-9130 User Manual

Page 152

Advertising
background image

PT-90 Mobile Computer SDK Programming Manual 145

SMS_INFO Structure

This setting file contains information used by

ReadMultiSMS

.

Struct SMS_INFO

{

DWORD

dwSize

;

int

nIndex

;

int

nStatus

;

WCHAR

szNumber[30]

;

WCHAR

szData[160]

;

WCHAR

szTimeStamp[30]

;

}

Members

dwSize

Specifies the structure size, in bytes.

nIndex

The one-based index of a SMS message.

nStatus

Message status. The return value can be one of the values in the following table.

Value

Message Status

0

"REC UNREAD", received unread message

1

"REC READ", received read message

2

"STO UNSENT", stored unsent message

3

"STO SENT", stored sent message

szNumber

Sender phone number.

szData

SMS message data.

szTimeStamp

Service center time stamp. Format: "yy/MM/dd,hh:mm:ss", where characters indicate year (two last digits),

month, day, hour, minute, second.

Structure Information

Header: sysapiax.h

Device: PT90

Advertising