mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 04:20:46 +00:00
- Add control flags for CmpDoOpen, CmpCreateKey and CmpUnloadKey.
- Add CmUnloadKey prototype. svn path=/trunk/; revision=38271
This commit is contained in:
parent
1f9c4940d2
commit
35fab756b4
1 changed files with 19 additions and 0 deletions
|
@ -85,12 +85,24 @@
|
|||
#define CMP_CREATE_FAKE_KCB 0x1
|
||||
#define CMP_LOCK_HASHES_FOR_KCB 0x2
|
||||
|
||||
//
|
||||
// CmpDoCreate and CmpDoOpen flags
|
||||
//
|
||||
#define CMP_CREATE_KCB_KCB_LOCKED 0x2
|
||||
#define CMP_OPEN_KCB_NO_CREATE 0x4
|
||||
|
||||
//
|
||||
// EnlistKeyBodyWithKCB Flags
|
||||
//
|
||||
#define CMP_ENLIST_KCB_LOCKED_SHARED 0x1
|
||||
#define CMP_ENLIST_KCB_LOCKED_EXCLUSIVE 0x2
|
||||
|
||||
//
|
||||
// Unload Flags
|
||||
//
|
||||
#define CMP_UNLOCK_KCB_LOCKED 0x1
|
||||
#define CMP_UNLOCK_REGISTRY_LOCKED 0x2
|
||||
|
||||
//
|
||||
// Maximum size of Value Cache
|
||||
//
|
||||
|
@ -1420,6 +1432,13 @@ CmLoadKey(
|
|||
IN PCM_KEY_BODY KeyBody
|
||||
);
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
CmUnloadKey(
|
||||
IN PCM_KEY_CONTROL_BLOCK Kcb,
|
||||
IN ULONG Flags
|
||||
);
|
||||
|
||||
//
|
||||
// Startup and Shutdown
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue