KEY_FULL_INFORMATION

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

KEY_FULL_INFORMATION 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.

Members

LastWriteTime

The last time the key or any of its values changed.

TitleIndex

Device and intermediate drivers should ignore this member.

ClassOffset

The offset from the start of this structure to the Class member.

ClassLength

The number of bytes in the Class name.

SubKeys

The number of subkeys for the key.

MaxNameLen

The maximum length of any name for a subkey.

MaxClassLen

The maximum length for a Class name.

Values

The number of value entries.

MaxValueNameLen

The maximum length of any value entry name.

MaxValueDataLen

The maximum length of any value entry data field.

Class[1]

A zero-terminated Unicode string naming the class of the key.

See Also

ZwEnumerateKey, ZwQueryKey