mirror of https://github.com/tongzx/nt5src
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
91 lines
2.1 KiB
|
|
/*++
|
|
|
|
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
|
|
|