home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 Secrets (4th Edition) / Windows95Secrets4thEdition.iso / tools / installr / freeman / unzldr.h_ / unzldr
Encoding:
Text File  |  1995-07-13  |  503 b   |  31 lines

  1. #define __UNZLDR_H
  2.  
  3.  
  4. #ifndef __DLLLDR_H
  5. #include "dllldr.h"
  6. #endif
  7.  
  8.  
  9. class lzpunzldr:public dllldr
  10. {
  11.    public:
  12.  
  13.    enum
  14.    {
  15.       ZIP_ANY = 0, ZIP_PKW = 1, ZIP_GNU = 2
  16.    };
  17.  
  18.    int init()
  19.    {
  20.       return dllldr::init("lzpunz.dll");
  21.    }
  22.    int   LzpGetError();
  23.    int   LzpUnzAlloc();
  24.    int   LzpUnzOpen(char path[], int ziptype);
  25.    int   LzpUnzRead(char buf[], unsigned len);
  26.    int   LzpUnzClose();
  27.    void  LzpUnzFree();
  28.    DWORD LzpGetOrigSize(char path[]);
  29. };
  30.  
  31.