NewsHdrLeftSpacer.gif (132 bytes)
Welcome to Inventive Labs

  
Try out our new .NET Telephony Toolkit called CTI32.  It is easy to build telephone applications using VB.NET or C#.  NO PORT ROYALTIES.
NewsHdrEnd.gif (910 bytes)
NewsHdrBottom.gif (973 bytes)

NTpageCheckMsgStatus()


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)   




© Copyright 2001-2009  Inventive Labs Corporation  All rights reserved.