- Notifications
You must be signed in to change notification settings - Fork 8.5k
/
Copy pathregistry.hpp
41 lines (30 loc) · 966 Bytes
/
registry.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*++
Copyright (c) Microsoft Corporation
Licensed under the MIT license.
Module Name:
- registry.hpp
Abstract:
- This module is used for reading/writing registry operations
Author(s):
- Michael Niksa (MiNiksa) 23-Jul-2014
- Paul Campbell (PaulCam) 23-Jul-2014
Revision History:
- From components of srvinit.c
--*/
#pragma once
#include"precomp.h"
classRegistry
{
public:
Registry(_In_ Settings* const pSettings);
~Registry();
voidLoadGlobalsFromRegistry();
voidLoadDefaultFromRegistry();
voidLoadFromRegistry(_In_ PCWSTR const pwszConsoleTitle);
voidGetEditKeys(_In_opt_ HKEY hConsoleKey) const;
private:
void_LoadMappedProperties(_In_reads_(cPropertyMappings) const RegistrySerialization::RegPropertyMap* const rgPropertyMappings,
const size_t cPropertyMappings,
const HKEY hKey);
Settings* const _pSettings;
};