ReactOS 0.4.15-dev-8219-ge8b88cf
raw.h
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS cabinet manager
4 * FILE: tools/cabman/raw.h
5 * PURPOSE: CAB codec for uncompressed data
6 */
7
8#pragma once
9
10#include "cabinet.h"
11
12
13/* Classes */
14
15class CRawCodec : public CCABCodec
16{
17public:
18 /* Default constructor */
19 CRawCodec();
20 /* Default destructor */
21 virtual ~CRawCodec();
22 /* Compresses a data block */
23 virtual ULONG Compress(void* OutputBuffer,
24 void* InputBuffer,
25 ULONG InputLength,
26 PULONG OutputLength) override;
27 /* Uncompresses a data block */
28 virtual ULONG Uncompress(void* OutputBuffer,
29 void* InputBuffer,
30 ULONG InputLength,
31 PULONG OutputLength) override;
32};
33
34/* EOF */
Definition: raw.h:16
virtual ULONG Uncompress(void *OutputBuffer, void *InputBuffer, ULONG InputLength, PULONG OutputLength) override
Definition: raw.cxx:52
virtual ~CRawCodec()
Definition: raw.cxx:26
virtual ULONG Compress(void *OutputBuffer, void *InputBuffer, ULONG InputLength, PULONG OutputLength) override
Definition: raw.cxx:34
CRawCodec()
Definition: raw.cxx:18
uint32_t * PULONG
Definition: typedefs.h:59
uint32_t ULONG
Definition: typedefs.h:59
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR OutputBuffer
Definition: wdfiotarget.h:863
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR InputBuffer
Definition: wdfiotarget.h:953