Sample Code
Windows Driver Samples/ Microsoft slate system virtual audio device driver sample/ C++/ SlateAudioSample/ hdmitopo.h/
/*++ Copyright (c) Microsoft Corporation All Rights Reserved Module Name: hdmitopo.h Abstract: Declaration of topology miniport for the hdmi endpoint. --*/ #ifndef _SYSVAD_HDMITOPO_H_ #define _SYSVAD_HDMITOPO_H_ #include "basetopo.h" //============================================================================= // Classes //============================================================================= /////////////////////////////////////////////////////////////////////////////// // CHdmiMiniportTopology // class CHdmiMiniportTopology : public CMiniportTopologySYSVAD, public IMiniportTopology, public CUnknown { public: DECLARE_STD_UNKNOWN(); CHdmiMiniportTopology ( _In_opt_ PUNKNOWN UnknownOuter, _In_ PCFILTER_DESCRIPTOR *FilterDesc, _In_ USHORT DeviceMaxChannels ) : CUnknown(UnknownOuter), CMiniportTopologySYSVAD(FilterDesc, DeviceMaxChannels) {} ~CHdmiMiniportTopology(); IMP_IMiniportTopology; NTSTATUS PropertyHandlerJackSinkInfo ( _In_ PPCPROPERTY_REQUEST PropertyRequest ); NTSTATUS PropertyHandlerJackDescription ( _In_ PPCPROPERTY_REQUEST PropertyRequest ); NTSTATUS PropertyHandlerJackDescription2 ( _In_ PPCPROPERTY_REQUEST PropertyRequest ); }; typedef CHdmiMiniportTopology *PCHdmiMiniportTopology; NTSTATUS CreateHdmiMiniportTopology( _Out_ PUNKNOWN * Unknown, _In_ REFCLSID, _In_opt_ PUNKNOWN UnknownOuter, _When_((PoolType & NonPagedPoolMustSucceed) != 0, __drv_reportError("Must succeed pool allocations are forbidden. " "Allocation failures cause a system crash")) _In_ POOL_TYPE PoolType, _In_ PUNKNOWN UnknownAdapter, _In_opt_ PVOID DeviceContext, _In_ PENDPOINT_MINIPAIR MiniportPair ); NTSTATUS PropertyHandler_HdmiTopoFilter(_In_ PPCPROPERTY_REQUEST PropertyRequest); #endif // _SYSVAD_HDMITOPO_H_
Our Services
-
What our customers say about us?
Read our customer testimonials to find out why our clients keep returning for their projects.
View Testimonials