#ifndef _NTREGAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
NtSaveKey(
_In_ HANDLE KeyHandle,
_In_ HANDLE FileHandle
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwSaveKey(
_In_ HANDLE KeyHandle,
_In_ HANDLE FileHandle
);
View code on GitHub
HANDLE
to any file created with write access.
Before use FileHandle
in other registry function without closing it, call NtFlushKey
with KeyHandle
as param.
Privilege: SE_BACKUP_NAME