Source code of Windows XP (NT5)
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.

58 lines
1.5 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1999-2001.
  5. //
  6. // File: srdiag.h
  7. //
  8. // Contents: This the header file for the main module of srdiag.exe.
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // Coupling:
  15. //
  16. // Notes:
  17. //
  18. // History: 20-04-2001 weiyouc Created
  19. //
  20. //----------------------------------------------------------------------------
  21. #ifndef __SRDIAG_H__
  22. #define __SRDIAG_H__
  23. //--------------------------------------------------------------------------
  24. // Headers
  25. //--------------------------------------------------------------------------
  26. //--------------------------------------------------------------------------
  27. // Various Defines
  28. //--------------------------------------------------------------------------
  29. #define SR_CONFIG_REG_KEY \
  30. TEXT("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\SystemRestore\\Cfg")
  31. //--------------------------------------------------------------------------
  32. // ProtoTypes
  33. //--------------------------------------------------------------------------
  34. HRESULT GetSRRegInfo(LPTSTR ptszLogFile);
  35. HRESULT ParseRstrLog(LPTSTR ptszRstrLog,
  36. LPTSTR ptszReadableLog);
  37. HRESULT GetDSOnSysVol(LPTSTR* pptszDsOnSys);
  38. HRESULT RPEnumDrives(MPC::Cabinet* pCab,
  39. LPTSTR ptszLogFile);
  40. HRESULT GetChgLogOnDrives(LPTSTR ptszLogFile);
  41. HRESULT GetSRFileInfo(LPTSTR ptszLogFile);
  42. HRESULT GetSREvents(LPTSTR ptszLogFile);
  43. HRESULT CleanupFiles();
  44. #endif