#ifndef _NTREGAPI_H
/**
* Locks the registry key and prevents changes from being written to disk.
*
* @param KeyHandle Handle to the registry key.
* @return NTSTATUS Successful or errant status.
*/
NTSYSCALLAPI
NTSTATUS
NTAPI
NtLockRegistryKey(
_In_ HANDLE KeyHandle
);
View code on GitHub#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwLockRegistryKey(
_In_ HANDLE KeyHandle
);
View code on GitHubNo description available.