- Add control flags for CmpDoOpen, CmpCreateKey and CmpUnloadKey.

- Add CmUnloadKey prototype.

svn path=/trunk/; revision=38271
This commit is contained in:
Aleksey Bragin 2008-12-22 18:17:23 +00:00
parent 1f9c4940d2
commit 35fab756b4

View file

@ -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
//