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.

26 lines
590 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000-2001.
  5. //
  6. // File: PolicyKey.h
  7. //
  8. // Contents: Definition of CPolicyKey
  9. //
  10. //----------------------------------------------------------------------------
  11. #ifndef __POLICYKEY_H
  12. #define __POLICYKEY_H
  13. class CPolicyKey
  14. {
  15. public:
  16. CPolicyKey (IGPEInformation* pGPEInformation, PCWSTR pszKey, bool fIsMachine);
  17. ~CPolicyKey ();
  18. HKEY GetKey () const;
  19. private:
  20. HKEY m_hKeyGroupPolicy;
  21. HKEY m_hSubKey;
  22. };
  23. #endif