Filter: C++  Pascal  C#  VB.NET  Java  Java ME  ActiveX  DLL 



Messenger.GetMessageSent

Messenger     See also    


Returns true if the message was sent and false if it is still in the outgoing queue.

Declaration

[C++]
    bool GetMessageSent(__int64 MsgID);

[Pascal]
    function GetMessageSent(MsgID : Int64) : boolean;

[VB6]
    Function IIPCXMessenger3.GetMessageSent(MsgID As String) As Boolean

[ActiveX]
    HRESULT _stdcall IIPCXMessenger3.GetMessageSent([in] BSTR MsgID, [out, retval] VARIANT_BOOL * res);

[C#]
    public bool GetMessageSent(long MsgID)

[VB.NET]
    Public Function GetMessageSent(ByVal MsgID As Long) As Boolean

[Java]
    public boolean getMessageSent(long MsgID);

[Java ME]
    public boolean getMessageSent(long MsgID);

[DLL]
    bool __stdcall IPCMessengerGetMessageSent(HIPCMessenger h, __int64 MsgID);

Parameters

  • [DLL]h - handle to the Messenger object that was returned by Create method

  • MsgID - MsgID value of the message you want to delete.

Return value

    False if the message was found in outgoing queue of some transport and True if it was not found (and obviously was either sent or returned as failed).
[ActiveX]
    Return value is passed via res parameter.

Description

    Call this method to check if the message is still in the outgoing queue of some transport or it has already been sent.