Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenmszip.h
Go to the documentation of this file.
00001 /* 00002 * COPYRIGHT: See COPYING in the top level directory 00003 * PROJECT: ReactOS cabinet manager 00004 * FILE: tools/cabman/mszip.h 00005 * PURPOSE: CAB codec for MSZIP compressed data 00006 */ 00007 00008 #pragma once 00009 00010 #include "cabinet.h" 00011 #include <zlib.h> 00012 00013 #define MSZIP_MAGIC 0x4B43 00014 00015 00016 /* Classes */ 00017 00018 class CMSZipCodec : public CCABCodec { 00019 public: 00020 /* Default constructor */ 00021 CMSZipCodec(); 00022 /* Default destructor */ 00023 virtual ~CMSZipCodec(); 00024 /* Compresses a data block */ 00025 virtual ULONG Compress(void* OutputBuffer, 00026 void* InputBuffer, 00027 ULONG InputLength, 00028 PULONG OutputLength); 00029 /* Uncompresses a data block */ 00030 virtual ULONG Uncompress(void* OutputBuffer, 00031 void* InputBuffer, 00032 ULONG InputLength, 00033 PULONG OutputLength); 00034 private: 00035 int Status; 00036 z_stream ZStream; /* Zlib stream */ 00037 }; 00038 00039 /* EOF */ Generated on Fri May 25 2012 04:36:08 for ReactOS by
1.7.6.1
|