home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / unzip532.zip / windll / example.h < prev    next >
C/C++ Source or Header  |  1997-10-31  |  1KB  |  50 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. #include <assert.h>    /* required for all Windows applications */
  13. #include <stdlib.h>
  14. #include <stdio.h>
  15. #include <commdlg.h>
  16. #include <dlgs.h>
  17. #include <windowsx.h>
  18.  
  19. #include "structs.h"
  20.  
  21. /* Defines */
  22. #ifndef MSWIN
  23. #define MSWIN
  24. #endif
  25.  
  26. typedef int (WINAPI * _DLL_UNZIP)(int, char **, int, char **,
  27.                                   LPDCL, LPUSERFUNCTIONS);
  28. typedef int (WINAPI * _USER_FUNCTIONS)(LPUSERFUNCTIONS);
  29.  
  30. /* Global variables */
  31.  
  32. extern LPUSERFUNCTIONS lpUserFunctions;
  33. extern LPDCL lpDCL;
  34.  
  35. extern HINSTANCE hUnzipDll;
  36.  
  37. extern int hFile;                 /* file handle             */
  38.  
  39. /* Global functions */
  40.  
  41. extern _DLL_UNZIP windll_unzip;
  42. extern _USER_FUNCTIONS UzInit;
  43. int WINAPI DisplayBuf(char far *, unsigned long int);
  44.  
  45. /* Procedure Calls */
  46. void WINAPI ReceiveDllMessage(unsigned long,unsigned long,
  47.    ush, ush, ush, ush, ush, ush, char, char *, char *, unsigned long, char);
  48. #endif /* _EXAMPLE_H */
  49.  
  50.