#ifndef _NTREGAPI_H
// private
/**
* The KEY_LAYER_INFORMATION structure contains information about a key layer.
*
* The flags include:
* - IsTombstone: Indicates whether the key layer is a tombstone. A tombstone is a marker that indicates
* that the key has been deleted but not yet purged from the registry. It is used to maintain the
* integrity of the registry and ensure that deleted keys are not immediately reused.
* - IsSupersedeLocal: Indicates whether the key layer supersedes the local key. When set, this flag
* indicates that the key layer should replace the local key's information, effectively overriding
* any local changes or settings.
* - IsSupersedeTree: Indicates whether the key layer supersedes the entire key tree. When set, this flag
* indicates that the key layer should replace the entire subtree of keys, overriding any changes or
* settings in the subtree.
* - ClassIsInherited: Indicates whether the key layer's class is inherited. When set, this flag indicates
* that the class information of the key layer is inherited from its parent key, rather than being
* explicitly defined.
* - Reserved: Reserved bits.
*/
typedef struct _KEY_LAYER_INFORMATION
{
ULONG IsTombstone : 1;
ULONG IsSupersedeLocal : 1;
ULONG IsSupersedeTree : 1;
ULONG ClassIsInherited : 1;
ULONG Reserved : 28;
} KEY_LAYER_INFORMATION, *PKEY_LAYER_INFORMATION;
View code on GitHub
No description available.