ReactOS  0.4.15-dev-1150-g593bcce
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 
15 class CRawCodec : public CCABCodec
16 {
17 public:
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 */
virtual ULONG Uncompress(void *OutputBuffer, void *InputBuffer, ULONG InputLength, PULONG OutputLength) override
Definition: raw.cxx:52
virtual ULONG Compress(void *OutputBuffer, void *InputBuffer, ULONG InputLength, PULONG OutputLength) override
Definition: raw.cxx:34
Definition: raw.h:15
CRawCodec()
Definition: raw.cxx:18
virtual ~CRawCodec()
Definition: raw.cxx:26
CHAR InputBuffer[80]
Definition: conmgr.c:33
_In_ ULONG _In_opt_ WDFREQUEST _In_opt_ PVOID _In_ size_t _In_ PVOID OutputBuffer
Definition: cdrom.h:1437
unsigned int * PULONG
Definition: retypes.h:1
unsigned int ULONG
Definition: retypes.h:1