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.

35 lines
1.0 KiB

  1. // --------------------------------------------------------------------------
  2. // Module Name: UserSettings.h
  3. //
  4. // Copyright (c) 2000, Microsoft Corporation
  5. //
  6. // A class to handle opening and reading/writing from the HKCU key in either
  7. // an impersonation context or not.
  8. //
  9. // History: 2000-04-26 vtan created
  10. // --------------------------------------------------------------------------
  11. #ifndef _UserSettings_
  12. #define _UserSettings_
  13. // --------------------------------------------------------------------------
  14. // CUserSettings
  15. //
  16. // Purpose: This class deals with user settings typically found in HKCU
  17. //
  18. // History: 2000-04-26 vtan created
  19. // --------------------------------------------------------------------------
  20. class CUserSettings
  21. {
  22. public:
  23. CUserSettings (void);
  24. ~CUserSettings (void);
  25. bool IsRestrictedNoClose (void);
  26. private:
  27. HKEY _hKeyCurrentUser;
  28. };
  29. #endif /* _UserSettings_ */