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
1.7 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. FaxInboundRouting.h
  5. Abstract:
  6. Declaration of the CFaxInboundRouting Class.
  7. Author:
  8. Iv Garber (IvG) Jun, 2000
  9. Revision History:
  10. --*/
  11. #ifndef __FAXINBOUNDROUTING_H_
  12. #define __FAXINBOUNDROUTING_H_
  13. #include "resource.h" // main symbols
  14. #include "FaxCommon.h"
  15. #include "FaxInboundRoutingExtensions.h"
  16. #include "FaxInboundRoutingMethods.h"
  17. //
  18. // ================ INBOUND ROUTING ==================================================
  19. // Both IRExtensions and IRMethods Collections are not cached.
  20. // Rather they are created each time the InboundRouting is asked for them.
  21. // To be sure that the Server Object is up during their lifetime, they do
  22. // AddRef() on the Server Ojbect at their Init() function.
  23. //
  24. class ATL_NO_VTABLE CFaxInboundRouting :
  25. public CComObjectRootEx<CComSingleThreadModel>,
  26. public ISupportErrorInfo,
  27. public IDispatchImpl<IFaxInboundRouting, &IID_IFaxInboundRouting, &LIBID_FAXCOMEXLib>,
  28. public CFaxInitInner
  29. {
  30. public:
  31. CFaxInboundRouting() : CFaxInitInner(_T("FAX INBOUND ROUTING"))
  32. {}
  33. DECLARE_REGISTRY_RESOURCEID(IDR_FAXINBOUNDROUTING)
  34. DECLARE_NOT_AGGREGATABLE(CFaxInboundRouting)
  35. DECLARE_PROTECT_FINAL_CONSTRUCT()
  36. BEGIN_COM_MAP(CFaxInboundRouting)
  37. COM_INTERFACE_ENTRY(IFaxInboundRouting)
  38. COM_INTERFACE_ENTRY(IDispatch)
  39. COM_INTERFACE_ENTRY(ISupportErrorInfo)
  40. END_COM_MAP()
  41. // Interfaces
  42. STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid);
  43. STDMETHOD(GetExtensions)(/*[out, retval]*/ IFaxInboundRoutingExtensions **ppExtensions);
  44. STDMETHOD(GetMethods)(/*[out, retval]*/ IFaxInboundRoutingMethods **ppMethods);
  45. };
  46. #endif //__FAXINBOUNDROUTING_H_