NTSYSAPI NTSTATUS NTAPI RtlDescribeChunk( IN USHORT CompressionFormat, IN OUT PUCHAR *CompressedBuffer, IN PUCHAR EndOfCompressedBufferPlus1, OUT PUCHAR *ChunkBuffer, OUT PULONG ChunkSize ); Routine Description: This routine takes as input a compressed buffer, and returns a description of the current chunk in that buffer, updating the CompressedBuffer pointer to point to the next chunk (if there is one). Arguments: CompressionFormat - Supplies the format of the compressed data. CompressedBuffer - Supplies a pointer to the current chunk in the compressed data, and returns pointing to the next chunk EndOfCompressedBufferPlus1 - Points at first byte beyond compressed buffer ChunkBuffer - Receives a pointer to the chunk, if ChunkSize is nonzero, else undefined ChunkSize - Receives the size of the current chunk pointed to by CompressedBuffer. Returns 0 if STATUS_NO_MORE_ENTRIES. Return Value: STATUS_SUCCESS - the decompression worked without a hitch. STATUS_INVALID_PARAMETER - The specified format is illegal STATUS_BAD_COMPRESSION_BUFFER - the input compressed buffer is ill-formed. STATUS_UNSUPPORTED_COMPRESSION - the specified compression format and/or engine is not support. STATUS_NO_MORE_ENTRIES - There is no chunk at the current pointer.