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.

36 lines
1.5 KiB

  1. #ifndef _INC_DSKQUOTA_REGSTR_H
  2. #define _INC_DSKQUOTA_REGSTR_H
  3. //
  4. // Registry strings associated with disk quota policy.
  5. //
  6. #define REGSTR_KEY_POLICYDATA TEXT("Software\\Policies\\Microsoft\\Windows NT\\DiskQuota")
  7. #ifdef POLICY_MMC_SNAPIN
  8. #define REGSTR_VAL_POLICYDATA TEXT("PolicyData")
  9. #endif
  10. #define REGSTR_VAL_POLICY_ENABLE TEXT("Enable")
  11. #define REGSTR_VAL_POLICY_ENFORCE TEXT("Enforce")
  12. #define REGSTR_VAL_POLICY_LIMIT TEXT("Limit")
  13. #define REGSTR_VAL_POLICY_THRESHOLD TEXT("Threshold")
  14. #define REGSTR_VAL_POLICY_LIMITUNITS TEXT("LimitUnits")
  15. #define REGSTR_VAL_POLICY_THRESHOLDUNITS TEXT("ThresholdUnits")
  16. #define REGSTR_VAL_POLICY_REMOVABLEMEDIA TEXT("ApplyToRemovableMedia")
  17. #define REGSTR_VAL_POLICY_LOGLIMIT TEXT("LogEventOverLimit")
  18. #define REGSTR_VAL_POLICY_LOGTHRESHOLD TEXT("LogEventOverThreshold")
  19. //
  20. // This is the subkey we store data under in the registry (HKCU).
  21. // If you want to change the location in HKCU, this is all you have to change.
  22. //
  23. #define REGSTR_KEY_DISKQUOTA TEXT("Software\\Microsoft\\Windows NT\\CurrentVersion\\DiskQuota")
  24. #define REGSTR_VAL_PREFERENCES TEXT("Preferences")
  25. #define REGSTR_VAL_FINDMRU TEXT("FindMRU")
  26. #define REGSTR_VAL_DEBUGPARAMS TEXT("DebugParams")
  27. //
  28. // Shell extension registry keys.
  29. //
  30. #define REGSTR_KEY_APPROVEDSHELLEXT TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Shell Extensions\\Approved")
  31. #define REGSTR_KEY_DRIVEPROPSHEETS TEXT("Drive\\shellex\\PropertySheetHandlers")
  32. #endif