#ifndef _NTREGAPI_H
/**
* The KEY_CACHED_INFORMATION structure holds the cached information available for a registry key or subkey.
* \sa https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddk/ns-ntddk-_key_cached_information
*/
typedef struct _KEY_CACHED_INFORMATION
{
LARGE_INTEGER LastWriteTime;
ULONG TitleIndex;
ULONG SubKeys;
ULONG MaxNameLength;
ULONG Values;
ULONG MaxValueNameLength;
ULONG MaxValueDataLength;
ULONG NameLength;
_Field_size_bytes_(NameLength) WCHAR Name[1];
} KEY_CACHED_INFORMATION, *PKEY_CACHED_INFORMATION;
View code on GitHub
This structure is documented in Windows Driver Kit.