#ifndef _NTREGAPI_H
/**
* Flushes the changes to a registry key.
*
* @param[in] KeyHandle A handle to the key to be flushed.
* @return NTSTATUS Successful or errant status.
*/
NTSYSCALLAPI
NTSTATUS
NTAPI
NtFlushKey(
_In_ HANDLE KeyHandle
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwFlushKey(
_In_ HANDLE KeyHandle
);
View code on GitHub
This function is documented in Windows Driver Kit.
See ZwFlushKey
in NT DDK or 2000 DDK for detailed description.