#ifndef _NTREGAPI_H
/**
* The KEY_VALUE_FULL_INFORMATION structure defines information available for a value entry of a registry key.
* \sa https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/ns-wdm-_key_value_full_information
*/
typedef struct _KEY_VALUE_FULL_INFORMATION
{
ULONG TitleIndex;
ULONG Type;
ULONG DataOffset;
ULONG DataLength;
ULONG NameLength;
_Field_size_bytes_(NameLength) WCHAR Name[1];
// ...
// UCHAR Data[1];
} KEY_VALUE_FULL_INFORMATION, *PKEY_VALUE_FULL_INFORMATION;
View code on GitHub
This structure is documented in Windows Driver Kit.
The KEY_VALUE_FULL_INFORMATION structure defines information available for a value entry of a registry key.
TitleIndex
Device and intermediate drivers should ignore this member.
Type
Specifies the system-defined type for the registry value(s) following the Name member. For a summary of these types, see KEY_VALUE_BASIC_INFORMATION.
DataOffset
Specifies the offset from the start of this structure to the data immediately following the Name string.
DataLength
Specifies the number of bytes of registry information for the value entry identified by Name.
NameLength
Specifies the size in bytes of the following value entry name.
Name
A string of Unicode characters naming a value entry of the key.