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.

153 lines
3.7 KiB

  1. /***************************************************************************
  2. *
  3. * Copyright (C) 1995,1996 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: dsprvobj.h
  6. * Content: DirectSound Private Object wrapper functions.
  7. * History:
  8. * Date By Reason
  9. * ==== == ======
  10. * 02/12/98 dereks Created.
  11. *
  12. ***************************************************************************/
  13. #ifndef __DSPRVOBJ_H__
  14. #define __DSPRVOBJ_H__
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif // __cplusplus
  18. HRESULT DirectSoundPrivateCreate
  19. (
  20. LPKSPROPERTYSET * ppKsPropertySet
  21. );
  22. HRESULT PrvGetMixerSrcQuality
  23. (
  24. LPKSPROPERTYSET pKsPropertySet,
  25. REFGUID guidDeviceId,
  26. DIRECTSOUNDMIXER_SRCQUALITY * pSrcQuality
  27. );
  28. HRESULT PrvSetMixerSrcQuality
  29. (
  30. LPKSPROPERTYSET pKsPropertySet,
  31. REFGUID guidDeviceId,
  32. DIRECTSOUNDMIXER_SRCQUALITY SrcQuality
  33. );
  34. HRESULT PrvGetMixerAcceleration
  35. (
  36. LPKSPROPERTYSET pKsPropertySet,
  37. REFGUID guidDeviceId,
  38. LPDWORD pdwAcceleration
  39. );
  40. HRESULT PrvSetMixerAcceleration
  41. (
  42. LPKSPROPERTYSET pKsPropertySet,
  43. REFGUID guidDeviceId,
  44. DWORD dwAcceleration
  45. );
  46. HRESULT PrvGetDevicePresence
  47. (
  48. LPKSPROPERTYSET pKsPropertySet,
  49. REFGUID guidDeviceId,
  50. LPBOOL pfEnabled
  51. );
  52. HRESULT PrvSetDevicePresence
  53. (
  54. LPKSPROPERTYSET pKsPropertySet,
  55. REFGUID guidDeviceId,
  56. BOOL fEnabled
  57. );
  58. HRESULT PrvGetWaveDeviceMapping
  59. (
  60. LPKSPROPERTYSET pKsPropertySet,
  61. LPCTSTR pszWaveDevice,
  62. BOOL fCapture,
  63. LPGUID pguidDeviceId
  64. );
  65. HRESULT PrvGetDeviceDescription
  66. (
  67. LPKSPROPERTYSET pKsPropertySet,
  68. REFGUID guidDeviceId,
  69. PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA *ppData
  70. );
  71. HRESULT PrvReleaseDeviceDescription
  72. (
  73. PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA pData
  74. );
  75. HRESULT PrvEnumerateDevices
  76. (
  77. LPKSPROPERTYSET pKsPropertySet,
  78. LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK pfnCallback,
  79. LPVOID pvContext
  80. );
  81. HRESULT PrvGetBasicAcceleration
  82. (
  83. LPKSPROPERTYSET pKsPropertySet,
  84. REFGUID guidDeviceId,
  85. DIRECTSOUNDBASICACCELERATION_LEVEL * pLevel
  86. );
  87. HRESULT PrvSetBasicAcceleration
  88. (
  89. LPKSPROPERTYSET pKsPropertySet,
  90. REFGUID guidDeviceId,
  91. DIRECTSOUNDBASICACCELERATION_LEVEL Level
  92. );
  93. HRESULT PrvGetDebugInformation
  94. (
  95. LPKSPROPERTYSET pKsPropertySet,
  96. LPDWORD pdwFlags,
  97. PULONG pulDpfLevel,
  98. PULONG pulBreakLevel,
  99. LPTSTR pszLogFile
  100. );
  101. HRESULT PrvSetDebugInformation
  102. (
  103. LPKSPROPERTYSET pKsPropertySet,
  104. DWORD dwFlags,
  105. ULONG ulDpfLevel,
  106. ULONG ulBreakLevel,
  107. LPCTSTR pszLogFile
  108. );
  109. HRESULT PrvGetPersistentData
  110. (
  111. LPKSPROPERTYSET pKsPropertySet,
  112. REFGUID guidDeviceId,
  113. LPCTSTR pszSubkey,
  114. LPCTSTR pszValue,
  115. LPDWORD pdwRegType,
  116. LPVOID pvData,
  117. LPDWORD pcbData
  118. );
  119. HRESULT PrvSetPersistentData
  120. (
  121. LPKSPROPERTYSET pKsPropertySet,
  122. REFGUID guidDeviceId,
  123. LPCTSTR pszSubkey,
  124. LPCTSTR pszValue,
  125. DWORD dwRegType,
  126. LPVOID pvData,
  127. DWORD cbData
  128. );
  129. #ifdef __cplusplus
  130. }
  131. #endif // __cplusplus
  132. #endif // __DSPRVOBJ_H__