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.

63 lines
2.5 KiB

  1. /////////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1997 Active Voice Corporation. All Rights Reserved.
  4. //
  5. // Active Agent(r) and Unified Communications(tm) are trademarks of Active Voice Corporation.
  6. //
  7. // Other brand and product names used herein are trademarks of their respective owners.
  8. //
  9. // The entire program and user interface including the structure, sequence, selection,
  10. // and arrangement of the dialog, the exclusively "yes" and "no" choices represented
  11. // by "1" and "2," and each dialog message are protected by copyrights registered in
  12. // the United States and by international treaties.
  13. //
  14. // Protected by one or more of the following United States patents: 5,070,526, 5,488,650,
  15. // 5,434,906, 5,581,604, 5,533,102, 5,568,540, 5,625,676, 5,651,054.
  16. //
  17. // Active Voice Corporation
  18. // Seattle, Washington
  19. // USA
  20. //
  21. /////////////////////////////////////////////////////////////////////////////////////////
  22. // AVTapiNotification.h : Declaration of the CAVTapiNotification
  23. #ifndef __AVTAPINOTIFICATION_H_
  24. #define __AVTAPINOTIFICATION_H_
  25. #include "resource.h" // main symbols
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CAVTapiNotification
  28. class ATL_NO_VTABLE CAVTapiNotification :
  29. public CComObjectRootEx<CComMultiThreadModel>,
  30. public CComCoClass<CAVTapiNotification, &CLSID_AVTapiNotification>,
  31. public IAVTapiNotification
  32. {
  33. public:
  34. CAVTapiNotification()
  35. {
  36. }
  37. DECLARE_NOT_AGGREGATABLE(CAVTapiNotification)
  38. BEGIN_COM_MAP(CAVTapiNotification)
  39. COM_INTERFACE_ENTRY(IAVTapiNotification)
  40. END_COM_MAP()
  41. // IAVTapiNotification
  42. public:
  43. STDMETHOD(NotifyUserUserInfo)(long lCallID, ULONG_PTR hMem);
  44. STDMETHOD(IsReminderSet)(BSTR bstrServer, BSTR bstrName);
  45. STDMETHOD(LogCall)(long lCallID, CallLogType nType, DATE dateStart, DATE dateEnd, BSTR bstrAddr, BSTR bstrName);
  46. STDMETHOD(ActionSelected)(CallClientActions cca);
  47. STDMETHOD(ErrorNotify)(BSTR bstrOperation, BSTR bstrDetails, long hrError);
  48. STDMETHOD(CloseCallControl)(long lCallID);
  49. STDMETHOD(SetCallState)(long lCallID, CallManagerStates cms, BSTR bstrText);
  50. STDMETHOD(AddCurrentAction)(long lCallID, CallManagerActions cma, BSTR bstrText);
  51. STDMETHOD(ClearCurrentActions)(long lCallerID);
  52. STDMETHOD(SetCallerID)(long lCallID, BSTR bstrCallerID);
  53. STDMETHOD(NewCall)(long *plCallID, CallManagerMedia cmm, BSTR bstrMediaName);
  54. };
  55. #endif //__AVTAPINOTIFICATION_H_