IBEEPER.H
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:2k
源码类别:

Windows编程

开发平台:

Visual C++

  1. /* This header file machine-generated by mktyplib.exe */
  2. /* Interface to type library: BeeperTypeLibrary */
  3. #ifndef _BeeperTypeLibrary_H_
  4. #define _BeeperTypeLibrary_H_
  5. DEFINE_GUID(LIBID_BeeperTypeLibrary,0x0002115E,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  6. DEFINE_GUID(IID_IBeeper,0x0002115C,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  7. /* Definition of interface: IBeeper */
  8. DECLARE_INTERFACE_(IBeeper, IUnknown)
  9. {
  10. #ifndef NO_BASEINTERFACE_FUNCS
  11.     /* IUnknown methods */
  12.     STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  13.     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  14.     STDMETHOD_(ULONG, Release)(THIS) PURE;
  15. #endif
  16.     /* IBeeper methods */
  17.     STDMETHOD_(long, get_Sound)(THIS) PURE;
  18.     STDMETHOD_(void, put_Sound)(THIS_ long lSound) PURE;
  19.     STDMETHOD_(long, Beep)(THIS) PURE;
  20. };
  21. DEFINE_GUID(DIID_DIBeeper,0x0002115D,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  22. /* Definition of dispatch interface: DIBeeper */
  23. DECLARE_INTERFACE_(DIBeeper, IDispatch)
  24. {
  25. #ifndef NO_BASEINTERFACE_FUNCS
  26.     /* IUnknown methods */
  27.     STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  28.     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  29.     STDMETHOD_(ULONG, Release)(THIS) PURE;
  30.     /* IDispatch methods */
  31.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  32.     STDMETHOD(GetTypeInfo)(
  33.       THIS_
  34.       UINT itinfo,
  35.       LCID lcid,
  36.       ITypeInfo FAR* FAR* pptinfo) PURE;
  37.     STDMETHOD(GetIDsOfNames)(
  38.       THIS_
  39.       REFIID riid,
  40.       OLECHAR FAR* FAR* rgszNames,
  41.       UINT cNames,
  42.       LCID lcid,
  43.       DISPID FAR* rgdispid) PURE;
  44.     STDMETHOD(Invoke)(
  45.       THIS_
  46.       DISPID dispidMember,
  47.       REFIID riid,
  48.       LCID lcid,
  49.       WORD wFlags,
  50.       DISPPARAMS FAR* pdispparams,
  51.       VARIANT FAR* pvarResult,
  52.       EXCEPINFO FAR* pexcepinfo,
  53.       UINT FAR* puArgErr) PURE;
  54. #endif
  55. /* Capable of dispatching all the methods of interface IBeeper */
  56. };
  57. DEFINE_GUID(CLSID_Beeper,0x0002115B,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  58. class Beeper;
  59. #endif