#ifndef _NTREGAPI_H
/**
* Compacts the specified registry keys.
*
* @param[in] Count The number of keys to be compacted.
* @param[in] KeyArray An array of handles to the keys to be compacted.
* @return NTSTATUS Successful or errant status.
*/
NTSYSCALLAPI
NTSTATUS
NTAPI
NtCompactKeys(
_In_ ULONG Count,
_In_reads_(Count) HANDLE KeyArray[]
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwCompactKeys(
_In_ ULONG Count,
_In_reads_(Count) HANDLE KeyArray[]
);
View code on GitHub
Function NtCompactKeys
compacts (reduces size) of specified key(s). On Windows NT the same functionality was given by use NtSaveKey
and NtRestoreKey
.
Number of entries in KeysArray
array.
Array containing handles for previously opened keys.