Shoutbox

Who can help me to implement invoke function? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: Who can help me to implement invoke function? (/showthread.php?tid=36448)

Who can help me to implement invoke function? by carlz on 01-05-2005 at 01:43 AM

Hi All,

I have such code (MSN plug in) like this:

STDMETHODIMP CMessengerUANotify::Invoke(   
                                      DISPID dispidMember,
                                      const IID& iid,
                                      LCID,          // Localization is not supported.
                                      WORD wFlags,
                                      DISPPARAMS* pDispParams,
                                      VARIANT* pvarResult,
                                      EXCEPINFO* pExcepInfo,
                                      UINT* pArgErr)
{

    _ASSERTE(iid == IID_NULL);
    switch (dispidMember)
    {
        case DISPID_MUAE_ONIMWINDOWADD
            Status("DISPID_MUAE_ONSIGNIN");
            break;
       
        case DISPID_MUAE_ONIMWINDOWREMOVE:
            Status("DISPID_MUAE_ONSIGNOUT");
            break;

How to get added/removed contact's name? I searched in msdn library, but cannot find solution.


RE: Who can help me to implement invoke function? by RaceProUK on 01-06-2005 at 05:34 PM

Look under the DISPPARAMS structure