MQEVENTHANDLER.H

class CMSMQEventHandler : public CCmdTarget 
{
public:

CMSMQEventHandler();
~CMSMQEventHandler();


virtual void Arrived(/*[in]*/ IDispatch* pdispQueue,
/*[in]*/ long lCursor);
virtual void ArrivedError(/*[in]*/ IDispatch* pdispQueue,
/*[in]*/ long lErrorCode,
/*[in]*/ long lCursor);

HRESULT AdviseSource(IDispatch* pDispatch);

DECLARE_DISPATCH_MAP()

private:
DWORDdwMyCookie;
LPCONNECTIONPOINTpMyCP;

};