#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 GitHubThis structure is documented in Windows Driver Kit.
The KEY_VALUE_FULL_INFORMATION structure defines information available for a value entry of a registry key.
TitleIndexDevice and intermediate drivers should ignore this member.
TypeSpecifies the system-defined type for the registry value(s) following the Name member. For a summary of these types, see KEY_VALUE_BASIC_INFORMATION.
DataOffsetSpecifies the offset from the start of this structure to the data immediately following the Name string.
DataLengthSpecifies the number of bytes of registry information for the value entry identified by Name.
NameLengthSpecifies the size in bytes of the following value entry name.
NameA string of Unicode characters naming a value entry of the key.