; module-definition file for generic -- used by LINK.EXE

NAME         DLLMidi       ; application's module name

DESCRIPTION  'Sample Microsoft Windows Application'

EXETYPE      WINDOWS	   ; required for all Windows applications

STUB	     'WINSTUB.EXE' ; Generates error message if application
                           ; is run without Windows

;CODE can be moved in memory and discarded/reloaded
CODE  PRELOAD MOVEABLE DISCARDABLE

;DATA must be MULTIPLE if program can be invoked more than once
DATA  PRELOAD MOVEABLE MULTIPLE


HEAPSIZE     1024
STACKSIZE    5120	   ; recommended minimum for Windows applications

IMPORTS
    sbcGetDLLVersion       = sndblst.2
    sbcGetCardName         = sndblst.3
    sbcTerminateDLL        = sndblst.4
    sbcCallBack            = sndblst.5
    midiOpenOutputDevice   = sndblst.301
    midiCloseOutputDevice  = sndblst.302
    midiOpenInputDevice    = sndblst.303
    midiCloseInputDevice   = sndblst.304
    midiOutputShortMessage = sndblst.305
    midiStartInput         = sndblst.307
    midiStopInput          = sndblst.308

; All functions that will be called by any Windows routine
; MUST be exported.

EXPORTS
	MainWndProc   @1   ; name of window processing function
	About	      @2   ; name of "About" processing function


