ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

mszip.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 doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.