#ifndef _NTREGAPI_H
/**
* Restores a registry key from a file.
*
* @param KeyHandle Handle to the registry key.
* @param FileHandle Handle to the file from which the key will be restored.
* @param Flags Flags for the restore operation.
* @return NTSTATUS Successful or errant status.
*/
NTSYSCALLAPI
NTSTATUS
NTAPI
NtRestoreKey(
_In_ HANDLE KeyHandle,
_In_ HANDLE FileHandle,
_In_ ULONG Flags
);
View code on GitHub#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwRestoreKey(
_In_ HANDLE KeyHandle,
_In_ HANDLE FileHandle,
_In_ ULONG Flags
);
View code on GitHubNo description available.
All keys and values stored in file represented by FileHandle will be children of KeyHandle.
See NtSaveKey for more information about FileHandle.
See RegRestoreKey in SDK.
Privilege: SE_RESTORE_NAME