6 #define PPORTSTREAM_ PUNKNOWN
17 {48000, 44100, 32000, 22050, 16000, 11025, 8000};
19 {48000, 32000, 16000, 8000};
119#define IMP_CMiniport(cType, IID) \
120STDMETHODIMP_(NTSTATUS) cType::GetDescription( \
121 _Out_ PPCFILTER_DESCRIPTOR *OutFilterDescriptor)\
122{ return CMiniport::GetDescription(OutFilterDescriptor); } \
124STDMETHODIMP_(NTSTATUS) cType::DataRangeIntersection( \
126 IN PKSDATARANGE DataRange, \
127 IN PKSDATARANGE MatchingDataRange, \
128 IN ULONG OutputBufferLength, \
129 OUT PVOID ResultantFormat OPTIONAL, \
130 OUT PULONG ResultantFormatLength) \
131{ return CMiniport::DataRangeIntersection(PinId, DataRange, \
132 MatchingDataRange, OutputBufferLength, ResultantFormat, \
133 ResultantFormatLength); } \
134STDMETHODIMP_(NTSTATUS) cType::NonDelegatingQueryInterface( \
135 _In_ REFIID Interface, \
136 _COM_Outptr_ PVOID *Object) \
137{ return CMiniport::NonDelegatingQueryInterface( \
138 Interface, Object, IID, (PMINIPORT)this); }
STDMETHODIMP_(NTSTATUS) Init(_In_ PUNKNOWN UnknownAdapter
NTSTATUS ProcessResources(IN PRESOURCELIST ResourceList)
PINTERRUPTSYNC InterruptSync
NTSTATUS BuildDataRangeInformation(void)
CMiniportStream * Streams[PIN_MICIN_OFFSET+1]
DEVICE_POWER_STATE m_PowerState
NTSTATUS ValidateFormat(IN PKSDATAFORMAT DataFormat, IN WavePins Pin)
PADAPTERCOMMON AdapterCommon
NTSTATUS TestDataFormat(IN PKSDATAFORMAT Format, IN WavePins Pin)
static NTSTATUS NTAPI PropertyChannelConfig(IN PPCPROPERTY_REQUEST PropertyRequest)
static NTSTATUS NTAPI InterruptServiceRoutine(IN PINTERRUPTSYNC InterruptSync, IN PVOID StaticContext)
NTSTATUS NonDelegatingQueryInterface(_In_ REFIID Interface, _COM_Outptr_ PVOID *Object, _In_ REFIID iMiniPort, _In_ PMINIPORT miniPort)
_In_ PRESOURCELIST _In_ PPORT Port_
void __fastcall obj_AddRef(PUNKNOWN obj, void **ppvObject)
const DWORD dwMicSampleRates[MIC_SAMPLERATES_TESTED]
const int PIN_WAVEIN_OFFSET
const int MIC_SAMPLERATES_TESTED
void __fastcall obj_Release(void **ppvObject)
const DWORD dwWaveSampleRates[WAVE_SAMPLERATES_TESTED]
const int WAVE_SAMPLERATES_TESTED
const int PIN_MICIN_OFFSET
const int PIN_WAVEOUT_OFFSET
IAC97AdapterCommon * PADAPTERCOMMON
IN PDCB IN VBO IN ULONG IN BOOLEAN Pin
enum _DEVICE_POWER_STATE DEVICE_POWER_STATE
IDmaChannel * PDMACHANNEL
IInterruptSync * PINTERRUPTSYNC
IResourceList * PRESOURCELIST
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIORESLIST * ResourceList
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject