Discuss this help topic in MsgConnect Forum

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



MCNotifyProc

See also    


Application-defined function that is called when the reply is received.

Declaration

[C++]
    void (*MCNotifyProc)(void* resvd, unsigned long UserData, MCMessage& Message);

[Pascal]
    TMCNotifyProc = procedure ( UserData : Cardinal; var Message : TMCMessage);

[VB6]
    Event MCXMessenger.OnCompletion(Message As IMCXMessage)

[ActiveX]
    HRESULT IMCXMessengerEvents.OnCompletion([in] IMCXMessage * Message );

[C#]
    public delegate void MCNotifyProc(int UserData, out MCMessage Message);

[VB.NET]
    Public Delegate Sub MCNotifyProc(ByVal UserData As Object, ByRef Message As MCMessage)

[Java]
    public interface MCNotifyProc { public void notifyProc(long userData, MCMessage message); }

[Java ME]
    public interface MCNotifyProc { public void notifyProc(long userData, MCMessage message); }

[DLL]
    void (__stdcall *MCNotifyProc)(unsigned long UserData, MCMessage* Message);

Parameters

  • UserData - Application-defined parameter that was set in SendMessageCallback function.
  • Message - The message that was sent and reply to which was received. See more here

Description

    This function is called by Messenger when it receives the reply to the message which was sent with SendMessageCallback. UserData parameter is set by the application and in object-oriented environments can contains the pointer to the object instance.

Discuss this help topic in MsgConnect Forum