ReactOS  0.4.14-dev-342-gdc047f9
registry.h
Go to the documentation of this file.
1 /*
2  * FreeLoader - registry.h
3  *
4  * Copyright (C) 2001 Eric Kohl
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19  */
20 
21 #ifndef __REGISTRY_H
22 #define __REGISTRY_H
23 
24 typedef HANDLE HKEY, *PHKEY;
25 
26 BOOLEAN
28  _In_ PVOID ChunkBase,
30 
31 LONG
33  _In_ BOOLEAN LastKnownGood);
34 
35 LONG
37  _In_ HKEY Key,
40  _Inout_ PULONG NameSize,
41  _Out_opt_ PHKEY SubKey);
42 
43 LONG
45  _In_ HKEY ParentKey,
47  _Out_ PHKEY Key);
48 
49 LONG
51  _In_ HKEY Key,
56 
57 #if 0
58 LONG
60  _In_ HKEY Key,
63  _Inout_ PULONG NameSize,
67 #endif
68 
69 #endif /* __REGISTRY_H */
70 
71 /* EOF */
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ ULONG _Out_ PNDIS_STRING KeyName
Definition: ndis.h:4711
const uint16_t * PCWSTR
Definition: typedefs.h:55
Type
Definition: Type.h:6
unsigned char * PUCHAR
Definition: retypes.h:3
LONG RegInitCurrentControlSet(_In_ BOOLEAN LastKnownGood)
Definition: registry.c:93
uint16_t * PWCHAR
Definition: typedefs.h:54
_In_ PUNICODE_STRING ValueName
Definition: cmfuncs.h:264
_Inout_ PUCHAR _In_ PUCHAR _Out_ PUCHAR _Out_ PULONG ChunkSize
Definition: rtlfuncs.h:2276
long LONG
Definition: pedump.c:60
BOOLEAN RegImportBinaryHive(_In_ PVOID ChunkBase, _In_ ULONG ChunkSize)
Definition: registry.c:56
LONG RegOpenKey(_In_ HKEY ParentKey, _In_z_ PCWSTR KeyName, _Out_ PHKEY Key)
Definition: registry.c:292
LONG RegQueryValue(_In_ HKEY Key, _In_z_ PCWSTR ValueName, _Out_opt_ PULONG Type, _Out_opt_ PUCHAR Data, _Inout_opt_ PULONG DataSize)
Definition: registry.c:435
unsigned char BOOLEAN
#define _Out_
Definition: no_sal2.h:323
#define _Out_opt_
Definition: no_sal2.h:339
static const UCHAR Index[8]
Definition: usbohci.c:18
#define _Inout_
Definition: no_sal2.h:244
LONG RegEnumKey(_In_ HKEY Key, _In_ ULONG Index, _Out_ PWCHAR Name, _Inout_ PULONG NameSize, _Out_opt_ PHKEY SubKey)
Definition: registry.c:224
#define _In_
Definition: no_sal2.h:204
HANDLE * PHKEY
Definition: registry.h:24
#define _In_z_
Definition: no_sal2.h:239
unsigned int * PULONG
Definition: retypes.h:1
HANDLE HKEY
Definition: registry.h:24
unsigned int ULONG
Definition: retypes.h:1
_In_ NDIS_STATUS _In_ ULONG _In_ USHORT _In_opt_ PVOID _In_ ULONG DataSize
Definition: ndis.h:4751
#define RegEnumValue
Definition: winreg.h:511
#define _Inout_opt_
Definition: no_sal2.h:258