KEY_INFORMATION_CLASS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTREGAPI_H

/**
 * The KEY_INFORMATION_CLASS structure represents the type of information to supply about a registry key.
 * \sa https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/ne-wdm-_key_information_class
 */
typedef enum _KEY_INFORMATION_CLASS
{
    KeyBasicInformation, // KEY_BASIC_INFORMATION
    KeyNodeInformation, // KEY_NODE_INFORMATION
    KeyFullInformation, // KEY_FULL_INFORMATION
    KeyNameInformation, // KEY_NAME_INFORMATION
    KeyCachedInformation, // KEY_CACHED_INFORMATION
    KeyFlagsInformation, // KEY_FLAGS_INFORMATION
    KeyVirtualizationInformation, // KEY_VIRTUALIZATION_INFORMATION
    KeyHandleTagsInformation, // KEY_HANDLE_TAGS_INFORMATION
    KeyTrustInformation, // KEY_TRUST_INFORMATION
    KeyLayerInformation, // KEY_LAYER_INFORMATION
    MaxKeyInfoClass
} KEY_INFORMATION_CLASS;

#endif

View code on GitHub
// wdm.h

typedef enum _KEY_INFORMATION_CLASS {
  KeyBasicInformation,
  KeyNodeInformation,
  KeyFullInformation,
  KeyNameInformation,
  KeyCachedInformation,
  KeyFlagsInformation,
  KeyVirtualizationInformation,
  KeyHandleTagsInformation,
  KeyTrustInformation,
  KeyLayerInformation,
  MaxKeyInfoClass
} KEY_INFORMATION_CLASS;

View the official Windows Driver Kit DDI reference

NtDoc

This enumeration is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (ne-wdm-_key_information_class)

_KEY_INFORMATION_CLASS enumeration

Description

The KEY_INFORMATION_CLASS enumeration type represents the type of information to supply about a registry key.

Constants

KeyBasicInformation

A KEY_BASIC_INFORMATION structure is supplied.

KeyNodeInformation

A KEY_NODE_INFORMATION structure is supplied.

KeyFullInformation

A KEY_FULL_INFORMATION structure is supplied.

KeyNameInformation

A KEY_NAME_INFORMATION structure is supplied.

KeyCachedInformation

A KEY_CACHED_INFORMATION structure is supplied.

KeyFlagsInformation

Reserved for system use.

KeyVirtualizationInformation

A KEY_VIRTUALIZATION_INFORMATION structure is supplied.

KeyHandleTagsInformation

Reserved for system use.

KeyTrustInformation

KeyLayerInformation

MaxKeyInfoClass

The maximum value in this enumeration type.

Remarks

Use the KEY_INFORMATION_CLASS values to specify the type of data to be supplied by the ZwEnumerateKey and ZwQueryKey routines.

See also

KEY_BASIC_INFORMATION

KEY_CACHED_INFORMATION

KEY_FULL_INFORMATION

KEY_NAME_INFORMATION

KEY_NODE_INFORMATION

KEY_VIRTUALIZATION_INFORMATION

ZwEnumerateKey

ZwQueryKey