EldoS
MsgConnect home / Documentation / Messenger.MessageProcessed method
Navigation
Web site
Support
Table Of Contents

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


Messenger.MessageProcessed

Messenger     See also    


Returns an incoming message and leaves it in the queue.

Declaration

[C++]
    void MessageProcessed(MCMessage* Message);

[Pascal]
    procedure MessageProcessed(var Message : TMCMessage);

[VB6]
    Sub MessageProcessed(Message As IMCXMessage)

[ActiveX]
    HRESULT _stdcall MessageProcessed([in] IMCXMessage * Message);

[C#]
    public void MessageProcessed(ref ref MCMessage Message)

[VB.NET]
    Public Sub MessageProcessed(ByRef Message As MCMessage)

[Java]
    public void messageProcessed(MCMessage message);

[Java ME]
    public synchronized void messageProcessed(MCMessage message);

[Palm]
    void MessageProcessed(MCMessage* Message);

[DLL]
    long __stdcall MCMessengerMessageProcessed(HMCMessenger h, MCMessage* Message);

Parameters

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

  • Message - The message structure that was processed and should be discarded (reply sent, internal records cleared etc). See more here

Return value

[DLL]
    If the function was called not from the same thread in which Messenger operates, MCE_WRONGTHREAD code is returned, otherwise MC_OK is returned.

Description

    Call this method after the application has taken the message using GetMessage or PeekMessage methods and has handled them. This is done to send a return value (if necessary), dispose of the binary data and clear internal records.
    This method together with GetMessage and PeekMessage is an alternative to using Queues.

    Note: you should not call this method in message handlers (i.e. if you are using Queue objects to handle messages).

See also:     Queue class     MCMessage structure     GetMessage     PeekMessage    

 
Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2005, EldoS Corporation