mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:13:03 +00:00
* Create a branch for USB experiments.
svn path=/branches/usb-experiments/; revision=72629
This commit is contained in:
parent
28d8ba0d3e
commit
0ee830d7a4
23049 changed files with 0 additions and 1313991 deletions
55
sdk/tools/mkhive/cmi.h
Normal file
55
sdk/tools/mkhive/cmi.h
Normal file
|
@ -0,0 +1,55 @@
|
|||
/*
|
||||
* ReactOS kernel
|
||||
* Copyright (C) 2006 ReactOS Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS hive maker
|
||||
* FILE: tools/mkhive/cmi.h
|
||||
* PURPOSE: Registry file manipulation routines
|
||||
* PROGRAMMER: Hervé Poussineau
|
||||
*/
|
||||
|
||||
#define VERIFY_KEY_CELL(key)
|
||||
|
||||
NTSTATUS
|
||||
CmiInitializeHive(
|
||||
IN OUT PCMHIVE Hive,
|
||||
IN PCWSTR Name);
|
||||
|
||||
NTSTATUS
|
||||
CmiCreateSecurityKey(
|
||||
IN PHHIVE Hive,
|
||||
IN HCELL_INDEX Cell,
|
||||
IN PUCHAR Descriptor,
|
||||
IN ULONG DescriptorLength);
|
||||
|
||||
NTSTATUS
|
||||
CmiAddSubKey(
|
||||
IN PCMHIVE RegistryHive,
|
||||
IN HCELL_INDEX ParentKeyCellOffset,
|
||||
IN PCUNICODE_STRING SubKeyName,
|
||||
IN BOOLEAN VolatileKey,
|
||||
OUT HCELL_INDEX *pBlockOffset);
|
||||
|
||||
NTSTATUS
|
||||
CmiAddValueKey(
|
||||
IN PCMHIVE RegistryHive,
|
||||
IN PCM_KEY_NODE Parent,
|
||||
IN PCUNICODE_STRING ValueName,
|
||||
OUT PCM_KEY_VALUE *pValueCell,
|
||||
OUT HCELL_INDEX *pValueCellOffset);
|
Loading…
Add table
Add a link
Reference in a new issue