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.

87 lines
2.3 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. * 02/28/2002 rodtoll WINBUG #550105 SECURITY: DPVOICE: Dead code
  15. * - Remove unused calls.
  16. *
  17. ***************************************************************************/
  18. #ifndef __DSPRVOBJ_H__
  19. #define __DSPRVOBJ_H__
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif // __cplusplus
  23. HRESULT DirectSoundPrivateCreate
  24. (
  25. LPKSPROPERTYSET * ppKsPropertySet
  26. );
  27. HRESULT PrvGetMixerSrcQuality
  28. (
  29. LPKSPROPERTYSET pKsPropertySet,
  30. REFGUID guidDeviceId,
  31. DIRECTSOUNDMIXER_SRCQUALITY * pSrcQuality
  32. );
  33. HRESULT PrvSetMixerSrcQuality
  34. (
  35. LPKSPROPERTYSET pKsPropertySet,
  36. REFGUID guidDeviceId,
  37. DIRECTSOUNDMIXER_SRCQUALITY SrcQuality
  38. );
  39. HRESULT PrvGetWaveDeviceMapping
  40. (
  41. LPKSPROPERTYSET pKsPropertySet,
  42. LPCSTR pszWaveDevice,
  43. BOOL fCapture,
  44. LPGUID pguidDeviceId
  45. );
  46. HRESULT PrvGetWaveDeviceMappingW
  47. (
  48. LPKSPROPERTYSET pKsPropertySet,
  49. LPWSTR pwszWaveDevice,
  50. BOOL fCapture,
  51. LPGUID pguidDeviceId
  52. );
  53. HRESULT PrvGetDeviceDescription
  54. (
  55. LPKSPROPERTYSET pKsPropertySet,
  56. REFGUID guidDeviceId,
  57. PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA *ppData
  58. );
  59. HRESULT PrvGetDirectSoundObjects
  60. (
  61. LPKSPROPERTYSET pKsPropertySet,
  62. const GUID& guidDevice,
  63. DSPROPERTY_DIRECTSOUND_OBJECTS_DATA **ppDSObjects
  64. );
  65. HRESULT PrvGetDirectSoundCaptureObjects
  66. (
  67. LPKSPROPERTYSET pKsPropertySet,
  68. const GUID& guidDevice,
  69. DSPROPERTY_DIRECTSOUNDCAPTURE_OBJECTS_DATA **ppDSCObjects
  70. );
  71. #ifdef __cplusplus
  72. }
  73. #endif // __cplusplus
  74. #endif // __DSPRVOBJ_H__