Previous Next

KEY_NODE_INFORMATION

The KEY_NODE_INFORMATION structure defines the basic information available for a registry (sub)key.

typedef struct _KEY_NODE_INFORMATION {
  LARGE_INTEGER LastWriteTime;
  ULONG  TitleIndex;
  ULONG  ClassOffset;
  ULONG  ClassLength;
  ULONG  NameLength;
  WCHAR  Name[1];  //  Variable-length string
} KEY_NODE_INFORMATION, *PKEY_NODE_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 name string, which is located immediately following the Name string.
ClassLength
Specifies the number of bytes in the class name string.
NameLength
Specifies the size in bytes of the following name.
Name
A string of Unicode characters naming the key.

Headers

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

See Also

KEY_BASIC_INFORMATION, KEY_FULL_INFORMATION, KEY_INFORMATION_CLASS, ZwEnumerateKey, ZwQueryKey