NTSYSAPI
NTSTATUS
NTAPI
NtSaveKey(
IN HANDLE KeyHandle,
IN HANDLE FileHandle );
KeyHandle
FileHandle
HANDLE to any file created with write
access. Before use FileHandle in
other registry function without closing it, call NtFlushKey with KeyHandle as param.