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.

33 lines
999 B

  1. /******************************************************************************
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. Persist.h
  5. Abstract:
  6. This file contains the declaration of the IMPCPersist interface,
  7. which should be implemented by all the objects participating to
  8. persistent storage.
  9. Revision History:
  10. Davide Massarenti (Dmassare) 04/15/99
  11. created
  12. ******************************************************************************/
  13. #if !defined(__INCLUDED___ULMANAGER___PERSIST_H___)
  14. #define __INCLUDED___ULMANAGER___PERSIST_H___
  15. #include <UploadLibrary.h>
  16. class IMPCPersist : public IUnknown // Hungarian: mpcp
  17. {
  18. public:
  19. virtual bool STDMETHODCALLTYPE IsDirty() = 0;
  20. virtual HRESULT STDMETHODCALLTYPE Load( /*[in]*/ MPC::Serializer& streamIn ) = 0;
  21. virtual HRESULT STDMETHODCALLTYPE Save( /*[in]*/ MPC::Serializer& streamOut ) = 0;
  22. };
  23. #endif // !defined(__INCLUDED___ULMANAGER___PERSIST_H___)