home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / unzip531.zip / windll / example.h < prev    next >
C/C++ Source or Header  |  1997-05-30  |  1KB  |  49 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 **, LPDCL, LPUSERFUNCTIONS);
  27. typedef int (WINAPI * _USER_FUNCTIONS)(LPUSERFUNCTIONS);
  28.  
  29. /* Global variables */
  30.  
  31. extern LPUSERFUNCTIONS lpUserFunctions;
  32. extern LPDCL lpDCL;
  33.  
  34. extern HINSTANCE hUnzipDll;
  35.  
  36. extern int hFile;                 /* file handle             */
  37.  
  38. /* Global functions */
  39.  
  40. extern _DLL_UNZIP windll_unzip;
  41. extern _USER_FUNCTIONS UzInit;
  42. int WINAPI DisplayBuf(char far *, unsigned long int);
  43.  
  44. /* Procedure Calls */
  45. void WINAPI ReceiveDllMessage(unsigned long,unsigned long,
  46.    ush, ush, ush, ush, ush, ush, char, char *, char *, unsigned long, char);
  47. #endif /* _EXAMPLE_H */
  48.  
  49.