home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / zip22.zip / windll / example.h < prev    next >
C/C++ Source or Header  |  1997-06-08  |  844b  |  43 lines

  1. /*
  2.  Example header file
  3. */
  4. #ifndef _EXAMPLE_H
  5. #define _EXAMPLE_H
  6.  
  7. #include <windows.h>
  8. #include <assert.h>    /* required for all Windows applications */
  9. #include <stdlib.h>
  10. #include <stdio.h>
  11. #include <commdlg.h>
  12. #include <dlgs.h>
  13. #include <windowsx.h>
  14.  
  15. #include "structs.h"
  16.  
  17. /* Defines */
  18. #ifndef MSWIN
  19. #define MSWIN
  20. #endif
  21.  
  22. typedef int (WINAPI * _DLL_ZIP)(LPZCL);
  23. typedef int (WINAPI * _ZIP_USER_FUNCTIONS)(LPZIPUSERFUNCTIONS);
  24. typedef BOOL (WINAPI * ZIPSETOPTIONS)(LPZPOPT);
  25.  
  26. /* Global variables */
  27.  
  28. extern LPZIPUSERFUNCTIONS lpZipUserFunctions;
  29.  
  30. extern HINSTANCE hZipDll;
  31.  
  32. extern int hFile;                 /* file handle             */
  33.  
  34. /* Global functions */
  35.  
  36. extern _DLL_ZIP ZpArchive;
  37. extern _ZIP_USER_FUNCTIONS ZpInit;
  38. int WINAPI DisplayBuf(char far *, unsigned long int);
  39. extern ZIPSETOPTIONS ZpSetOptions;
  40.  
  41. #endif /* _EXAMPLE_H */
  42.  
  43.