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.

146 lines
3.3 KiB

  1. /*++ BUILD Version: 0001
  2. *
  3. * WOW v1.0
  4. *
  5. * Copyright (c) 1991, Microsoft Corporation
  6. *
  7. * WOWSND.H
  8. * 16-bit Sound API argument structures
  9. *
  10. * History:
  11. * Created 02-Feb-1991 by Jeff Parsons (jeffpar)
  12. --*/
  13. /* Sound API IDs
  14. */
  15. #define FUN_CLOSESOUND 2 //
  16. #define FUN_COUNTVOICENOTES 13 //
  17. #define FUN_DOBEEP 17 // Internal
  18. #define FUN_GETTHRESHOLDEVENT 14 //
  19. #define FUN_GETTHRESHOLDSTATUS 15 //
  20. #define FUN_MYOPENSOUND 18 // Internal
  21. #define FUN_OPENSOUND 1 //
  22. #define FUN_SETSOUNDNOISE 7 //
  23. #define FUN_SETVOICEACCENT 5 //
  24. #define FUN_SETVOICEENVELOPE 6 //
  25. #define FUN_SETVOICENOTE 4 //
  26. #define FUN_SETVOICEQUEUESIZE 3 //
  27. #define FUN_SETVOICESOUND 8 //
  28. #define FUN_SETVOICETHRESHOLD 16 //
  29. #define FUN_SOUND_WEP 0 // Export by name
  30. #define FUN_STARTSOUND 9 //
  31. #define FUN_STOPSOUND 10 //
  32. #define FUN_SYNCALLVOICES 12 //
  33. #define FUN_WAITSOUNDSTATE 11 //
  34. /* XLATOFF */
  35. #pragma pack(2)
  36. /* XLATON */
  37. #ifdef NULLSTRUCT
  38. typedef struct _CLOSESOUND16 { /* s2 */
  39. } CLOSESOUND16;
  40. typedef CLOSESOUND16 UNALIGNED *PCLOSESOUND16;
  41. #endif
  42. typedef struct _COUNTVOICENOTES16 { /* s13 */
  43. SHORT f1;
  44. } COUNTVOICENOTES16;
  45. typedef COUNTVOICENOTES16 UNALIGNED *PCOUNTVOICENOTES16;
  46. #ifdef NULLSTRUCT
  47. typedef struct _GETTHRESHOLDEVENT16 { /* s14 */
  48. } GETTHRESHOLDEVENT16;
  49. typedef GETTHRESHOLDEVENT16 UNALIGNED *PGETTHRESHOLDEVENT16;
  50. #endif
  51. #ifdef NULLSTRUCT
  52. typedef struct _GETTHRESHOLDSTATUS16 { /* s15 */
  53. } GETTHRESHOLDSTATUS16;
  54. typedef GETTHRESHOLDSTATUS16 UNALIGNED *PGETTHRESHOLDSTATUS16;
  55. #endif
  56. #ifdef NULLSTRUCT
  57. typedef struct _OPENSOUND16 { /* s1 */
  58. } OPENSOUND16;
  59. typedef OPENSOUND16 UNALIGNED *POPENSOUND16;
  60. #endif
  61. typedef struct _SETSOUNDNOISE16 { /* s7 */
  62. SHORT f1;
  63. SHORT f2;
  64. } SETSOUNDNOISE16;
  65. typedef SETSOUNDNOISE16 UNALIGNED *PSETSOUNDNOISE16;
  66. typedef struct _SETVOICEACCENT16 { /* s5 */
  67. SHORT f1;
  68. SHORT f2;
  69. SHORT f3;
  70. SHORT f4;
  71. SHORT f5;
  72. } SETVOICEACCENT16;
  73. typedef SETVOICEACCENT16 UNALIGNED *PSETVOICEACCENT16;
  74. typedef struct _SETVOICEENVELOPE16 { /* s6 */
  75. SHORT f1;
  76. SHORT f2;
  77. SHORT f3;
  78. } SETVOICEENVELOPE16;
  79. typedef SETVOICEENVELOPE16 UNALIGNED *PSETVOICEENVELOPE16;
  80. typedef struct _SETVOICENOTE16 { /* s4 */
  81. SHORT f1;
  82. SHORT f2;
  83. SHORT f3;
  84. SHORT f4;
  85. } SETVOICENOTE16;
  86. typedef SETVOICENOTE16 UNALIGNED *PSETVOICENOTE16;
  87. typedef struct _SETVOICEQUEUESIZE16 { /* s3 */
  88. SHORT f1;
  89. SHORT f2;
  90. } SETVOICEQUEUESIZE16;
  91. typedef SETVOICEQUEUESIZE16 UNALIGNED *PSETVOICEQUEUESIZE16;
  92. typedef struct _SETVOICESOUND16 { /* s8 */
  93. SHORT f1;
  94. LONG f2;
  95. SHORT f3;
  96. } SETVOICESOUND16;
  97. typedef SETVOICESOUND16 UNALIGNED *PSETVOICESOUND16;
  98. typedef struct _SETVOICETHRESHOLD16 { /* s16 */
  99. SHORT f1;
  100. SHORT f2;
  101. } SETVOICETHRESHOLD16;
  102. typedef SETVOICETHRESHOLD16 UNALIGNED *PSETVOICETHRESHOLD16;
  103. #ifdef NULLSTRUCT
  104. typedef struct _STARTSOUND16 { /* s9 */
  105. } STARTSOUND16;
  106. typedef STARTSOUND16 UNALIGNED *PSTARTSOUND16;
  107. #endif
  108. #ifdef NULLSTRUCT
  109. typedef struct _STOPSOUND16 { /* s10 */
  110. } STOPSOUND16;
  111. typedef STOPSOUND16 UNALIGNED *PSTOPSOUND16;
  112. #endif
  113. #ifdef NULLSTRUCT
  114. typedef struct _SYNCALLVOICES16 { /* s12 */
  115. } SYNCALLVOICES16;
  116. typedef SYNCALLVOICES16 UNALIGNED *PSYNCALLVOICES16;
  117. #endif
  118. typedef struct _WAITSOUNDSTATE16 { /* s11 */
  119. SHORT f1;
  120. } WAITSOUNDSTATE16;
  121. typedef WAITSOUNDSTATE16 UNALIGNED *PWAITSOUNDSTATE16;
  122. /* XLATOFF */
  123. #pragma pack()
  124. /* XLATON */
  125.