#ifndef _NTREGAPI_H
// rev
/**
* VR_LOAD_DIFFERENCING_HIVE_FOR_HOST describes parameters to load a differencing
* hive on behalf of a host. It contains flags, path lengths and inline string
* buffers for the key and hive paths.
*/
typedef struct _VR_LOAD_DIFFERENCING_HIVE_FOR_HOST
{
ULONG LoadFlags; // NtLoadKeyEx flags
ULONG Flags; // VR_FLAG_* // since REDSTONE2
USHORT KeyPathLength;
USHORT HivePathLength;
USHORT NextLayerKeyPathLength;
HANDLE FileAccessToken; // since 20H1
WCHAR Strings[ANYSIZE_ARRAY];
// ...
// WCHAR KeyPath[1];
// WCHAR HivePath[1];
// WCHAR NextLayerKeyPath[1];
} VR_LOAD_DIFFERENCING_HIVE_FOR_HOST, *PVR_LOAD_DIFFERENCING_HIVE_FOR_HOST;
View code on GitHubNo description available.