#ifndef _NTREGAPI_H
typedef struct _KEY_NAME_INFORMATION
{
ULONG NameLength;
_Field_size_bytes_(NameLength) WCHAR Name[1];
} KEY_NAME_INFORMATION, *PKEY_NAME_INFORMATION;
View code on GitHub
This structure is documented in Windows Driver Kit.