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
35 lines
1.0 KiB
// --------------------------------------------------------------------------
|
|
// Module Name: UserSettings.h
|
|
//
|
|
// Copyright (c) 2000, Microsoft Corporation
|
|
//
|
|
// A class to handle opening and reading/writing from the HKCU key in either
|
|
// an impersonation context or not.
|
|
//
|
|
// History: 2000-04-26 vtan created
|
|
// --------------------------------------------------------------------------
|
|
|
|
#ifndef _UserSettings_
|
|
#define _UserSettings_
|
|
|
|
// --------------------------------------------------------------------------
|
|
// CUserSettings
|
|
//
|
|
// Purpose: This class deals with user settings typically found in HKCU
|
|
//
|
|
// History: 2000-04-26 vtan created
|
|
// --------------------------------------------------------------------------
|
|
|
|
class CUserSettings
|
|
{
|
|
public:
|
|
CUserSettings (void);
|
|
~CUserSettings (void);
|
|
|
|
bool IsRestrictedNoClose (void);
|
|
private:
|
|
HKEY _hKeyCurrentUser;
|
|
};
|
|
|
|
#endif /* _UserSettings_ */
|
|
|