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.

143 lines
3.3 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Module: virtual.h
  4. //
  5. // Description:
  6. //
  7. //
  8. //@@BEGIN_MSINTERNAL
  9. // Development Team:
  10. // Mike McLaughlin
  11. //
  12. // History: Date Author Comment
  13. //
  14. //@@END_MSINTERNAL
  15. //---------------------------------------------------------------------------
  16. //
  17. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  18. // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  19. // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  20. // PURPOSE.
  21. //
  22. // Copyright (c) 1996-1999 Microsoft Corporation. All Rights Reserved.
  23. //
  24. //---------------------------------------------------------------------------
  25. //---------------------------------------------------------------------------
  26. // Local prototypes
  27. //---------------------------------------------------------------------------
  28. NTSTATUS
  29. CreateVirtualMixer(
  30. PDEVICE_NODE pDeviceNode
  31. );
  32. NTSTATUS
  33. CreateVirtualLine(
  34. PDEVICE_NODE pDeviceNode,
  35. PFILTER_NODE pFilterNode,
  36. PTOPOLOGY_NODE pTopologyNodeSum,
  37. PLOGICAL_FILTER_NODE pLogicalFilterNode,
  38. PVIRTUAL_SOURCE_LINE pVirtualSourceLine
  39. );
  40. //---------------------------------------------------------------------------
  41. NTSTATUS VirtualizeTopology(
  42. PDEVICE_NODE pDeviceNode,
  43. PFILTER_NODE pFilterNode
  44. );
  45. //---------------------------------------------------------------------------
  46. NTSTATUS
  47. CreateVirtualSource(
  48. IN PIRP pIrp,
  49. PSYSAUDIO_CREATE_VIRTUAL_SOURCE pCreateVirtualSource,
  50. OUT PULONG pulMixerPinId
  51. );
  52. NTSTATUS
  53. AttachVirtualSource(
  54. IN PIRP pIrp,
  55. IN PSYSAUDIO_ATTACH_VIRTUAL_SOURCE pAttachVirtualSource,
  56. IN OUT PVOID pData
  57. );
  58. NTSTATUS
  59. FilterVirtualPropertySupportHandler(
  60. IN PIRP pIrp,
  61. IN PKSNODEPROPERTY pNodeProperty,
  62. IN OUT PVOID pData
  63. );
  64. NTSTATUS
  65. FilterVirtualPropertyHandler(
  66. IN PIRP pIrp,
  67. IN PKSNODEPROPERTY pNodeProperty,
  68. IN OUT PLONG plLevel
  69. );
  70. NTSTATUS
  71. PinVirtualPropertySupportHandler(
  72. IN PIRP pIrp,
  73. IN PKSNODEPROPERTY pNodeProperty,
  74. IN OUT PVOID pData
  75. );
  76. NTSTATUS
  77. PinVirtualPropertyHandler(
  78. IN PIRP pIrp,
  79. IN PKSNODEPROPERTY_AUDIO_CHANNEL pNodePropertyAudioChannel,
  80. IN OUT PLONG plLevel
  81. );
  82. NTSTATUS
  83. GetControlRange(
  84. PVIRTUAL_NODE_DATA pVirtualNodeData
  85. );
  86. NTSTATUS
  87. QueryPropertyRange(
  88. PFILE_OBJECT pFileObject,
  89. CONST GUID *pguidPropertySet,
  90. ULONG ulPropertyId,
  91. ULONG ulNodeId,
  92. PKSPROPERTY_DESCRIPTION *ppPropertyDescription
  93. );
  94. NTSTATUS
  95. SetVirtualVolume(
  96. PVIRTUAL_NODE_DATA pVirtualNodeData,
  97. LONG Channel
  98. );
  99. NTSTATUS
  100. SetPhysicalVolume(
  101. PGRAPH_NODE_INSTANCE pGraphNodeInstance,
  102. PVIRTUAL_SOURCE_DATA pVirtualSourceData,
  103. LONG Channel
  104. );
  105. LONG
  106. MapVirtualLevel(
  107. PVIRTUAL_NODE_DATA pVirtualNodeData,
  108. LONG lLevel
  109. );
  110. NTSTATUS
  111. GetVolumeNodeNumber(
  112. PPIN_INSTANCE pPinInstance,
  113. PVIRTUAL_SOURCE_DATA pVirtualSourceData OPTIONAL
  114. );
  115. NTSTATUS
  116. GetSuperMixCaps(
  117. OUT PKSAUDIO_MIXCAP_TABLE pAudioMixCapTable,
  118. IN PSTART_NODE_INSTANCE pStartNodeInstance,
  119. IN ULONG NodeId
  120. );
  121. //---------------------------------------------------------------------------
  122. // End of File: virtual.h
  123. //---------------------------------------------------------------------------