KEY_VIRTUALIZATION_INFORMATION structure (ntddk.h)

The KEY_VIRTUALIZATION_INFORMATION structure defines the basic information that is available for a registry key or subkey.

Syntax

typedef struct _KEY_VIRTUALIZATION_INFORMATION {
  ULONG VirtualizationCandidate : 1;
  ULONG VirtualizationEnabled : 1;
  ULONG VirtualTarget : 1;
  ULONG VirtualStore : 1;
  ULONG VirtualSource : 1;
  ULONG Reserved : 27;
} KEY_VIRTUALIZATION_INFORMATION, *PKEY_VIRTUALIZATION_INFORMATION;

Members

VirtualizationCandidate

Specifies whether the key is part of the virtualization namespace scope.

VirtualizationEnabled

Specifies whether virtualization is enabled on this key. This value can be set to 1 only if VirtualizationCandidate is 1.

VirtualTarget

Specifies whether the key is a virtual key. This value can be set to 1 only if VirtualizationCandidate and VirtualizationEnabled are both 0. This value is valid only on the virtual store key handles.

VirtualStore

Specified whether the key is a part of the virtual store path.

VirtualSource

Specifies whether the key has ever been virtualized. This value can be set to 1 only if VirtualizationCandidate is 1.

Reserved

This value is reserved for system use.

Requirements

Requirement Value
Minimum supported client Available on Windows Vista and later versions of the Windows operating system.
Header ntddk.h (include Ntddk.h)

See also

KEY_BASIC_INFORMATION

KEY_CACHED_INFORMATION

KEY_FULL_INFORMATION

KEY_INFORMATION_CLASS

KEY_NAME_INFORMATION

KEY_NODE_INFORMATION

ZwEnumerateKey

ZwQueryKey