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.

40 lines
1.2 KiB

  1. // MessageFolder.h: interface for the CMessageFolder class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MESSAGEFOLDER_H__5236D732_0E9D_4B89_A1CB_2185C21746FD__INCLUDED_)
  5. #define AFX_MESSAGEFOLDER_H__5236D732_0E9D_4B89_A1CB_2185C21746FD__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CMessageFolder : public CFolder
  10. {
  11. public:
  12. CMessageFolder(
  13. FolderType type,
  14. FAX_ENUM_MESSAGE_FOLDER Folder
  15. ) :
  16. CFolder(type),
  17. m_Folder (Folder)
  18. {}
  19. virtual ~CMessageFolder() { PreDestruct(); }
  20. DWORD Refresh ();
  21. static void ReadConfiguration ();
  22. DWORD OnJobAdded (DWORDLONG dwlMsgId);
  23. DWORD OnJobUpdated (DWORDLONG dwlMsgId, PFAX_JOB_STATUS pNewStatus)
  24. { ASSERT (FALSE); return ERROR_CALL_NOT_IMPLEMENTED; }
  25. private:
  26. FAX_ENUM_MESSAGE_FOLDER m_Folder; // Inbox / Sent items
  27. static DWORD m_sdwNumMessagesPerRPCCall; // Number of messages to
  28. // retrieve per RPC call.
  29. };
  30. #endif // !defined(AFX_MESSAGEFOLDER_H__5236D732_0E9D_4B89_A1CB_2185C21746FD__INCLUDED_)