* Add complete definition of KEY_INFORMATION_CLASS
[DDK]
 * Add KEY_NAME_INFORMATION structure declaration

svn path=/trunk/; revision=58915
This commit is contained in:
Jérôme Gardou 2013-05-03 18:28:34 +00:00
parent 3d8186b866
commit 703a1db75e
2 changed files with 37 additions and 4 deletions

View file

@ -5836,6 +5836,33 @@ FsRtlIsTotalDeviceFailure(
_In_ NTSTATUS Status);
#endif
/* Output parameters of ZwQueryKey */
typedef struct _KEY_NAME_INFORMATION {
ULONG NameLength;
WCHAR Name[1];
} KEY_NAME_INFORMATION, *PKEY_NAME_INFORMATION;
typedef struct _KEY_CACHED_INFORMATION {
LARGE_INTEGER LastWriteTime;
ULONG TitleIndex;
ULONG SubKeys;
ULONG MaxNameLen;
ULONG Values;
ULONG MaxValueNameLen;
ULONG MaxValueDataLen;
ULONG NameLength;
} KEY_CACHED_INFORMATION, *PKEY_CACHED_INFORMATION;
typedef struct _KEY_VIRTUALIZATION_INFORMATION {
ULONG VirtualizationCandidate :1;
ULONG VirtualizationEnabled :1;
ULONG VirtualTarget :1;
ULONG VirtualStore :1;
ULONG VirtualSource :1;
ULONG Reserved :27;
} KEY_VIRTUALIZATION_INFORMATION, *PKEY_VIRTUALIZATION_INFORMATION;
#ifdef __cplusplus
}
#endif

View file

@ -632,10 +632,16 @@ typedef enum _FSINFOCLASS {
FileFsMaximumInformation
} FS_INFORMATION_CLASS, *PFS_INFORMATION_CLASS;
typedef enum _KEY_INFORMATION_CLASS {
KeyBasicInformation,
KeyNodeInformation,
KeyFullInformation
typedef enum _KEY_INFORMATION_CLASS {
KeyBasicInformation = 0,
KeyNodeInformation = 1,
KeyFullInformation = 2,
KeyNameInformation = 3,
KeyCachedInformation = 4,
KeyFlagsInformation = 5,
KeyVirtualizationInformation = 6,
KeyHandleTagsInformation = 7,
MaxKeyInfoClass = 8
} KEY_INFORMATION_CLASS;
typedef enum _KEY_VALUE_INFORMATION_CLASS {