#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;
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 referenceThis enumeration is documented in Windows Driver Kit.
The KEY_INFORMATION_CLASS enumeration type represents the type of information to supply about a registry key.
KeyBasicInformationA KEY_BASIC_INFORMATION structure is supplied.
KeyNodeInformationA KEY_NODE_INFORMATION structure is supplied.
KeyFullInformationA KEY_FULL_INFORMATION structure is supplied.
KeyNameInformationA KEY_NAME_INFORMATION structure is supplied.
KeyCachedInformationA KEY_CACHED_INFORMATION structure is supplied.
KeyFlagsInformationReserved for system use.
KeyVirtualizationInformationA KEY_VIRTUALIZATION_INFORMATION structure is supplied.
KeyHandleTagsInformationReserved for system use.
KeyTrustInformationKeyLayerInformationMaxKeyInfoClassThe maximum value in this enumeration type.
Use the KEY_INFORMATION_CLASS values to specify the type of data to be supplied by the ZwEnumerateKey and ZwQueryKey routines.
KEY_VIRTUALIZATION_INFORMATION