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.

61 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. FaxOutgoingMessage.h
  5. Abstract:
  6. Declaration of Fax Outgoing Message Class.
  7. Author:
  8. Iv Garber (IvG) May, 2000
  9. Revision History:
  10. --*/
  11. #ifndef __FAXOUTGOINGMESSAGE_H_
  12. #define __FAXOUTGOINGMESSAGE_H_
  13. #include "resource.h" // main symbols
  14. #include "FaxMessageInner.h"
  15. //
  16. //===================== FAX OUTGOING MESSAGE ======================================
  17. //
  18. class ATL_NO_VTABLE CFaxOutgoingMessage :
  19. public CComObjectRootEx<CComSingleThreadModel>,
  20. public ISupportErrorInfo,
  21. public CFaxMessageInner<IFaxOutgoingMessage, &IID_IFaxOutgoingMessage,
  22. &CLSID_FaxOutgoingMessage, FAX_MESSAGE_FOLDER_SENTITEMS>
  23. {
  24. public:
  25. CFaxOutgoingMessage()
  26. {
  27. }
  28. DECLARE_REGISTRY_RESOURCEID(IDR_FAXOUTGOINGMESSAGE)
  29. DECLARE_NOT_AGGREGATABLE(CFaxOutgoingMessage)
  30. DECLARE_PROTECT_FINAL_CONSTRUCT()
  31. BEGIN_COM_MAP(CFaxOutgoingMessage)
  32. COM_INTERFACE_ENTRY(IFaxOutgoingMessage)
  33. COM_INTERFACE_ENTRY(IDispatch)
  34. COM_INTERFACE_ENTRY(ISupportErrorInfo)
  35. END_COM_MAP()
  36. // Interfaces
  37. STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid);
  38. // Internal Use
  39. static HRESULT Create(IFaxOutgoingMessage **ppOutgoingMessage);
  40. };
  41. #endif //__FAXOUTGOINGMESSAGE_H_