home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / m / m003_1 / sdk_win.ddi / SAMPLE / DLLBASIC / DLLBASIC.DEF < prev    next >
Encoding:
Text File  |  1991-04-30  |  1014 b   |  36 lines

  1. ; module-definition file for generic -- used by LINK.EXE
  2.  
  3. NAME         DLLBasic      ; application's module name
  4.  
  5. DESCRIPTION  'Sample Microsoft Windows Application'
  6.  
  7. EXETYPE      WINDOWS       ; required for all Windows applications
  8.  
  9. STUB         'WINSTUB.EXE' ; Generates error message if application
  10.                            ; is run without Windows
  11.  
  12. ;CODE can be moved in memory and discarded/reloaded
  13. CODE  PRELOAD MOVEABLE DISCARDABLE
  14.  
  15. ;DATA must be MULTIPLE if program can be invoked more than once
  16. DATA  PRELOAD MOVEABLE MULTIPLE
  17.  
  18.  
  19. HEAPSIZE     1024
  20. STACKSIZE    5120       ; recommended minimum for Windows applications
  21.  
  22. IMPORTS
  23.     sbcGetDLLVersion    = sndblst.2
  24.     sbcGetCardName      = sndblst.3
  25.     sbcTerminateDLL     = sndblst.4
  26.     sbcCallBack         = sndblst.5
  27.  
  28. ; All functions that will be called by any Windows routine
  29. ; MUST be exported.
  30.  
  31. EXPORTS
  32.     MainWndProc   @1   ; name of window processing function
  33.     About          @2   ; name of "About" processing function
  34.  
  35.  
  36.