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.

65 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. FaxIncomingMessageIterator.h
  5. Abstract:
  6. Definition of Incoming Message Iterator.
  7. Author:
  8. Iv Garber (IvG) May, 2000
  9. Revision History:
  10. --*/
  11. #ifndef __FAXINCOMINGMESSAGEITERATOR_H_
  12. #define __FAXINCOMINGMESSAGEITERATOR_H_
  13. #include "resource.h" // main symbols
  14. #include "FaxIncomingMessage.h"
  15. #include "FaxMessageIteratorInner.h"
  16. //
  17. //====================== INCOMING MESSAGE ITERATOR =======================================
  18. //
  19. class ATL_NO_VTABLE CFaxIncomingMessageIterator :
  20. public CComObjectRootEx<CComSingleThreadModel>,
  21. public ISupportErrorInfo,
  22. public CFaxMessageIteratorInner<IFaxIncomingMessageIterator,
  23. &IID_IFaxIncomingMessageIterator, &CLSID_FaxIncomingMessageIterator,
  24. FAX_MESSAGE_FOLDER_INBOX,
  25. IFaxIncomingMessage, CFaxIncomingMessage>
  26. {
  27. public:
  28. CFaxIncomingMessageIterator()
  29. {
  30. }
  31. DECLARE_REGISTRY_RESOURCEID(IDR_FAXINCOMINGMESSAGEITERATOR)
  32. DECLARE_NOT_AGGREGATABLE(CFaxIncomingMessageIterator)
  33. DECLARE_PROTECT_FINAL_CONSTRUCT()
  34. BEGIN_COM_MAP(CFaxIncomingMessageIterator)
  35. COM_INTERFACE_ENTRY(IFaxIncomingMessageIterator)
  36. COM_INTERFACE_ENTRY(IDispatch)
  37. COM_INTERFACE_ENTRY(ISupportErrorInfo)
  38. COM_INTERFACE_ENTRY(IFaxInitInner)
  39. END_COM_MAP()
  40. // Interfaces
  41. STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid);
  42. // Internal Use
  43. static HRESULT Create(IFaxIncomingMessageIterator **pIncomingMsgIterator);
  44. };
  45. #endif //__FAXINCOMINGMESSAGEITERATOR_H_