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.

181 lines
4.4 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/16/99 rodtoll Added support for new funcs from dsound team on private
  12. * interface for getting process dsound object list
  13. * 01/08/2001 rodtoll WINBUG #256541 Pseudo: Loss of functionality: Voice Wizrd can't be launched.
  14. *
  15. *
  16. ***************************************************************************/
  17. #ifndef __DSPRVOBJ_H__
  18. #define __DSPRVOBJ_H__
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif // __cplusplus
  22. HRESULT DirectSoundPrivateCreate
  23. (
  24. LPKSPROPERTYSET * ppKsPropertySet
  25. );
  26. HRESULT PrvGetMixerSrcQuality
  27. (
  28. LPKSPROPERTYSET pKsPropertySet,
  29. REFGUID guidDeviceId,
  30. DIRECTSOUNDMIXER_SRCQUALITY * pSrcQuality
  31. );
  32. HRESULT PrvSetMixerSrcQuality
  33. (
  34. LPKSPROPERTYSET pKsPropertySet,
  35. REFGUID guidDeviceId,
  36. DIRECTSOUNDMIXER_SRCQUALITY SrcQuality
  37. );
  38. HRESULT PrvGetMixerAcceleration
  39. (
  40. LPKSPROPERTYSET pKsPropertySet,
  41. REFGUID guidDeviceId,
  42. LPDWORD pdwAcceleration
  43. );
  44. HRESULT PrvSetMixerAcceleration
  45. (
  46. LPKSPROPERTYSET pKsPropertySet,
  47. REFGUID guidDeviceId,
  48. DWORD dwAcceleration
  49. );
  50. HRESULT PrvGetDevicePresence
  51. (
  52. LPKSPROPERTYSET pKsPropertySet,
  53. REFGUID guidDeviceId,
  54. LPBOOL pfEnabled
  55. );
  56. HRESULT PrvSetDevicePresence
  57. (
  58. LPKSPROPERTYSET pKsPropertySet,
  59. REFGUID guidDeviceId,
  60. BOOL fEnabled
  61. );
  62. HRESULT PrvGetWaveDeviceMapping
  63. (
  64. LPKSPROPERTYSET pKsPropertySet,
  65. LPCTSTR pszWaveDevice,
  66. BOOL fCapture,
  67. LPGUID pguidDeviceId
  68. );
  69. HRESULT PrvGetWaveDeviceMappingW
  70. (
  71. LPKSPROPERTYSET pKsPropertySet,
  72. LPWSTR pwszWaveDevice,
  73. BOOL fCapture,
  74. LPGUID pguidDeviceId
  75. );
  76. HRESULT PrvGetDeviceDescription
  77. (
  78. LPKSPROPERTYSET pKsPropertySet,
  79. REFGUID guidDeviceId,
  80. PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA *ppData
  81. );
  82. HRESULT PrvEnumerateDevices
  83. (
  84. LPKSPROPERTYSET pKsPropertySet,
  85. LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK pfnCallback,
  86. LPVOID pvContext
  87. );
  88. HRESULT PrvGetBasicAcceleration
  89. (
  90. LPKSPROPERTYSET pKsPropertySet,
  91. REFGUID guidDeviceId,
  92. DIRECTSOUNDBASICACCELERATION_LEVEL * pLevel
  93. );
  94. HRESULT PrvSetBasicAcceleration
  95. (
  96. LPKSPROPERTYSET pKsPropertySet,
  97. REFGUID guidDeviceId,
  98. DIRECTSOUNDBASICACCELERATION_LEVEL Level
  99. );
  100. HRESULT PrvGetDebugInformation
  101. (
  102. LPKSPROPERTYSET pKsPropertySet,
  103. LPDWORD pdwFlags,
  104. PULONG pulDpfLevel,
  105. PULONG pulBreakLevel,
  106. LPTSTR pszLogFile
  107. );
  108. HRESULT PrvSetDebugInformation
  109. (
  110. LPKSPROPERTYSET pKsPropertySet,
  111. DWORD dwFlags,
  112. ULONG ulDpfLevel,
  113. ULONG ulBreakLevel,
  114. LPCTSTR pszLogFile
  115. );
  116. HRESULT PrvGetPersistentData
  117. (
  118. LPKSPROPERTYSET pKsPropertySet,
  119. REFGUID guidDeviceId,
  120. LPCTSTR pszSubkey,
  121. LPCTSTR pszValue,
  122. LPDWORD pdwRegType,
  123. LPVOID pvData,
  124. LPDWORD pcbData
  125. );
  126. HRESULT PrvSetPersistentData
  127. (
  128. LPKSPROPERTYSET pKsPropertySet,
  129. REFGUID guidDeviceId,
  130. LPCTSTR pszSubkey,
  131. LPCTSTR pszValue,
  132. DWORD dwRegType,
  133. LPVOID pvData,
  134. DWORD cbData
  135. );
  136. HRESULT PrvTranslateResultCode
  137. (
  138. LPKSPROPERTYSET pKsPropertySet,
  139. HRESULT hrResult,
  140. PDSPROPERTY_DIRECTSOUNDDEBUG_TRANSLATERESULTCODE_DATA * ppData
  141. );
  142. HRESULT PrvGetDirectSoundObjects
  143. (
  144. LPKSPROPERTYSET pKsPropertySet,
  145. GUID guidDevice,
  146. DSPROPERTY_DIRECTSOUND_OBJECTS_DATA **ppDSObjects
  147. );
  148. HRESULT PrvGetDirectSoundCaptureObjects
  149. (
  150. LPKSPROPERTYSET pKsPropertySet,
  151. GUID guidDevice,
  152. DSPROPERTY_DIRECTSOUNDCAPTURE_OBJECTS_DATA **ppDSCObjects
  153. );
  154. #ifdef __cplusplus
  155. }
  156. #endif // __cplusplus
  157. #endif // __DSPRVOBJ_H__