📄 bdadefs.h
字号:
};class ISampleGrabber : public IUnknown{public: virtual HRESULT __stdcall SetOneShot( BOOL b_one_shot )=0; virtual HRESULT __stdcall SetMediaType( const AM_MEDIA_TYPE* p_media_type )=0; virtual HRESULT __stdcall GetConnectedMediaType( AM_MEDIA_TYPE* p_media_type )=0; virtual HRESULT __stdcall SetBufferSamples( BOOL b_buffer_samples )=0; virtual HRESULT __stdcall GetCurrentBuffer( long* p_buff_size, long* p_buffer )=0; virtual HRESULT __stdcall GetCurrentSample( IMediaSample** p_p_sample )=0; virtual HRESULT __stdcall SetCallback( ISampleGrabberCB* pf_callback, long l_callback_type )=0;};class ISampleGrabberCB : public IUnknown{public: virtual HRESULT __stdcall SampleCB( double d_sample_time, IMediaSample* p_sample )=0; virtual HRESULT __stdcall BufferCB( double d_sample_time, BYTE *p_buffer, long l_bufferLen )=0;};class IScanningTuner : public ITuner{public: virtual HRESULT __stdcall SeekUp( void )=0; virtual HRESULT __stdcall SeekDown( void )=0; virtual HRESULT __stdcall ScanDown( long l_pause )=0; virtual HRESULT __stdcall ScanUp( long l_pause )=0; virtual HRESULT __stdcall AutoProgram( void )=0;};class ITuneRequest : public IDispatch{public: virtual HRESULT __stdcall get_TuningSpace( ITuningSpace** p_p_tuning_space )=0; virtual HRESULT __stdcall get_Components( IComponents** p_p_components )=0; virtual HRESULT __stdcall Clone( ITuneRequest** p_p_tune_request )=0; virtual HRESULT __stdcall get_Locator( ILocator** p_p_locator )=0; virtual HRESULT __stdcall put_Locator( ILocator* p_locator )=0;};class IChannelTuneRequest : public ITuneRequest{public: virtual HRESULT __stdcall get_Channel( long* pl_channel )=0; virtual HRESULT __stdcall put_Channel( long l_channel )=0;};class IATSCChannelTuneRequest : public IChannelTuneRequest{public: virtual HRESULT __stdcall get_MinorChannel( long* pl_minor_channel )=0; virtual HRESULT __stdcall put_MinorChannel( long l_minor_channel )=0;};class IDVBTuneRequest : public ITuneRequest{public: virtual HRESULT __stdcall get_ONID( long* pl_onid )=0; virtual HRESULT __stdcall put_ONID( long l_onid )=0; virtual HRESULT __stdcall get_TSID( long* pl_tsid )=0; virtual HRESULT __stdcall put_TSID( long l_tsid )=0; virtual HRESULT __stdcall get_SID( long* pl_sid )=0; virtual HRESULT __stdcall put_SID( long l_sid )=0;};class ILocator : public IDispatch{public: virtual HRESULT __stdcall get_CarrierFrequency( long* pl_frequency )=0; virtual HRESULT __stdcall put_CarrierFrequency( long l_frequency )=0; virtual HRESULT __stdcall get_InnerFEC( FECMethod* FEC )=0; virtual HRESULT __stdcall put_InnerFEC( FECMethod FEC )=0; virtual HRESULT __stdcall get_InnerFECRate( BinaryConvolutionCodeRate* FEC )=0; virtual HRESULT __stdcall put_InnerFECRate( BinaryConvolutionCodeRate FEC )=0; virtual HRESULT __stdcall get_OuterFEC( FECMethod* FEC )=0; virtual HRESULT __stdcall put_OuterFEC( FECMethod FEC )=0; virtual HRESULT __stdcall get_OuterFECRate( BinaryConvolutionCodeRate* FEC )=0; virtual HRESULT __stdcall put_OuterFECRate( BinaryConvolutionCodeRate FEC )=0; virtual HRESULT __stdcall get_Modulation( ModulationType* p_modulation )=0; virtual HRESULT __stdcall put_Modulation( ModulationType modulation )=0; virtual HRESULT __stdcall get_SymbolRate( long* pl_rate )=0; virtual HRESULT __stdcall put_SymbolRate( long l_rate )=0; virtual HRESULT __stdcall Clone( ILocator** p_p_locator )=0;};class IATSCLocator : public ILocator{public: virtual HRESULT __stdcall get_PhysicalChannel( long* pl_phys_channel )=0; virtual HRESULT __stdcall put_PhysicalChannel( long l_phys_channel )=0; virtual HRESULT __stdcall get_TSID( long* pl_tsid )=0; virtual HRESULT __stdcall put_TSID( long l_tsid )=0;};class IDVBCLocator : public ILocator{public:};class IDVBSLocator : public ILocator{public: virtual HRESULT __stdcall get_SignalPolarisation( Polarisation* p_polarisation )=0; virtual HRESULT __stdcall put_SignalPolarisation( Polarisation polarisation )=0; virtual HRESULT __stdcall get_WestPosition( VARIANT_BOOL* pb_west )=0; virtual HRESULT __stdcall put_WestPosition( VARIANT_BOOL b_west )=0; virtual HRESULT __stdcall get_OrbitalPosition( long* pl_longitude )=0; virtual HRESULT __stdcall put_OrbitalPosition( long l_longitude )=0; virtual HRESULT __stdcall get_Azimuth( long* pl_azimuth )=0; virtual HRESULT __stdcall put_Azimuth( long l_azimuth )=0; virtual HRESULT __stdcall get_Elevation( long* pl_elevation )=0; virtual HRESULT __stdcall put_Elevation( long l_elevation )=0;};class IDVBTLocator : public ILocator{public: virtual HRESULT __stdcall get_Bandwidth( long* pl_bandwidth )=0; virtual HRESULT __stdcall put_Bandwidth( long l_bandwidth )=0; virtual HRESULT __stdcall get_LPInnerFEC( FECMethod* FEC )=0; virtual HRESULT __stdcall put_LPInnerFEC( FECMethod FEC )=0; virtual HRESULT __stdcall get_LPInnerFECRate( BinaryConvolutionCodeRate* FEC )=0; virtual HRESULT __stdcall put_LPInnerFECRate( BinaryConvolutionCodeRate FEC )=0; virtual HRESULT __stdcall get_HAlpha( HierarchyAlpha* Alpha )=0; virtual HRESULT __stdcall put_HAlpha( HierarchyAlpha Alpha )=0; virtual HRESULT __stdcall get_Guard( GuardInterval* GI )=0; virtual HRESULT __stdcall put_Guard( GuardInterval GI )=0; virtual HRESULT __stdcall get_Mode( TransmissionMode* mode )=0; virtual HRESULT __stdcall put_Mode( TransmissionMode mode )=0; virtual HRESULT __stdcall get_OtherFrequencyInUse( VARIANT_BOOL* OtherFrequencyInUseVal )=0; virtual HRESULT __stdcall put_OtherFrequencyInUse( VARIANT_BOOL OtherFrequencyInUseVal )=0;};class ITuningSpace : public IDispatch{public: virtual HRESULT __stdcall get_UniqueName( BSTR* p_bstr_name )=0; virtual HRESULT __stdcall put_UniqueName( BSTR Name )=0; virtual HRESULT __stdcall get_FriendlyName( BSTR* p_bstr_name )=0; virtual HRESULT __stdcall put_FriendlyName( BSTR bstr_name )=0; virtual HRESULT __stdcall get_CLSID( BSTR* bstr_clsid )=0; virtual HRESULT __stdcall get_NetworkType( BSTR* p_bstr_network_guid )=0; virtual HRESULT __stdcall put_NetworkType( BSTR bstr_network_guid )=0; virtual HRESULT __stdcall get__NetworkType( GUID* p_guid_network_guid )=0; virtual HRESULT __stdcall put__NetworkType( REFCLSID clsid_network_guid )=0; virtual HRESULT __stdcall CreateTuneRequest( ITuneRequest** p_p_tune_request )=0; virtual HRESULT __stdcall EnumCategoryGUIDs( IEnumGUID** p_p_enum )=0; virtual HRESULT __stdcall EnumDeviceMonikers( IEnumMoniker** p_p_enum )=0; virtual HRESULT __stdcall get_DefaultPreferredComponentTypes( IComponentTypes** p_p_cpt_types )=0; virtual HRESULT __stdcall put_DefaultPreferredComponentTypes( IComponentTypes* p_cpt_types )=0; virtual HRESULT __stdcall get_FrequencyMapping( BSTR* p_bstr_mapping )=0; virtual HRESULT __stdcall put_FrequencyMapping( BSTR bstr_mapping )=0; virtual HRESULT __stdcall get_DefaultLocator( ILocator** p_p_locator )=0; virtual HRESULT __stdcall put_DefaultLocator( ILocator* p_locator )=0; virtual HRESULT __stdcall Clone( ITuningSpace** p_p_tuning_space )=0;};class IDVBTuningSpace : public ITuningSpace
{
public:
virtual HRESULT __stdcall get_SystemType( DVBSystemType* p_sys_type )=0;
virtual HRESULT __stdcall put_SystemType( DVBSystemType sys_type )=0;
};
class IDVBTuningSpace2 : public IDVBTuningSpace
{
public:
virtual HRESULT __stdcall get_NetworkID( long* p_l_network_id )=0;
virtual HRESULT __stdcall put_NetworkID( long l_network_id )=0;
};
class IDVBSTuningSpace : public IDVBTuningSpace2
{
public:
virtual HRESULT __stdcall get_LowOscillator( long* p_l_low_osc )=0;
virtual HRESULT __stdcall put_LowOscillator( long l_low_osc )=0;
virtual HRESULT __stdcall get_HighOscillator( long* p_l_high_osc )=0;
virtual HRESULT __stdcall put_HighOscillator( long l_high_osc )=0;
virtual HRESULT __stdcall get_LNBSwitch( long* p_l_lnb_switch )=0;
virtual HRESULT __stdcall put_LNBSwitch( long l_lnb_switch )=0;
virtual HRESULT __stdcall get_InputRange( BSTR* p_bstr_input_range )=0;
virtual HRESULT __stdcall put_InputRange( BSTR bstr_input_range )=0;
virtual HRESULT __stdcall get_SpectralInversion( SpectralInversion* p_spectral_inv )=0;
virtual HRESULT __stdcall put_SpectralInversion( SpectralInversion spectral_inv )=0;
};class ITuningSpaceContainer : public IDispatch{public: virtual HRESULT __stdcall get_Count( long* l_count )=0; virtual HRESULT __stdcall get__NewEnum( IEnumVARIANT** p_p_enum )=0; virtual HRESULT __stdcall get_Item( VARIANT v_index, ITuningSpace** p_p_tuning_space )=0; virtual HRESULT __stdcall put_Item( VARIANT v_index, ITuningSpace* p_tuning_space )=0; virtual HRESULT __stdcall TuningSpacesForCLSID( BSTR bstr_clsid, ITuningSpaces** p_p_tuning_spaces )=0; virtual HRESULT __stdcall _TuningSpacesForCLSID( REFCLSID clsid, ITuningSpaces** p_p_tuning_spaces )=0; virtual HRESULT __stdcall TuningSpacesForName( BSTR bstr_name, ITuningSpaces** p_p_tuning_spaces )=0; virtual HRESULT __stdcall FindID( ITuningSpace* p_tuning_space, long* l_id )=0; virtual HRESULT __stdcall Add( ITuningSpace* p_tuning_space, VARIANT* v_index )=0; virtual HRESULT __stdcall get_EnumTuningSpaces( IEnumTuningSpaces** p_p_enum )=0; virtual HRESULT __stdcall Remove( VARIANT v_index )=0; virtual HRESULT __stdcall get_MaxCount( long* l_maxcount )=0; virtual HRESULT __stdcall put_MaxCount( long l_maxcount )=0;};class ITuningSpaces : public IDispatch{public: virtual HRESULT __stdcall get_Count( long* l_count )=0; virtual HRESULT __stdcall get__NewEnum( IEnumVARIANT** p_p_enum )=0; virtual HRESULT __stdcall get_Item( VARIANT v_index, ITuningSpace** p_p_tuning_space )=0; virtual HRESULT __stdcall get_EnumTuningSpaces( IEnumTuningSpaces** p_p_enum )=0;};extern "C" {extern const GUID CLSID_ATSCLocator;extern const GUID CLSID_ATSCNetworkProvider;extern const GUID CLSID_DVBCLocator;extern const GUID CLSID_DVBCNetworkProvider;extern const GUID CLSID_DVBSLocator;extern const GUID CLSID_DVBSNetworkProvider;extern const GUID CLSID_DVBSTuningSpace;extern const GUID CLSID_DVBTLocator;extern const GUID CLSID_DVBTNetworkProvider;extern const GUID CLSID_FilterGraph;extern const GUID CLSID_InfTee;extern const GUID CLSID_MPEG2Demultiplexer;extern const GUID CLSID_NullRenderer;extern const GUID CLSID_SampleGrabber;extern const GUID CLSID_SystemDeviceEnum;extern const GUID CLSID_SystemTuningSpaces;extern const GUID IID_IATSCChannelTuneRequest;extern const GUID IID_IATSCLocator;extern const GUID IID_IBaseFilter;extern const GUID IID_ICreateDevEnum;extern const GUID IID_IDVBTLocator;extern const GUID IID_IDVBCLocator;extern const GUID IID_IDVBSLocator;extern const GUID IID_IDVBSTuningSpace;extern const GUID IID_IDVBTuneRequest;extern const GUID IID_IDVBTuningSpace;extern const GUID IID_IDVBTuningSpace2;extern const GUID IID_IGraphBuilder;extern const GUID IID_IMediaControl;extern const GUID IID_IMpeg2Demultiplexer;extern const GUID IID_ISampleGrabber;extern const GUID IID_IScanningTuner;extern const GUID IID_ITuner;extern const GUID IID_ITuningSpace;extern const GUID IID_ITuningSpaceContainer;extern const GUID MEDIATYPE_MPEG2_SECTIONS;extern const GUID MEDIASUBTYPE_None;extern const GUID FORMAT_None;const GUID KSCATEGORY_BDA_TRANSPORT_INFORMATION =
{0xa2e3074f,0x6c3d,0x11d3,{0xb6,0x53,0x00,0xc0,0x4f,0x79,0x49,0x8e}};
const GUID KSCATEGORY_BDA_RECEIVER_COMPONENT =
{0xFD0A5AF4,0xB41D,0x11d2,{0x9c,0x95,0x00,0xc0,0x4f,0x79,0x71,0xe0}};
const GUID KSCATEGORY_BDA_NETWORK_TUNER =
{0x71985f48,0x1ca1,0x11d3,{0x9c,0xc8,0x00,0xc0,0x4f,0x79,0x71,0xe0}};};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -