ReactOS  0.4.14-dev-293-g2b39b42
registry.h
Go to the documentation of this file.
1 /*
2  * ReactOS kernel
3  * Copyright (C) 2003 ReactOS Team
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 /*
20  * COPYRIGHT: See COPYING in the top level directory
21  * PROJECT: ReactOS Setup Library
22  * FILE: base/setup/lib/registry.h
23  * PURPOSE: Registry creation functions
24  * PROGRAMMERS: ...
25  * Hermes Belusca-Maito (hermes.belusca@sfr.fr)
26  */
27 
28 #pragma once
29 
30 HANDLE
33  OUT PCWSTR* RootKeyMountPoint OPTIONAL);
34 
35 HANDLE
37  IN PCWSTR RootKeyName,
38  OUT PCWSTR* RootKeyMountPoint OPTIONAL);
39 
40 BOOLEAN
42  IN PCWSTR SourcePath,
44  IN PCWSTR Section,
45  IN LCID LocaleId,
46  IN BOOLEAN Delete);
47 
51  OUT PBOOLEAN ShouldRepairRegistry);
52 
56 
57 VOID
60 
61 /* EOF */
const uint16_t * PCWSTR
Definition: typedefs.h:55
#define IN
Definition: typedefs.h:38
UNICODE_STRING NtSystemRoot
Definition: init.c:72
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ ULONG _Out_ PNDIS_STRING _Out_ PNDIS_HANDLE KeyHandle
Definition: ndis.h:4711
BOOLEAN ImportRegistryFile(IN PCWSTR SourcePath, IN PCWSTR FileName, IN PCWSTR Section, IN LCID LocaleId, IN BOOLEAN Delete)
Definition: registry.c:507
LONG NTSTATUS
Definition: precomp.h:26
DWORD LCID
Definition: nls.h:13
unsigned char BOOLEAN
VOID RegCleanupRegistry(IN PUNICODE_STRING NtSystemRoot)
Definition: registry.c:997
char * PBOOLEAN
Definition: retypes.h:11
NTSTATUS RegInitializeRegistry(IN PUNICODE_STRING NtSystemRoot)
Definition: registry.c:679
NTSTATUS VerifyRegistryHives(IN PUNICODE_STRING NtSystemRoot, OUT PBOOLEAN ShouldRepairRegistry)
Definition: registry.c:603
HANDLE GetRootKeyByName(IN PCWSTR RootKeyName, OUT PCWSTR *RootKeyMountPoint OPTIONAL)
Definition: registry.c:107
#define OUT
Definition: typedefs.h:39
BOOL Delete(LPCTSTR ServiceName)
Definition: delete.c:12
HANDLE GetRootKeyByPredefKey(IN HANDLE KeyHandle, OUT PCWSTR *RootKeyMountPoint OPTIONAL)
Definition: registry.c:90
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68