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.

33 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. #define REGSTR_VAL_POLICY_ENABLE TEXT("Enable")
  8. #define REGSTR_VAL_POLICY_ENFORCE TEXT("Enforce")
  9. #define REGSTR_VAL_POLICY_LIMIT TEXT("Limit")
  10. #define REGSTR_VAL_POLICY_THRESHOLD TEXT("Threshold")
  11. #define REGSTR_VAL_POLICY_LIMITUNITS TEXT("LimitUnits")
  12. #define REGSTR_VAL_POLICY_THRESHOLDUNITS TEXT("ThresholdUnits")
  13. #define REGSTR_VAL_POLICY_REMOVABLEMEDIA TEXT("ApplyToRemovableMedia")
  14. #define REGSTR_VAL_POLICY_LOGLIMIT TEXT("LogEventOverLimit")
  15. #define REGSTR_VAL_POLICY_LOGTHRESHOLD TEXT("LogEventOverThreshold")
  16. //
  17. // This is the subkey we store data under in the registry (HKCU).
  18. // If you want to change the location in HKCU, this is all you have to change.
  19. //
  20. #define REGSTR_KEY_DISKQUOTA TEXT("Software\\Microsoft\\Windows NT\\CurrentVersion\\DiskQuota")
  21. #define REGSTR_VAL_PREFERENCES TEXT("Preferences")
  22. #define REGSTR_VAL_FINDMRU TEXT("FindMRU")
  23. #define REGSTR_VAL_DEBUGPARAMS TEXT("DebugParams")
  24. //
  25. // Shell extension registry keys.
  26. //
  27. #define REGSTR_KEY_APPROVEDSHELLEXT TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Shell Extensions\\Approved")
  28. #define REGSTR_KEY_DRIVEPROPSHEETS TEXT("Drive\\shellex\\PropertySheetHandlers")
  29. #endif