home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / unzip540.zip / windll / example.h < prev    next >
C/C++ Source or Header  |  1998-09-27  |  1KB  |  55 lines

  1. /*
  2.  Example header file
  3.  
  4.  Do not use this header file in the WiZ application, use WIZ.H
  5.  instead.
  6.  
  7. */
  8. #ifndef _EXAMPLE_H
  9. #define _EXAMPLE_H
  10.  
  11. #include <windows.h>
  12. #ifdef __RSXNT__
  13. #  include "win32/rsxntwin.h"
  14. #endif
  15. #include <assert.h>    /* required for all Windows applications */
  16. #include <stdlib.h>
  17. #include <stdio.h>
  18. #include <commdlg.h>
  19. #ifndef __RSXNT__
  20. #  include <dlgs.h>
  21. #endif
  22. #include <windowsx.h>
  23.  
  24. #include "structs.h"
  25.  
  26. /* Defines */
  27. #ifndef MSWIN
  28. #define MSWIN
  29. #endif
  30.  
  31. typedef int (WINAPI * _DLL_UNZIP)(int, char **, int, char **,
  32.                                   LPDCL, LPUSERFUNCTIONS);
  33. typedef int (WINAPI * _USER_FUNCTIONS)(LPUSERFUNCTIONS);
  34.  
  35. /* Global variables */
  36.  
  37. extern LPUSERFUNCTIONS lpUserFunctions;
  38. extern LPDCL lpDCL;
  39.  
  40. extern HINSTANCE hUnzipDll;
  41.  
  42. extern int hFile;                 /* file handle             */
  43.  
  44. /* Global functions */
  45.  
  46. extern _DLL_UNZIP Wiz_SingleEntryUnzip;
  47. extern _USER_FUNCTIONS Wiz_Init;
  48. int WINAPI DisplayBuf(LPSTR, unsigned long);
  49.  
  50. /* Procedure Calls */
  51. void WINAPI ReceiveDllMessage(unsigned long, unsigned long, unsigned,
  52.    unsigned, unsigned, unsigned, unsigned, unsigned,
  53.    char, LPSTR, LPSTR, unsigned long, char);
  54. #endif /* _EXAMPLE_H */
  55.