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.

80 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. diskinfo.h
  5. Abstract:
  6. SIS Groveler disk information include file
  7. Authors:
  8. John Douceur, 1998
  9. Environment:
  10. User Mode
  11. Revision History:
  12. --*/
  13. #ifndef _INC_DISKINFO
  14. #define _INC_DISKINFO
  15. struct ReadDiskInformation
  16. {
  17. ReadDiskInformation(
  18. const _TCHAR *drive_name);
  19. int min_file_size;
  20. int min_file_age;
  21. bool enable_groveling;
  22. bool error_retry_log_extraction;
  23. bool error_retry_groveling;
  24. bool allow_compressed_files;
  25. bool allow_encrypted_files;
  26. bool allow_hidden_files;
  27. bool allow_offline_files;
  28. bool allow_temporary_files;
  29. __int64 base_usn_log_size;
  30. __int64 max_usn_log_size;
  31. private:
  32. enum {registry_entry_count = 12};
  33. };
  34. struct WriteDiskInformation
  35. {
  36. WriteDiskInformation(
  37. const _TCHAR *drive_name,
  38. int backup_interval);
  39. ~WriteDiskInformation();
  40. double partition_hash_read_time_estimate;
  41. double partition_compare_read_time_estimate;
  42. double mean_file_size;
  43. double read_time_confidence;
  44. int volume_serial_number;
  45. private:
  46. enum {registry_entry_count = 5};
  47. static void backup(
  48. void *context);
  49. int backup_interval;
  50. EntrySpec registry_entries[registry_entry_count];
  51. _TCHAR *ini_file_partition_path;
  52. };
  53. #endif /* _INC_DISKINFO */