Previous Next

KEY_FULL_INFORMATION

The KEY_FULL_INFORMATION structure defines the information available for a registry key, including information about its subkeys and the maximum length for their names and value entries. This information can be used to size buffers to get the names of subkeys and their value entries.

typedef _KEY_FULL_INFORMATION {
  LARGE_INTEGER  LastWriteTime;
  ULONG  TitleIndex;
  ULONG  ClassOffset;
  ULONG  ClassLength;
  ULONG  SubKeys;
  ULONG  MaxNameLen;
  ULONG  MaxClassLen;
  ULONG  Values;
  ULONG  MaxValueNameLen;
  ULONG  MaxValueDataLen;
  WCHAR  Class[1];
} KEY_FULL_INFORMATION; PKEY_FULL_INFORMATION

Members

LastWriteTime
Specifies the last time the key or any of its values changed.
TitleIndex
Device and intermediate drivers should ignore this member.
ClassOffset
Specifies the offset from the start of this structure to the Class member.
ClassLength
Specifies the number of bytes in the Class name.
SubKeys
Specifies the number of subkeys for the key.
MaxNameLen
Specifies the maximum length in bytes of any name for a subkey.
MaxClassLen
Specifies the maximum length in bytes for a Class name.
Values
Specifies the number of value entries.
MaxValueNameLen
Specifies the maximum length in bytes of any value entry name.
MaxValueDataLen
Specifies the maximum length in bytes of any value entry data field.
Class[1]
A string of Unicode characters naming the class of the key.

Headers

Defined in wdm.h and ntddk.h. Include wdm.h or ntddk.h.

See Also

KEY_BASIC_INFORMATION, KEY_INFORMATION_CLASS, KEY_NODE_INFORMATION, ZwEnumerateKey, ZwQueryKey