Documentation
https://docs.microsoft.com/en-us/windows/desktop/cmpapi/-compression-portal
Here is the link to the C++ compression/decompression examples to test in W10 console mode.
https://docs.microsoft.com/en-us/windows/desktop/cmpapi/using-the-compression-api-in-buffer-mode
and it is very fast...
Must be linked with the cabinet.lib and use the W10 cabinet.dll