3 * Copyright (C) 2006 ReactOS Team
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.
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.
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.
19 /* COPYRIGHT: See COPYING in the top level directory
20 * PROJECT: ReactOS hive maker
21 * FILE: tools/mkhive/cmi.h
22 * PURPOSE: Registry file manipulation routines
23 * PROGRAMMER: Hervé Poussineau
26 #define VERIFY_KEY_CELL(key)
27 #define VERIFY_VALUE_LIST_CELL(cell)
30 CmiInitializeTempHive(
35 IN PCMHIVE RegistryHive
,
36 IN PCM_KEY_NODE ParentKeyCell
,
37 IN HCELL_INDEX ParentKeyCellOffset
,
38 IN PCUNICODE_STRING SubKeyName
,
39 IN ULONG CreateOptions
,
40 OUT PCM_KEY_NODE
*pSubKeyCell
,
41 OUT HCELL_INDEX
*pBlockOffset
);
45 IN PCMHIVE RegistryHive
,
46 IN PCM_KEY_NODE KeyCell
,
47 IN PCUNICODE_STRING SubKeyName
,
49 OUT PCM_KEY_NODE
*pSubKeyCell
,
50 OUT HCELL_INDEX
*pBlockOffset
);
54 IN PCMHIVE RegistryHive
,
55 IN PCM_KEY_NODE KeyCell
,
56 IN HCELL_INDEX KeyCellOffset
,
57 IN PCUNICODE_STRING ValueName
,
58 OUT PCM_KEY_VALUE
*pValueCell
,
59 OUT HCELL_INDEX
*pValueCellOffset
);
63 IN PCMHIVE RegistryHive
,
64 IN PCM_KEY_NODE KeyCell
,
65 IN PCUNICODE_STRING ValueName
,
66 OUT PCM_KEY_VALUE
*pValueCell
,
67 OUT HCELL_INDEX
*pValueCellOffset
);