Download [ -- Zed-3. GTXT Software for the GS8 Modular Gateway, User`s

Transcript
7. Software API
7.4.12
New Message Notifying
Function prototype: int GTXT_ResponseNewSMS(LPGTXT_RECVSMS pRecvSMS).
Description: To receive a new message.
Parameters:
• pRecvSMS: The structure of received message.
Return value: GTXT_ERROR_NOTCONN if there is no connection to server;
GTXT_ERROR_NOTAUTH before authentication, GTXT_ERROR_NOTDATA if no data,
GTXT_ERROR_OK if succeeds.
Explanation: Client will get WM_GTXT_MESSAG message.
The low-order word of wParam is GTXT_EVENT_UPDATE_SMS, and the high-order word of
wParam is invalid. Client call function GTXT_ResponseNewSMS to get new message.
43