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

  1. ; module-definition file for generic -- used by LINK.EXE
  2.  
  3. NAME         DLLVoice      ; 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.     vocOpenDevice        = sndblst.101
  28.     vocCloseDevice       = sndblst.102
  29.     vocStopVoice         = sndblst.105
  30.     vocPauseVoice        = sndblst.106
  31.     vocContinueVoice     = sndblst.107
  32.     vocGetRecordCount    = sndblst.110
  33.     vocSetDacSpeaker     = sndblst.111
  34.     vocPlayMemUnFormat   = sndblst.125
  35.     vocRecordMemUnFormat = sndblst.126
  36.  
  37. ; All functions that will be called by any Windows routine
  38. ; MUST be exported.
  39.  
  40. EXPORTS
  41.     MainWndProc   @1   ; name of window processing function
  42.     About          @2   ; name of "About" processing function
  43.  
  44.  
  45.