home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / unzip532.zip / windll / windll.h < prev    next >
C/C++ Source or Header  |  1997-08-12  |  1KB  |  50 lines

  1. #ifndef __windll_h   /* prevent multiple inclusions */
  2. #define __windll_h
  3.  
  4. #include <windows.h>
  5. #include <assert.h>    /* required for all Windows applications */
  6. #include <setjmp.h>
  7. #include <commdlg.h>
  8. #ifndef __RSXNT__
  9. #  include <dlgs.h>
  10. #endif
  11. #define UNZIP_INTERNAL
  12. #include "unzip.h"
  13. #include "structs.h"
  14. #include "decs.h"
  15.  
  16. #ifndef MSWIN
  17. #  define MSWIN
  18. #endif
  19.  
  20. /* Allow compilation under Borland C++ also */
  21. #ifndef __based
  22. #  define __based(A)
  23. #endif
  24.  
  25. #ifndef PATH_MAX
  26. #  define PATH_MAX 128            /* max total file or directory name path */
  27. #endif
  28.  
  29. #define IDM_REPLACE_NO     100
  30. #define IDM_REPLACE_TEXT   101
  31. #define IDM_REPLACE_YES    102
  32. #define IDM_REPLACE_ALL    103
  33. #define IDM_REPLACE_NONE   104
  34. #define IDM_REPLACE_RENAME 105
  35. #define IDM_REPLACE_HELP   106
  36.  
  37. extern jmp_buf dll_error_return;
  38.  
  39. extern HANDLE hInst;        /* current instance */
  40.  
  41. extern LPDCL lpDCL;
  42. extern LPUSERFUNCTIONS lpUserFunctions;
  43.  
  44. #ifdef UNZIP_INTERNAL
  45. void FreeDllMem(__GPRO);
  46. int win_fprintf(FILE *file, unsigned int, char far *);
  47. #endif
  48.  
  49. #endif /* __windll_h */
  50.