Source code of Windows XP (NT5)
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.

55 lines
1.2 KiB

  1. /*
  2. * CNotify.hpp - CConfNotify class definition
  3. *
  4. * Created: ChrisPi 10-3-95
  5. *
  6. */
  7. #ifndef _CNOTIFY_HPP_
  8. #define _CNOTIFY_HPP_
  9. class CConfNotify :
  10. public RefCount,
  11. public IConfNotify
  12. {
  13. private:
  14. // private members
  15. public:
  16. CConfNotify(OBJECTDESTROYEDPROC);
  17. ~CConfNotify(void);
  18. // IConfNotify methods
  19. HRESULT STDMETHODCALLTYPE OnConf_Ended(DWORD dwCode);
  20. HRESULT STDMETHODCALLTYPE OnEnum_Rejected(DWORD dwCode);
  21. HRESULT STDMETHODCALLTYPE OnEnum_Failed(DWORD dwCode);
  22. HRESULT STDMETHODCALLTYPE OnJoin_InvalidPassword(DWORD dwCode);
  23. HRESULT STDMETHODCALLTYPE OnJoin_InvalidConference(DWORD dwCode);
  24. HRESULT STDMETHODCALLTYPE OnJoin_Rejected(DWORD dwCode);
  25. HRESULT STDMETHODCALLTYPE OnJoin_Failed(DWORD dwCode);
  26. HRESULT STDMETHODCALLTYPE OnUser_Added(DWORD dwUserID);
  27. HRESULT STDMETHODCALLTYPE OnUser_Removed(DWORD dwUserID);
  28. HRESULT STDMETHODCALLTYPE OnTAPI_Status(LPCTSTR pcszStatus);
  29. // IUnknown methods
  30. HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, PVOID *ppvObj);
  31. ULONG STDMETHODCALLTYPE AddRef(void);
  32. ULONG STDMETHODCALLTYPE Release(void);
  33. // other methods
  34. // friends
  35. #ifdef DEBUG
  36. friend BOOL IsValidPCCConfNotify(const CConfNotify *pcConfNotify);
  37. #endif
  38. };
  39. DECLARE_STANDARD_TYPES(CConfNotify);
  40. #endif // _CNOTIFY_HPP_