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.

91 lines
2.1 KiB

  1. /*++
  2. Copyright (c) 1997-2000 Microsoft Corporation All Rights Reserved
  3. Module Name:
  4. basetopo.h
  5. Abstract:
  6. Declaration of topology miniport.
  7. --*/
  8. #ifndef _MSVAD_BASETOPO_H_
  9. #define _MSVAD_BASETOPO_H_
  10. //=============================================================================
  11. // Classes
  12. //=============================================================================
  13. ///////////////////////////////////////////////////////////////////////////////
  14. // CMiniportTopologyMSVAD
  15. //
  16. class CMiniportTopologyMSVAD
  17. {
  18. protected:
  19. PADAPTERCOMMON m_AdapterCommon; // Adapter common object.
  20. PPCFILTER_DESCRIPTOR m_FilterDescriptor; // Filter descriptor.
  21. public:
  22. CMiniportTopologyMSVAD();
  23. ~CMiniportTopologyMSVAD();
  24. NTSTATUS GetDescription
  25. (
  26. OUT PPCFILTER_DESCRIPTOR * Description
  27. );
  28. NTSTATUS DataRangeIntersection
  29. (
  30. IN ULONG PinId,
  31. IN PKSDATARANGE ClientDataRange,
  32. IN PKSDATARANGE MyDataRange,
  33. IN ULONG OutputBufferLength,
  34. OUT PVOID ResultantFormat OPTIONAL,
  35. OUT PULONG ResultantFormatLength
  36. );
  37. NTSTATUS Init
  38. (
  39. IN PUNKNOWN UnknownAdapter,
  40. IN PPORTTOPOLOGY Port_
  41. );
  42. // PropertyHandlers.
  43. NTSTATUS PropertyHandlerBasicSupportVolume
  44. (
  45. IN PPCPROPERTY_REQUEST PropertyRequest
  46. );
  47. NTSTATUS PropertyHandlerCpuResources
  48. (
  49. IN PPCPROPERTY_REQUEST PropertyRequest
  50. );
  51. NTSTATUS PropertyHandlerGeneric
  52. (
  53. IN PPCPROPERTY_REQUEST PropertyRequest
  54. );
  55. NTSTATUS PropertyHandlerMute
  56. (
  57. IN PPCPROPERTY_REQUEST PropertyRequest
  58. );
  59. NTSTATUS PropertyHandlerMuxSource
  60. (
  61. IN PPCPROPERTY_REQUEST PropertyRequest
  62. );
  63. NTSTATUS PropertyHandlerVolume
  64. (
  65. IN PPCPROPERTY_REQUEST PropertyRequest
  66. );
  67. };
  68. #endif