#ifndef _NTREGAPI_H
/**
* The KEY_SET_INFORMATION_CLASS enumeration type represents the type of information to set for a registry key.
* \sa https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/ne-wdm-_key_set_information_class
*/
typedef enum _KEY_SET_INFORMATION_CLASS
{
KeyWriteTimeInformation, // KEY_WRITE_TIME_INFORMATION
KeyWow64FlagsInformation, // KEY_WOW64_FLAGS_INFORMATION
KeyControlFlagsInformation, // KEY_CONTROL_FLAGS_INFORMATION
KeySetVirtualizationInformation, // KEY_SET_VIRTUALIZATION_INFORMATION
KeySetDebugInformation,
KeySetHandleTagsInformation, // KEY_HANDLE_TAGS_INFORMATION
KeySetLayerInformation, // KEY_SET_LAYER_INFORMATION
MaxKeySetInfoClass
} KEY_SET_INFORMATION_CLASS;
View code on GitHub// wdm.h
typedef enum _KEY_SET_INFORMATION_CLASS {
KeyWriteTimeInformation,
KeyWow64FlagsInformation,
KeyControlFlagsInformation,
KeySetVirtualizationInformation,
KeySetDebugInformation,
KeySetHandleTagsInformation,
KeySetLayerInformation,
MaxKeySetInfoClass
} KEY_SET_INFORMATION_CLASS;
View the official Windows Driver Kit DDI referenceThis enumeration is documented in Windows Driver Kit.
The KEY_SET_INFORMATION_CLASS enumeration type represents the type of information to set for a registry key.
KeyWriteTimeInformationIndicates that a KEY_WRITE_TIME_INFORMATION structure is supplied.
KeyWow64FlagsInformationReserved for system use.
KeyControlFlagsInformationReserved for system use.
KeySetVirtualizationInformationReserved for system use.
KeySetDebugInformationReserved for system use.
KeySetHandleTagsInformationReserved for system use.
KeySetLayerInformationMaxKeySetInfoClassThis member constant is always the maximum value in the enumeration.
A RegistryCallback routine can receive a pointer to a KEY_SET_INFORMATION_CLASS structure as an input parameter.