KEY_VALUE_INFORMATION_CLASS enumeration (wdm.h)

The KEY_VALUE_INFORMATION_CLASS enumeration type specifies the type of information to supply about the value of a registry key.

Syntax

typedef enum _KEY_VALUE_INFORMATION_CLASS {
  KeyValueBasicInformation,
  KeyValueFullInformation,
  KeyValuePartialInformation,
  KeyValueFullInformationAlign64,
  KeyValuePartialInformationAlign64,
  KeyValueLayerInformation,
  MaxKeyValueInfoClass
} KEY_VALUE_INFORMATION_CLASS;

Constants

 
KeyValueBasicInformation
The information is stored as a KEY_VALUE_BASIC_INFORMATION structure.
KeyValueFullInformation
The information is stored as a KEY_VALUE_FULL_INFORMATION structure.
KeyValuePartialInformation
The information is stored as a KEY_VALUE_PARTIAL_INFORMATION structure.
KeyValueFullInformationAlign64
The information is stored as a KEY_VALUE_FULL_INFORMATION structure that is aligned to a 64-bit (that is, 8-byte) boundary in memory. If the caller-supplied buffer does not start on a 64-bit boundary, ZwQueryValueKey returns STATUS_DATATYPE_MISALIGNMENT.
KeyValuePartialInformationAlign64
The information is stored as a KEY_VALUE_PARTIAL_INFORMATION_ALIGN64 structure that is aligned to a 64-bit (that is, 8-byte) boundary in memory. If the caller-supplied buffer does not start on a 64-bit boundary, ZwQueryValueKey returns STATUS_DATATYPE_MISALIGNMENT.
KeyValueLayerInformation
MaxKeyValueInfoClass
The maximum value in this enumeration type.

Remarks

Use the KEY_VALUE_INFORMATION_CLASS values to specify the type of data to be supplied by the ZwEnumerateValueKey and ZwQueryValueKey routines.

Requirements

   
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)

See also

KEY_VALUE_BASIC_INFORMATION

KEY_VALUE_FULL_INFORMATION

KEY_VALUE_PARTIAL_INFORMATION

ZwEnumerateValueKey

ZwQueryValueKey