home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / v / vlistbox.zip / DLLSTUFF.C < prev    next >
C/C++ Source or Header  |  1993-01-18  |  2KB  |  49 lines

  1. //---------------------------------------------------------------------------
  2. //  DLLSTUFF - Windows DLL support functions
  3. //
  4. //  This File contains the source code for the standard DLL functions
  5. //
  6. //  Author:     Kyle Marsh
  7. //              Windows Developer Technology Group
  8. //              Microsoft Corp.
  9. //
  10. //---------------------------------------------------------------------------
  11.  
  12. #include "vlistint.h"
  13.  
  14. //---------------------------------------------------------------------------
  15. // Function declarations
  16. //---------------------------------------------------------------------------
  17.  
  18. int   FAR PASCAL LibMain(HANDLE hModule, WORD wDataSeg, WORD cbHeapSize, LPSTR lpszCmdLine);
  19. int   FAR PASCAL WEP (int bSystemExit);
  20.  
  21. //---------------------------------------------------------------------------
  22. // Global Variables...
  23. //---------------------------------------------------------------------------
  24.  
  25. HANDLE  hInstance;              // Global instance handle for  DLL
  26.  
  27. //---------------------------------------------------------------------------
  28. // LibMain
  29. //---------------------------------------------------------------------------
  30. int FAR PASCAL LibMain(HANDLE hModule, WORD wDataSeg, WORD cbHeapSize, LPSTR lpszCmdLine)
  31. {
  32.     hInstance = hModule;
  33.  
  34.     RegisterVListBox(hInstance);
  35.  
  36.     return 1;
  37. }
  38.  
  39.  
  40. #pragma alloc_text(FIXEDSEG, WEP)
  41.  
  42. //---------------------------------------------------------------------------
  43. // WEP
  44. //---------------------------------------------------------------------------
  45. int FAR PASCAL WEP (int bSystemExit)
  46. {
  47.     return(1);
  48. }
  49.