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.

43 lines
1.7 KiB

  1. // GenNtfy.h : Declaration of the CGeneralNotification
  2. #ifndef __GENERALNOTIFICATION_H_
  3. #define __GENERALNOTIFICATION_H_
  4. #include "resource.h" // main symbols
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CGeneralNotification
  7. class ATL_NO_VTABLE CGeneralNotification :
  8. public CComObjectRootEx<CComMultiThreadModel>,
  9. public CComCoClass<CGeneralNotification, &CLSID_GeneralNotification>,
  10. public IGeneralNotification
  11. {
  12. public:
  13. CGeneralNotification()
  14. {
  15. }
  16. DECLARE_NOT_AGGREGATABLE(CGeneralNotification)
  17. BEGIN_COM_MAP(CGeneralNotification)
  18. COM_INTERFACE_ENTRY(IGeneralNotification)
  19. END_COM_MAP()
  20. // IGeneralNotification
  21. public:
  22. STDMETHOD(SelectConfParticipant)(IParticipant *pParticipant);
  23. STDMETHOD(DeleteAllConfParticipants)();
  24. STDMETHOD(UpdateConfParticipant)(MyUpdateType nType, IParticipant *pParticipant, BSTR bstrText);
  25. STDMETHOD(UpdateConfRootItem)(BSTR bstrNewText);
  26. STDMETHOD(AddSpeedDial)(BSTR bstrName, BSTR bstrAddress, CallManagerMedia cmm);
  27. STDMETHOD(NotifySiteServerStateChange)(BSTR bstrName, ServerState nState);
  28. STDMETHOD(RemoveSiteServer)(BSTR bstrName);
  29. STDMETHOD(AddSiteServer)(BSTR bstrServer);
  30. STDMETHOD(ResolveAddressEx)(BSTR bstrAddress, long lAddressType, DialerMediaType nMedia, DialerLocationType nLocation, BSTR *pbstrName, BSTR *pbstrAddress, BSTR *pbstrUser1, BSTR *pbstrUser2);
  31. STDMETHOD(AddUser)(BSTR bstrName, BSTR bstrAddress, BSTR bstrPhoneNumber);
  32. STDMETHOD(ClearUserList)();
  33. STDMETHOD(ResolveAddress)(BSTR bstrAddress, BSTR *pbstrName, BSTR *pbstrUser1, BSTR *pbstrUser2);
  34. STDMETHOD(IsReminderSet)(BSTR bstrServer, BSTR bstrName);
  35. };
  36. #endif //__GENERALNOTIFICATION_H_