Leaked source code of windows server 2003
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.

140 lines
2.6 KiB

  1. #include "multimediapch.h"
  2. #pragma hdrstop
  3. #include <mmsystem.h>
  4. #include <vfw.h>
  5. #include <msacm.h>
  6. static
  7. MMRESULT
  8. WINAPI
  9. acmFormatTagDetailsW(
  10. HACMDRIVER had,
  11. LPACMFORMATTAGDETAILS paftd,
  12. DWORD fdwDetails
  13. )
  14. {
  15. return MMSYSERR_ERROR;
  16. }
  17. static
  18. MMRESULT
  19. ACMAPI
  20. acmFormatSuggest(
  21. HACMDRIVER had,
  22. LPWAVEFORMATEX pwfxSrc,
  23. LPWAVEFORMATEX pwfxDst,
  24. DWORD cbwfxDst,
  25. DWORD fdwSuggest
  26. )
  27. {
  28. return MMSYSERR_ERROR;
  29. }
  30. static
  31. MMRESULT
  32. ACMAPI
  33. acmStreamSize(
  34. HACMSTREAM has,
  35. DWORD cbInput,
  36. LPDWORD pdwOutputBytes,
  37. DWORD fdwSize
  38. )
  39. {
  40. return MMSYSERR_ERROR;
  41. }
  42. static
  43. MMRESULT
  44. ACMAPI
  45. acmStreamPrepareHeader(
  46. HACMSTREAM has,
  47. LPACMSTREAMHEADER pash,
  48. DWORD fdwPrepare
  49. )
  50. {
  51. return MMSYSERR_ERROR;
  52. }
  53. static
  54. MMRESULT
  55. ACMAPI
  56. acmStreamConvert(
  57. HACMSTREAM has,
  58. LPACMSTREAMHEADER pash,
  59. DWORD fdwConvert
  60. )
  61. {
  62. return MMSYSERR_ERROR;
  63. }
  64. static
  65. MMRESULT
  66. ACMAPI
  67. acmStreamUnprepareHeader(
  68. HACMSTREAM has,
  69. LPACMSTREAMHEADER pash,
  70. DWORD fdwUnprepare
  71. )
  72. {
  73. return MMSYSERR_ERROR;
  74. }
  75. static
  76. MMRESULT
  77. ACMAPI
  78. acmStreamClose(
  79. HACMSTREAM has,
  80. DWORD fdwClose
  81. )
  82. {
  83. return MMSYSERR_ERROR;
  84. }
  85. static
  86. MMRESULT
  87. ACMAPI
  88. acmStreamOpen(
  89. LPHACMSTREAM phas, // pointer to stream handle
  90. HACMDRIVER had, // optional driver handle
  91. LPWAVEFORMATEX pwfxSrc, // source format to convert
  92. LPWAVEFORMATEX pwfxDst, // required destination format
  93. LPWAVEFILTER pwfltr, // optional filter
  94. DWORD_PTR dwCallback, // callback
  95. DWORD_PTR dwInstance, // callback instance data
  96. DWORD fdwOpen // ACM_STREAMOPENF_* and CALLBACK_*
  97. )
  98. {
  99. if (NULL != phas)
  100. {
  101. *phas = NULL;
  102. }
  103. return MMSYSERR_ERROR;
  104. }
  105. //
  106. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  107. //
  108. DEFINE_PROCNAME_ENTRIES(msacm32)
  109. {
  110. DLPENTRY(acmFormatSuggest)
  111. DLPENTRY(acmFormatTagDetailsW)
  112. DLPENTRY(acmStreamClose)
  113. DLPENTRY(acmStreamConvert)
  114. DLPENTRY(acmStreamOpen)
  115. DLPENTRY(acmStreamPrepareHeader)
  116. DLPENTRY(acmStreamSize)
  117. DLPENTRY(acmStreamUnprepareHeader)
  118. };
  119. DEFINE_PROCNAME_MAP(msacm32)