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.

60 lines
695 B

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. logdrive.h
  5. Abstract:
  6. SIS Groveler logging drive header
  7. Authors:
  8. John Douceur, 1998
  9. Environment:
  10. User Mode
  11. Revision History:
  12. --*/
  13. #ifndef _INC_LOGDRIVE
  14. #define _INC_LOGDRIVE
  15. class LogDrive
  16. {
  17. public:
  18. LogDrive();
  19. ~LogDrive();
  20. int drive_index() const
  21. {return log_drive_index;}
  22. void partition_initialized(
  23. int partition_index);
  24. private:
  25. static bool read_registry(
  26. _TCHAR *name,
  27. DWORD size);
  28. static bool write_registry(
  29. _TCHAR *name);
  30. int log_drive_index;
  31. bool *part_initted;
  32. bool registry_written;
  33. };
  34. #endif /* _INC_LOGDRIVE */