/* This header file machine-generated by mktyplib.exe */
/* Interface to type library: WSocxObjects */

#ifndef _WSocxObjects_H_
#define _WSocxObjects_H_

//DEFINE_GUID(LIBID_WSocxObjects,0x55707B20L,0xFF82,0x11CF,0xBB,0x32,0x14,0x2A,0x04,0xC1,0x00,0x00);
extern "C" const GUID LIBID_WSocxObjects;

//DEFINE_GUID(IID_IWSocx,        0x55707B21L,0xFF82,0x11CF,0xBB,0x32,0x14,0x2A,0x04,0xC1,0x00,0x00);
extern "C" const GUID IID_IWSocx;

//DEFINE_GUID(DIID_DWSocxEvents, 0x55707B22L,0xFF82,0x11CF,0xBB,0x32,0x14,0x2A,0x04,0xC1,0x00,0x00);
extern "C" const GUID DIID_DWSocxEvents;

//DEFINE_GUID(CLSID_WSocx,       0x55707B23L,0xFF82,0x11CF,0xBB,0x32,0x14,0x2A,0x04,0xC1,0x00,0x00);
extern "C" const GUID CLSID_WSocx;

#ifndef BEGIN_INTERFACE
#define BEGIN_INTERFACE
#endif


/* Definition of interface: IWSocx */
#undef INTERFACE
#define INTERFACE IWSocx

DECLARE_INTERFACE_(IWSocx, IDispatch)
{
BEGIN_INTERFACE
#ifndef NO_BASEINTERFACE_FUNCS

    /* IUnknown methods */
    STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
    STDMETHOD_(ULONG, AddRef)(THIS) PURE;
    STDMETHOD_(ULONG, Release)(THIS) PURE;

    /* IDispatch methods */
    STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;

    STDMETHOD(GetTypeInfo)(
      THIS_
      UINT itinfo,
      LCID lcid,
      ITypeInfo FAR* FAR* pptinfo) PURE;

    STDMETHOD(GetIDsOfNames)(
      THIS_
      REFIID riid,
      OLECHAR FAR* FAR* rgszNames,
      UINT cNames,
      LCID lcid,
      DISPID FAR* rgdispid) PURE;

    STDMETHOD(Invoke)(
      THIS_
      DISPID dispidMember,
      REFIID riid,
      LCID lcid,
      WORD wFlags,
      DISPPARAMS FAR* pdispparams,
      VARIANT FAR* pvarResult,
      EXCEPINFO FAR* pexcepinfo,
      UINT FAR* puArgErr) PURE;
#endif

    /* IWSocx methods */
};


/* Definition of dispatch interface: DWSocxEvents */
#undef INTERFACE
#define INTERFACE DWSocxEvents

DECLARE_INTERFACE_(DWSocxEvents, IDispatch)
{
BEGIN_INTERFACE
#ifndef NO_BASEINTERFACE_FUNCS

    /* IUnknown methods */
    STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
    STDMETHOD_(ULONG, AddRef)(THIS) PURE;
    STDMETHOD_(ULONG, Release)(THIS) PURE;

    /* IDispatch methods */
    STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;

    STDMETHOD(GetTypeInfo)(
      THIS_
      UINT itinfo,
      LCID lcid,
      ITypeInfo FAR* FAR* pptinfo) PURE;

    STDMETHOD(GetIDsOfNames)(
      THIS_
      REFIID riid,
      OLECHAR FAR* FAR* rgszNames,
      UINT cNames,
      LCID lcid,
      DISPID FAR* rgdispid) PURE;

    STDMETHOD(Invoke)(
      THIS_
      DISPID dispidMember,
      REFIID riid,
      LCID lcid,
      WORD wFlags,
      DISPPARAMS FAR* pdispparams,
      VARIANT FAR* pvarResult,
      EXCEPINFO FAR* pexcepinfo,
      UINT FAR* puArgErr) PURE;
#endif

    /* DWSocxEvents methods:
    void MouseMove(short Button, short Shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y);
    void Click(void);
    void DblClick(void);
    void MouseDown(short Button, short Shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y);
    void MouseUp(short Button, short Shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y);
    */
};


#ifdef __cplusplus
class WSocx;
#endif

#endif
