|
| |
| NTpageCheckMsgStatus(MsgID,Status,EnteredTime,FinishedTime,LastTryTime,Trys,ErrorMsg)
| |
Description:
Checks the status of a message that has been sent.
Parameters:
MsgID - (passed as a LONG not as a String) This is the way it is returned from various Send commands The message handle or ID returned from one of the sending functions.
Status - (OUTPUT) The following could be returned: N=New in Queue, P=Processing, W=Waiting, F=Fail, S=Success, H=Hold
EnteredTime - (OUTPUT) The date/time the message was entered into the queue. This is in the format of: YYYY-MM-DD HH:MM:SS.mmmmmm
FinishedTime - (OUTPUT) Time the NTpage server stopped acting on the message for one reason or another. Same date/time format as above.
LastTryTime - (OUTPUT) Last time the server tried to do something. Same date/time format as above.
Trys - (OUTPUT) Number of attempts the server has made.
ErrorMsg - (OUTPUT) The reason for the failure.
Return Values:
0 Successful
-1 Error (check ErrorMsg)
|