da2ef1d9f89e8307b5a1ad4ca91b4ba7dff3b75d
2 * FreeLoader - registry.h
4 * Copyright (C) 2001 Eric Kohl
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.
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.
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.
24 #define TAG_REG_NAME 'NgeR'
25 #define TAG_REG_KEY 'KgeR'
26 #define TAG_REG_KEY_DATA 'DgeR'
27 #define TAG_REG_VALUE 'VgeR'
29 typedef struct _REG_KEY
32 LIST_ENTRY SubKeyList
;
45 } KEY
, *FRLDRHKEY
, **PFRLDRHKEY
;
48 typedef struct _REG_VALUE
65 RegInitializeRegistry(VOID
);
68 RegInitCurrentControlSet(BOOLEAN LastKnownGood
);
72 RegCreateKey(FRLDRHKEY ParentKey
,
77 RegDeleteKey(FRLDRHKEY Key
,
81 RegEnumKey(FRLDRHKEY Key
,
87 RegOpenKey(FRLDRHKEY ParentKey
,
93 RegSetValue(FRLDRHKEY Key
,
100 RegQueryValue(FRLDRHKEY Key
,
107 RegDeleteValue(FRLDRHKEY Key
,
111 RegEnumValue(FRLDRHKEY Key
,
120 RegGetSubKeyCount (FRLDRHKEY Key
);
123 RegGetValueCount (FRLDRHKEY Key
);
127 RegImportBinaryHive (PCHAR ChunkBase
,
131 RegExportBinaryHive (PCWSTR KeyName
,
136 #endif /* __REGISTRY_H */