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.
27 lines
1.1 KiB
27 lines
1.1 KiB
//******************************************************************************
|
|
//
|
|
// RegHelp.h : Collection of Registry helping functions
|
|
//
|
|
// Copyright (C) 1994-1997 by Microsoft Corporation
|
|
// All rights reserved.
|
|
//
|
|
//******************************************************************************
|
|
|
|
#if !defined(MITUTIL_RegHelp_h_INCLUDED)
|
|
#define MITUTIL_RegHelp_h_INCLUDED
|
|
|
|
#pragma once
|
|
|
|
//------------------------------------------------------------------------------
|
|
class LTAPIENTRY CRegHelp
|
|
{
|
|
public:
|
|
static BOOL GetRegValue(HKEY hKey, LPCTSTR pszPath, const CString & stName, CString & stValue);
|
|
static BOOL GetRegValue(HKEY hKey, LPCTSTR pszPath, const CString & stName, DWORD & dwNum);
|
|
static BOOL GetRegValue(HKEY hKey, LPCTSTR pszPath, const CString & stName, long & nNum);
|
|
static BOOL GetRegValue(HKEY hKey, LPCTSTR pszPath, const CString & stName, BOOL & fNum);
|
|
static BOOL GetRegValue(HKEY hKey, LPCTSTR pszPath, const CString & stName, VARIANT_BOOL & fNum);
|
|
static BOOL GetRegValue(HKEY hKey, LPCTSTR pszPath, const CString & stName, GUID & guid);
|
|
};
|
|
|
|
#endif // MITUTIL_RegHelp_h_INCLUDED
|