#ifndef _NTREGAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
NtCompressKey(
_In_ HANDLE KeyHandle
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwCompressKey(
_In_ HANDLE KeyHandle
);
View code on GitHub
This function compress data associated with specified Key
and all his sub-keys. Compressed key require smaller space in registry file, but whole functionality used with compressed key works slower.
HANDLE
of previously opened key object (with write access).