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.

45 lines
1.3 KiB

  1. /******************************************************************************
  2. Copyright (c) 1999-2000 Microsoft Corporation
  3. Module Name:
  4. rstrmgr.h
  5. Abstract:
  6. This file contains the declaration of the ISRExternalWrapper interface,
  7. which wrappes data store routines, service RPC routines, etc. This is
  8. also necessary for providing "Test UI Mode" using stub functions.
  9. Revision History:
  10. Seong Kook Khang (SKKhang) 05/10/00
  11. created
  12. ******************************************************************************/
  13. #ifndef _EXTWRAP_H__INCLUDED_
  14. #define _EXTWRAP_H__INCLUDED_
  15. #pragma once
  16. struct ISRExternalWrapper
  17. {
  18. // Restore Point Log Enumeration
  19. virtual BOOL BuildRestorePointList( CDPA_RPI *paryRPI ) = 0;
  20. // Service RPC
  21. virtual BOOL DisableFIFO( DWORD dwRP ) = 0;
  22. virtual DWORD EnableFIFO() = 0;
  23. //virtual BOOL SetRestorePoint( RESTOREPOINTINFO *pRPI, STATEMGRSTATUS *pStatus ) = 0;
  24. virtual BOOL SetRestorePoint( LPCWSTR cszDesc, INT64 *pllRP ) = 0;
  25. virtual BOOL RemoveRestorePoint( DWORD dwRP ) = 0;
  26. virtual BOOL Release() = 0;
  27. };
  28. extern ISRExternalWrapper *g_pExternal;
  29. BOOL CreateSRExternalWrapper( BOOL fUseStub, ISRExternalWrapper **ppExtWrap );
  30. #endif //_EXTWRAP_H__INCLUDED_