home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / m / m003_1 / sdk_win.ddi / SAMPLE / DLLMIDI / DLLMIDI.DEF < prev    next >
Encoding:
Text File  |  1991-05-09  |  1.3 KB  |  43 lines

  1. ; module-definition file for generic -- used by LINK.EXE
  2.  
  3. NAME         DLLMidi       ; 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.     midiOpenOutputDevice   = sndblst.301
  28.     midiCloseOutputDevice  = sndblst.302
  29.     midiOpenInputDevice    = sndblst.303
  30.     midiCloseInputDevice   = sndblst.304
  31.     midiOutputShortMessage = sndblst.305
  32.     midiStartInput         = sndblst.307
  33.     midiStopInput          = sndblst.308
  34.  
  35. ; All functions that will be called by any Windows routine
  36. ; MUST be exported.
  37.  
  38. EXPORTS
  39.     MainWndProc   @1   ; name of window processing function
  40.     About          @2   ; name of "About" processing function
  41.  
  42.  
  43.