Author: jgardou Date: Fri May 3 18:28:34 2013 New Revision: 58915
URL: http://svn.reactos.org/svn/reactos?rev=58915&view=rev Log: [PSDK] * Add complete definition of KEY_INFORMATION_CLASS [DDK] * Add KEY_NAME_INFORMATION structure declaration
Modified: trunk/reactos/include/ddk/ntddk.h trunk/reactos/include/psdk/winternl.h
Modified: trunk/reactos/include/ddk/ntddk.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntddk.h?rev=589... ============================================================================== --- trunk/reactos/include/ddk/ntddk.h [iso-8859-1] (original) +++ trunk/reactos/include/ddk/ntddk.h [iso-8859-1] Fri May 3 18:28:34 2013 @@ -5836,6 +5836,33 @@ _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
Modified: trunk/reactos/include/psdk/winternl.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winternl.h?rev... ============================================================================== --- trunk/reactos/include/psdk/winternl.h [iso-8859-1] (original) +++ trunk/reactos/include/psdk/winternl.h [iso-8859-1] Fri May 3 18:28:34 2013 @@ -632,10 +632,16 @@ 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 {