#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 reference
This enumeration is documented in Windows Driver Kit.
The KEY_INFORMATION_CLASS enumeration type represents the type of information to supply about a registry key.
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.
Use the KEY_INFORMATION_CLASS values to specify the type of data to be supplied by the ZwEnumerateKey and ZwQueryKey routines.
KEY_VIRTUALIZATION_INFORMATION