Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
1.6 KiB

  1. ;++
  2. ;
  3. ; WOW v1.0
  4. ;
  5. ; Copyright (c) 1991, Microsoft Corporation
  6. ;
  7. ; SOUND.ASM
  8. ; Win16 SOUND thunks
  9. ;
  10. ; History:
  11. ;
  12. ; Created 06-Jan-1992 by NanduriR
  13. ;--
  14. TITLE SOUND.ASM
  15. PAGE ,132
  16. .286p
  17. .xlist
  18. include wow.inc
  19. include wowsnd.inc
  20. include cmacros.inc
  21. include windefs.inc
  22. .list
  23. __acrtused = 0
  24. public __acrtused ;satisfy external C ref.
  25. externFP WOW16Call
  26. createSeg _TEXT,CODE,WORD,PUBLIC,CODE
  27. createSeg _DATA,DATA,WORD,PUBLIC,DATA,DGROUP
  28. defgrp DGROUP,DATA
  29. sBegin DATA
  30. Reserved db 16 dup (0) ;reserved for Windows
  31. SOUND_Identifier db 'SOUND16 Data Segment'
  32. sEnd DATA
  33. sBegin CODE
  34. assumes CS,CODE
  35. assumes DS,NOTHING
  36. assumes ES,NOTHING
  37. cProc SOUND16,<PUBLIC,FAR,PASCAL,NODATA,ATOMIC>
  38. cBegin <nogen>
  39. mov ax,1
  40. ret
  41. cEnd <nogen>
  42. cProc WEP,<PUBLIC,FAR,PASCAL,NODATA,NOWIN,ATOMIC>
  43. parmW iExit ;DLL exit code
  44. cBegin
  45. mov ax,1 ;always indicate success
  46. cEnd
  47. assumes DS,NOTHING
  48. SoundThunk OPENSOUND
  49. SoundThunk CLOSESOUND
  50. SoundThunk SETVOICEQUEUESIZE
  51. SoundThunk SETVOICENOTE
  52. SoundThunk SETVOICEACCENT
  53. SoundThunk SETVOICEENVELOPE
  54. SoundThunk SETSOUNDNOISE
  55. SoundThunk SETVOICESOUND
  56. SoundThunk STARTSOUND
  57. SoundThunk STOPSOUND
  58. SoundThunk WAITSOUNDSTATE
  59. SoundThunk SYNCALLVOICES
  60. SoundThunk COUNTVOICENOTES
  61. SoundThunk GETTHRESHOLDEVENT
  62. SoundThunk GETTHRESHOLDSTATUS
  63. SoundThunk SETVOICETHRESHOLD
  64. SoundThunk DOBEEP
  65. SoundThunk MYOPENSOUND
  66. sEnd CODE
  67. end SOUND16