Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
856 B

  1. /*******************************************************************************
  2. Module Name:
  3. bgevent.h
  4. Abstract:
  5. Defines event class used by TAPI to notify event coming.
  6. Author:
  7. Qianbo Huai (qhuai) Jan 27 2000
  8. *******************************************************************************/
  9. #ifndef _BGEVENT_H
  10. #define _BGEVENT_H
  11. class CTAPIEventNotification
  12. :public ITTAPIEventNotification
  13. {
  14. public:
  15. CTAPIEventNotification ()
  16. {
  17. m_dwRefCount = 1;
  18. }
  19. ~CTAPIEventNotification () {}
  20. HRESULT STDMETHODCALLTYPE QueryInterface (REFIID iid, void **ppvObj);
  21. ULONG STDMETHODCALLTYPE AddRef ();
  22. ULONG STDMETHODCALLTYPE Release ();
  23. HRESULT STDMETHODCALLTYPE Event (TAPI_EVENT TapiEvent, IDispatch *pEvent);
  24. private:
  25. long m_dwRefCount;
  26. };
  27. #endif // _BGEVENT_H