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.

30 lines
939 B

  1. /*++
  2. Copyright (C) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. REGHELP.H
  5. History:
  6. --*/
  7. #if !defined(MITUTIL_RegHelp_h_INCLUDED)
  8. #define MITUTIL_RegHelp_h_INCLUDED
  9. #pragma once
  10. //------------------------------------------------------------------------------
  11. class LTAPIENTRY CRegHelp
  12. {
  13. public:
  14. static BOOL GetRegValue(HKEY hKey, LPCTSTR pszPath, const CString & stName, CString & stValue);
  15. static BOOL GetRegValue(HKEY hKey, LPCTSTR pszPath, const CString & stName, DWORD & dwNum);
  16. static BOOL GetRegValue(HKEY hKey, LPCTSTR pszPath, const CString & stName, long & nNum);
  17. static BOOL GetRegValue(HKEY hKey, LPCTSTR pszPath, const CString & stName, BOOL & fNum);
  18. static BOOL GetRegValue(HKEY hKey, LPCTSTR pszPath, const CString & stName, VARIANT_BOOL & fNum);
  19. static BOOL GetRegValue(HKEY hKey, LPCTSTR pszPath, const CString & stName, GUID & guid);
  20. };
  21. #endif // MITUTIL_RegHelp_h_INCLUDED