#ifndef _NTRTL_H
NTSYSAPI
NTSTATUS
NTAPI
RtlGetCompressionWorkSpaceSize(
_In_ USHORT CompressionFormatAndEngine,
_Out_ PULONG CompressBufferWorkSpaceSize,
_Out_ PULONG CompressFragmentWorkSpaceSize
);
View code on GitHub
This function is documented in Windows Driver Kit.
See RtlCompressBuffer
for valid CompressionFormat
flags.
You must allocate temporary compression buffer for system internal use in compression process.
Buffer must have pNeededBufferSize
bytes length.
???, probably PageSize (0x4000).