windows-nt/Source/XPSP1/NT/drivers/ddk/wdmaudio/msvad/basetopo.h
2020-09-26 16:20:57 +08:00

92 lines
2.1 KiB
C++

/*++
Copyright (c) 1997-2000 Microsoft Corporation All Rights Reserved
Module Name:
basetopo.h
Abstract:
Declaration of topology miniport.
--*/
#ifndef _MSVAD_BASETOPO_H_
#define _MSVAD_BASETOPO_H_
//=============================================================================
// Classes
//=============================================================================
///////////////////////////////////////////////////////////////////////////////
// CMiniportTopologyMSVAD
//
class CMiniportTopologyMSVAD
{
protected:
PADAPTERCOMMON m_AdapterCommon; // Adapter common object.
PPCFILTER_DESCRIPTOR m_FilterDescriptor; // Filter descriptor.
public:
CMiniportTopologyMSVAD();
~CMiniportTopologyMSVAD();
NTSTATUS GetDescription
(
OUT PPCFILTER_DESCRIPTOR * Description
);
NTSTATUS DataRangeIntersection
(
IN ULONG PinId,
IN PKSDATARANGE ClientDataRange,
IN PKSDATARANGE MyDataRange,
IN ULONG OutputBufferLength,
OUT PVOID ResultantFormat OPTIONAL,
OUT PULONG ResultantFormatLength
);
NTSTATUS Init
(
IN PUNKNOWN UnknownAdapter,
IN PPORTTOPOLOGY Port_
);
// PropertyHandlers.
NTSTATUS PropertyHandlerBasicSupportVolume
(
IN PPCPROPERTY_REQUEST PropertyRequest
);
NTSTATUS PropertyHandlerCpuResources
(
IN PPCPROPERTY_REQUEST PropertyRequest
);
NTSTATUS PropertyHandlerGeneric
(
IN PPCPROPERTY_REQUEST PropertyRequest
);
NTSTATUS PropertyHandlerMute
(
IN PPCPROPERTY_REQUEST PropertyRequest
);
NTSTATUS PropertyHandlerMuxSource
(
IN PPCPROPERTY_REQUEST PropertyRequest
);
NTSTATUS PropertyHandlerVolume
(
IN PPCPROPERTY_REQUEST PropertyRequest
);
};
#endif