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.

64 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. FaxOutgoingMessageIterator.h
  5. Abstract:
  6. Declaration of Fax Outgoing Message Iterator Class.
  7. Author:
  8. Iv Garber (IvG) May, 2000
  9. Revision History:
  10. --*/
  11. #ifndef __FAXOUTGOINGMESSAGEITERATOR_H_
  12. #define __FAXOUTGOINGMESSAGEITERATOR_H_
  13. #include "resource.h" // main symbols
  14. #include "FaxMessageIteratorInner.h"
  15. #include "FaxOutgoingMessage.h"
  16. //
  17. //=============== FAX OUTGOING MESSAGE ITERATOR ===========================================
  18. //
  19. class ATL_NO_VTABLE CFaxOutgoingMessageIterator :
  20. public CComObjectRootEx<CComSingleThreadModel>,
  21. public ISupportErrorInfo,
  22. public CFaxMessageIteratorInner<IFaxOutgoingMessageIterator,
  23. &IID_IFaxOutgoingMessageIterator, &CLSID_FaxOutgoingMessageIterator,
  24. FAX_MESSAGE_FOLDER_SENTITEMS,
  25. IFaxOutgoingMessage, CFaxOutgoingMessage>
  26. {
  27. public:
  28. CFaxOutgoingMessageIterator()
  29. {
  30. }
  31. DECLARE_REGISTRY_RESOURCEID(IDR_FAXOUTGOINGMESSAGEITERATOR)
  32. DECLARE_NOT_AGGREGATABLE(CFaxOutgoingMessageIterator)
  33. DECLARE_PROTECT_FINAL_CONSTRUCT()
  34. BEGIN_COM_MAP(CFaxOutgoingMessageIterator)
  35. COM_INTERFACE_ENTRY(IFaxOutgoingMessageIterator)
  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(IFaxOutgoingMessageIterator **pOutgoingMsgIterator);
  44. };
  45. #endif //__FAXOUTGOINGMESSAGEITERATOR_H_