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.

59 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. FaxIncomingMessage.h
  5. Abstract:
  6. Definition of CFaxIncomingMessage Class.
  7. Author:
  8. Iv Garber (IvG) May, 2000
  9. Revision History:
  10. --*/
  11. #ifndef __FAXINCOMINGMESSAGE_H_
  12. #define __FAXINCOMINGMESSAGE_H_
  13. #include "resource.h" // main symbols
  14. #include "FaxMessageInner.h"
  15. //
  16. //=============== FAX INCOMING MESSAGE =============================================
  17. //
  18. class ATL_NO_VTABLE CFaxIncomingMessage :
  19. public CComObjectRootEx<CComSingleThreadModel>,
  20. public ISupportErrorInfo,
  21. public CFaxMessageInner<IFaxIncomingMessage, &IID_IFaxIncomingMessage,
  22. &CLSID_FaxIncomingMessage, FAX_MESSAGE_FOLDER_INBOX>
  23. {
  24. public:
  25. CFaxIncomingMessage()
  26. {
  27. }
  28. DECLARE_REGISTRY_RESOURCEID(IDR_FAXINCOMINGMESSAGE)
  29. DECLARE_NOT_AGGREGATABLE(CFaxIncomingMessage)
  30. DECLARE_PROTECT_FINAL_CONSTRUCT()
  31. BEGIN_COM_MAP(CFaxIncomingMessage)
  32. COM_INTERFACE_ENTRY(IFaxIncomingMessage)
  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(IFaxIncomingMessage **ppIncomingMessage);
  40. };
  41. #endif //__FAXINCOMINGMESSAGE_H_