ReactOS  0.4.14-dev-1233-gf5658fd
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);
27  /* Uncompresses a data block */
28  virtual ULONG Uncompress(void* OutputBuffer,
29  void* InputBuffer,
30  ULONG InputLength,
31  PULONG OutputLength);
32 };
33 
34 /* EOF */
virtual ULONG Compress(void *OutputBuffer, void *InputBuffer, ULONG InputLength, PULONG OutputLength)
Definition: raw.cxx:34
CHAR InputBuffer[80]
Definition: conmgr.c:33
Definition: raw.h:15
CRawCodec()
Definition: raw.cxx:18
virtual ULONG Uncompress(void *OutputBuffer, void *InputBuffer, ULONG InputLength, PULONG OutputLength)
Definition: raw.cxx:52
_Must_inspect_result_ __drv_aliasesMem _In_ PDEVICE_OBJECT _In_opt_ PVOID _In_ ULONG _Out_opt_ PVOID OutputBuffer
Definition: iofuncs.h:713
virtual ~CRawCodec()
Definition: raw.cxx:26
unsigned int * PULONG
Definition: retypes.h:1
unsigned int ULONG
Definition: retypes.h:1