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.

52 lines
954 B

  1. #include "multimediapch.h"
  2. #pragma hdrstop
  3. #include <mmsystem.h>
  4. #include <dsound.h>
  5. static
  6. HRESULT
  7. WINAPI
  8. DirectSoundCaptureCreate(
  9. LPCGUID pcGuidDevice,
  10. LPDIRECTSOUNDCAPTURE *ppDSC,
  11. LPUNKNOWN pUnkOuter
  12. )
  13. {
  14. return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
  15. }
  16. static
  17. HRESULT
  18. WINAPI
  19. DirectSoundCaptureEnumerateA(
  20. LPDSENUMCALLBACKA pDSEnumCallback,
  21. LPVOID pContext
  22. )
  23. {
  24. return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
  25. }
  26. static
  27. HRESULT
  28. WINAPI
  29. DirectSoundCaptureEnumerateW(
  30. LPDSENUMCALLBACKW pDSEnumCallback,
  31. LPVOID pContext
  32. )
  33. {
  34. return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
  35. }
  36. //
  37. // !! WARNING !! The entries below must be in order by ORDINAL
  38. //
  39. DEFINE_ORDINAL_ENTRIES(dsound)
  40. {
  41. DLOENTRY(6, DirectSoundCaptureCreate)
  42. DLOENTRY(7, DirectSoundCaptureEnumerateA)
  43. DLOENTRY(8, DirectSoundCaptureEnumerateW)
  44. };
  45. DEFINE_ORDINAL_MAP(dsound)