⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mstve.idl

📁 vc6.0完整版
💻 IDL
📖 第 1 页 / 共 5 页
字号:
		[propget, id(4), helpstring("property Description")]		HRESULT Description([out, retval] BSTR *pVal);
		[propput, id(4), helpstring("property Description")]		HRESULT Description([in] BSTR newVal);

		[propget, id(5), helpstring("property IsValid")]			HRESULT IsValid([out, retval] VARIANT_BOOL *pVal);
		[propget, id(6), helpstring("property MediaName")]			HRESULT MediaName([out, retval] BSTR *newVal);
		[propget, id(7), helpstring("property MediaTitle")]			HRESULT MediaTitle([out, retval] BSTR *newVal);
		[propget, id(8), helpstring("property FileIPAdapter")]		HRESULT FileIPAdapter([out, retval] BSTR *newVal);
		[propget, id(9), helpstring("property FileIPAddress")]		HRESULT FileIPAddress([out, retval] BSTR *newVal);
		[propget, id(10), helpstring("property FilePort")]			HRESULT FilePort([out, retval] LONG *lPort);
		[propget, id(11), helpstring("property TriggerIPAdapter")]	HRESULT TriggerIPAdapter([out, retval] BSTR *newVal);
		[propget, id(12), helpstring("property TriggerIPAddress")]	HRESULT TriggerIPAddress([out, retval] BSTR *newVal);
		[propget, id(13), helpstring("property TriggerPort")]		HRESULT TriggerPort([out, retval] LONG *lPort);
		[propget, id(14),helpstring("property Languages")]			HRESULT Languages([out, retval] ITVEAttrMap* *ppVal);
		[propget, id(15),helpstring("property SDPLanguages")]		HRESULT SDPLanguages([out, retval] ITVEAttrMap* *ppVal);
		[propget, id(16),helpstring("property Bandwidth")]			HRESULT Bandwidth([out, retval] LONG *lVal);
		[propget, id(17),helpstring("property BandwidthInfo")]		HRESULT BandwidthInfo([out, retval] BSTR *newVal);
		[propget, id(18),helpstring("property Attributes")]			HRESULT Attributes([out, retval] ITVEAttrMap* *ppVal);

		[propget, id(19),helpstring("property Rest")]				HRESULT Rest([out, retval] ITVEAttrMap* *ppVal);
		[         id(20),helpstring("method Initialize")]			HRESULT Initialize([in] BSTR newVal);
	};

	[
		object,
		uuid(05500203-FAA5-4df9-8246-BFC23AC5CEA8),
//		dual,
		hidden,
		helpstring("ITVEVariation_Helper Interface"),
		pointer_default(unique)
	]
	interface ITVEVariation_Helper : IUnknown
	{
		[			id(1),  helpstring("method ConnectParent")]			HRESULT ConnectParent([in] ITVEEnhancement *pEnhancement);
		[			id(2),  helpstring("method DefaultTo")]				HRESULT DefaultTo([in] ITVEVariation *pVariationBase);
		[			id(3),  helpstring("method SetTriggerIPAdapter")]	HRESULT SetTriggerIPAdapter([in] BSTR bstrBuff);
		[			id(4),  helpstring("method SetFileIPAdapter")]		HRESULT SetFileIPAdapter([in] BSTR bstrBuff);
		[			id(5),  helpstring("method SubParseSDP")]			HRESULT SubParseSDP(const BSTR *pbstrSDP, BOOL *pfMissingMedia);
		[			id(6),  helpstring("method ParseCBTrigger")]		HRESULT ParseCBTrigger(BSTR bstrTrig);
		[			id(7),  helpstring("method FinalParseSDP")]			HRESULT FinalParseSDP();
		[			id(8),  helpstring("method UpdateVariation")]		HRESULT UpdateVariation(ITVEVariation *pVarNew, long *plNVAR_grfChanged);
		[			id(9),  helpstring("method InitAsXOver")]			HRESULT InitAsXOver();
		[			id(11),	helpstring("method NewXOverLink")]			HRESULT NewXOverLink([in] BSTR bstrLine21Trigger);
		[			id(12),	helpstring("method RemoveYourself")]		HRESULT	RemoveYourself();
		[propput,	id(13), helpstring("property MediaTitle")]			HRESULT MediaTitle([in] BSTR bstrBuff);
		[propput,   id(14), helpstring("property IsValid")]				HRESULT IsValid([in] VARIANT_BOOL fValid);
		[			id(15), helpstring("method DumpToBSTR")]			HRESULT DumpToBSTR([out] BSTR *bstrBuff);
	};

	[
		object,
		uuid(05500113-FAA5-4df9-8246-BFC23AC5CEA8),
		dual,
		helpstring("ITVEVariations Interface"),
		pointer_default(unique)
	]	
	interface ITVEVariations : IDispatch
	{
		[propget, id(DISPID_NEWENUM), restricted, helpstring("property _NewEnum")] HRESULT _NewEnum([out, retval] IUnknown **pCollection);
		[propget, id(COLLECTID_Count),  helpstring("property Count")]		HRESULT Count([out, retval] long *pVal);
		[propget, id(COLLECTID_Item),   helpstring("property Item")]		HRESULT Item([in] VARIANT var, [out, retval] ITVEVariation * *pVal);
		[         id(COLLECTID_Add),    helpstring("method Add")]			HRESULT Add([in] ITVEVariation *pEnh);
		[         id(COLLECTID_Remove), helpstring("method Remove")]		HRESULT Remove([in] VARIANT var);
		[         id(COLLECTID_RemoveAll), helpstring("method RemoveAll")]	HRESULT RemoveAll();
		[         id(COLLECTID_Insert), helpstring("method Insert")]		HRESULT Insert([in] int iLoc, [in] ITVEVariation *pEnh);
	};
// ---------------------------------------------------
	[
		object,
		uuid(05500104-FAA5-4df9-8246-BFC23AC5CEA8),
		dual,
		helpstring("ITVEEnhancement Interface"),
		pointer_default(unique)
	]
	interface ITVEEnhancement : IDispatch
	{
		[propget, id(1),  helpstring("property Parent")]			HRESULT Parent([out, retval] IUnknown* *pVal);
		[propget, id(2),  helpstring("property Service")]			HRESULT Service([out, retval] ITVEService* *pVal);
		[propget, id(3),  helpstring("property Variations")]		HRESULT Variations([out, retval] ITVEVariations* *pVal);

		[propget, id(4),  helpstring("property IsValid")]			HRESULT IsValid([out, retval] VARIANT_BOOL *pVal);
		[propget, id(5),  helpstring("property ProtocolVersion")]	HRESULT ProtocolVersion([out, retval] BSTR *pVal);
		[propget, id(6),  helpstring("property SessionUserName")]	HRESULT SessionUserName([out, retval] BSTR *pVal);
		[propget, id(7),  helpstring("property SessionId")]			HRESULT SessionId([out, retval] LONG *plVal);
		[propget, id(8),  helpstring("property SessionVersion")]	HRESULT SessionVersion([out, retval] LONG *plVal);
		[propget, id(9),  helpstring("property SessionIPAddress")]	HRESULT SessionIPAddress([out, retval] BSTR *pVal);
		[propget, id(10), helpstring("property SessionName")]		HRESULT SessionName([out, retval] BSTR *pVal);
		[propget, id(11), helpstring("property EmailAddresses")]	HRESULT EmailAddresses([out, retval] ITVEAttrMap* *pVal);
		[propget, id(12), helpstring("property PhoneNumbers")]		HRESULT PhoneNumbers([out, retval] ITVEAttrMap* *pVal);

		[propget, id(13), helpstring("property Description")]		HRESULT Description([out, retval] BSTR *pVal);
		[propput, id(13), helpstring("property Description")]		HRESULT Description([in] BSTR newVal);
		[propget, id(14), helpstring("property DescriptionURI")]	HRESULT DescriptionURI([out, retval] BSTR *pVal);

		[propget, id(15), helpstring("property UUID")]				HRESULT UUID([out, retval] BSTR *pVal);
		[propget, id(16), helpstring("property StartTime")]			HRESULT StartTime([out, retval] DATE *pVal);
		[propget, id(17), helpstring("property StopTime")]			HRESULT StopTime([out, retval] DATE *pVal);
		[propget, id(18), helpstring("property IsPrimary")]			HRESULT IsPrimary([out, retval] VARIANT_BOOL *pVal);

		[propget, id(19), helpstring("property Type")]				HRESULT Type([out, retval] BSTR *pVal);
		[propget, id(20), helpstring("property TveType")]			HRESULT TveType([out, retval] BSTR *pVal);
		[propget, id(21), helpstring("property TveSize")]			HRESULT TveSize([out, retval] LONG *plVal);
		[propget, id(23), helpstring("property TveLevel")]			HRESULT TveLevel([out, retval] double *pVal);
	
		[propget, id(24), helpstring("property Attributes")]		HRESULT Attributes([out, retval] ITVEAttrMap* *pVal);
		[propget, id(25), helpstring("property Rest")]				HRESULT Rest([out, retval] ITVEAttrMap* *pVal);

		[propget, id(26), helpstring("property SAPHeaderBits")]		HRESULT SAPHeaderBits([out, retval] short *pVal);
		[propget, id(27), helpstring("property SAPAuthLength")]		HRESULT SAPAuthLength([out, retval] short *pVal);
		[propget, id(28), helpstring("property SAPMsgIDHash")]		HRESULT SAPMsgIDHash([out, retval] LONG *pVal);
		[propget, id(29), helpstring("property SAPSendingIP")]		HRESULT SAPSendingIP([out, retval] BSTR *pVal);
		[propget, id(30), helpstring("property SAPAuthData")]		HRESULT SAPAuthData([out, retval] BSTR *pVal);

		[		  id(31), helpstring("method ParseAnnouncement")]	HRESULT ParseAnnouncement([in] BSTR bstrAdapter, [in] const BSTR *pbstVal, [out] long *plgrfParseError, [out] long *plLineError);
	};


	[
		object,
		uuid(05500204-FAA5-4df9-8246-BFC23AC5CEA8),
//		dual,
		hidden,
		helpstring("ITVEEnhancement_Helper Interface"),
		pointer_default(unique)
	]
	interface ITVEEnhancement_Helper : IUnknown
	{
		[id(0), helpstring("method ConnectParent")]		HRESULT ConnectParent(ITVEService *pService);
		[id(1), helpstring("method Activate")]			HRESULT Activate();
		[id(2), helpstring("method Deactivate")]		HRESULT Deactivate();
		[id(3), helpstring("method UpdateEnhancement")] HRESULT UpdateEnhancement([in] ITVEEnhancement *pEnhNew,[out] long *plNENH_grfChanged);
		[id(4), helpstring("method InitAsXOver")]		HRESULT InitAsXOver();
		[id(5), helpstring("method NewXOverLink")]		HRESULT NewXOverLink([in] BSTR bstrLine21Trigger);
		[id(6), helpstring("method RemoveYourself")]	HRESULT	RemoveYourself();
		[id(7), helpstring("method DumpToBSTR")]		HRESULT DumpToBSTR([out] BSTR *pbstrBuff);
	};


	[
		object,
		uuid(05500114-FAA5-4df9-8246-BFC23AC5CEA8),
		dual,
		helpstring("ITVEEnhancements Interface"),
		pointer_default(unique)
	]

	interface ITVEEnhancements : IDispatch
	{
		[propget, id(DISPID_NEWENUM), restricted, helpstring("property _NewEnum")] HRESULT _NewEnum([out, retval] IUnknown **pCollection);
		[propget, id(COLLECTID_Count),  helpstring("property Count")]		HRESULT Count([out, retval] long *pVal);
		[propget, id(COLLECTID_Item),   helpstring("property Item")]		HRESULT Item([in] VARIANT var, [out, retval] ITVEEnhancement * *pVal);
		[         id(COLLECTID_Add),    helpstring("method Add")]			HRESULT Add([in] ITVEEnhancement *pEnh);
		[         id(COLLECTID_Remove), helpstring("method Remove")]		HRESULT Remove([in] VARIANT var);
		[         id(COLLECTID_RemoveAll), helpstring("method RemoveAll")]	HRESULT RemoveAll();
		[         id(COLLECTID_Insert), helpstring("method Insert")]		HRESULT Insert([in] int iLoc, [in] ITVEEnhancement *pEnh);
	};
// ---------------------------------------------------

	[
		object,
		uuid(05500105-FAA5-4df9-8246-BFC23AC5CEA8),
		dual,
		helpstring("ITVEService Interface"),
		pointer_default(unique)
	]
	interface ITVEService : IDispatch
	{
		[propget, id(1), helpstring("property Parent")]			HRESULT Parent([out, retval] IUnknown* *pVal);
		[propget, id(2), helpstring("property Enhancements")]	HRESULT Enhancements([out, retval] ITVEEnhancements* *pVal);
		[propget, id(3), helpstring("property Description")]	HRESULT Description([out, retval] BSTR *pVal);
		[propput, id(3), helpstring("property Description")]	HRESULT Description([in] BSTR newVal);
		[		  id(4), helpstring("method Activate")]			HRESULT Activate();		// used in tuning, turns on announcement
		[		  id(5), helpstring("method Deactivate")]		HRESULT Deactivate();		// used in tuning, turns off announcement
		[propget, id(6), helpstring("property XOverLinks")]		HRESULT XOverLinks([out, retval] ITVETracks* *pVal);	// returns ITVETracks (Collection)
		[propget, id(7),helpstring("property XOverEnhancement")] HRESULT XOverEnhancement([out, retval] ITVEEnhancement* *pVal);	// special for tree view...
		[		  id(8), helpstring("method NewXOverLink")]		HRESULT NewXOverLink([in] BSTR bstrLine21Trigger);
				// Set date offset used added to dates before expiring.  
				//  Used when doing playback recorded shows, offseting expire dates by this amount
		[propget, id(9), helpstring("property ExpireOffset")]	HRESULT ExpireOffset([out, retval] DATE *pVal);
		[propput, id(9), helpstring("property ExpireOffset")]	HRESULT ExpireOffset([in] DATE newVal);
				// return the ITVEAttrTimeQ list giving dates of IUnknowns in this service are due to expire
		[propget, id(10), helpstring("property ExpireQueue")]	HRESULT ExpireQueue([out, retval] ITVEAttrTimeQ* *pVal);
				// Expires any items earlier than the specified date + ExpireOffset
				//    If ezactly zero, Date defaults to <NOW>.
		[         id(11),helpstring("method ExpireForDate")]	HRESULT ExpireForDate([in] DATE dateExpireTime);
				// Mark Service active, only one Active service currently allowed .. turns off all others.
		[propget, id(12), helpstring("IsActive")]				HRESULT IsActive([out, retval] VARIANT_BOOL *fIsActive);
				// save and restore an arbitrary property on this service... (Useful with ITVENavAid::CacheState())
		[propput, id(13), helpstring("Property")]				HRESULT Property([in] BSTR bstrPropName, BSTR bstrPropVal);
		[propget, id(13), helpstring("Property")]				HRESULT Property([in] BSTR bstrPropName, [out, retval] BSTR *pbstrPropVal);
	};

	[
		object,
		uuid(05500205-FAA5-4df9-8246-BFC23AC5CEA8),
//		dual,
		hidden,
		helpstring("ITVEService_Helper Interface"),
		pointer_default(unique)
	]
	interface ITVEService_Helper : IUnknown
	{
		[		  id(1),  helpstring("method ConnectParent")]				HRESULT	ConnectParent([in] ITVESupervisor *pSupervisor);
		[		  id(2),  helpstring("method ParseCBAnnouncement")]			HRESULT	ParseCBAnnouncement([in] BSTR bstrFileTrigAdapter,[in] BSTR *pbstrBuff);
		[		  id(3),  helpstring("method SetAnncIPValues")]				HRESULT SetAnncIPValues([in] BSTR bstrAnncIPAdapter,[in] BSTR bstrAnncIPAddress,[in] LONG lAnncPort);
		[		  id(4),  helpstring("method GetAnncIPValues")]				HRESULT GetAnncIPValues([in] BSTR *pbstrAnncIPAdapter,[in] BSTR *pbstrAnncIPAddress,[in] LONG *plAnncPort);
		[		  id(5),  helpstring("method InitXOverEnhancement")]		HRESULT	InitXOverEnhancement();
		[		  id(6),  helpstring("method AddToExpireQueue")]			HRESULT	AddToExpireQueue([in] DATE dateExpires, [in] IUnknown *punkItem);
		[		  id(7),  helpstring("method ChangeInExpireQueue")]			HRESULT	ChangeInExpireQueue([in] DATE dateExpires, [in] IUnknown *punkItem);
		[		  id(8),  helpstring("method RemoveFromExpireQueue")]		HRESULT	RemoveFromExpireQueue([in] IUnknown *punkItem);
		[		  id(9),  helpstring("method RemoveEnhFilesFromExpireQueue")]	HRESULT	RemoveEnhFilesFromExpireQueue([in] ITVEEnhancement *pEnhancement);
		[propget, id(10), helpstring("method ExpireQueueChangeCount")]		HRESULT ExpireQueueChangeCount([out, retval] long *pChangeCount);
		[		  id(11), helpstring("method RemoveYourself")]				HRESULT	RemoveYourself();
		[		  id(12), helpstring("method DumpToBSTR")]					HRESULT	DumpToBSTR([out] BSTR *pbstrBuff);
	};


	[
		object,
		uuid(05500305-FAA5-4df9-8246-BFC23AC5CEA8),
		dual,
		helpstring("ITVEFeature Interface (Inherits ITVEService)"),
		pointer_default(unique)
	]
	interface ITVEFeature : ITVEService
	{
			// New methods just for the Feature
		[id(101),		helpstring("method TuneTo")]					HRESULT TuneTo([in] BSTR bstrStation, [in] BSTR bstrIPAdapter);
		[id(102),		helpstring("method ReTune")]					HRESULT ReTune([in] ITVEService *pService);
		[id(103),		helpstring("method BindToSupervisor")]			HRESULT BindToSupervisor([in] ITVESupervisor *pTVESupervisor);
			// these are incoming events called by Supervisor ((_ITVEvents).. Must match
		[id(2101),  helpstring("method NotifyTVETune")]					HRESULT NotifyTVETune([in] NTUN_Mode tuneMode, [in] ITVEService *pService, [in] BSTR bstrDescription, [in] BSTR bstrIPAdapter);
		[id(2102),  helpstring("method NotifyTVEEnhancementNew")]		HRESULT NotifyTVEEnhancementNew([in] ITVEEnhancement *pEnh);
		[id(2103),  helpstring("method NotifyTVEEnhancementUpdated")]	HRESULT NotifyTVEEnhancementUpdated([in] ITVEEnhancement *pEnh, [in] long lChangedFlags);	// changedFlags : NENH_grfDiff
		[id(2104),  helpstring("method NotifyTVEEnhancementStarting")]	HRESULT NotifyTVEEnhancementStarting([in] ITVEEnhancement *pEnh);
		[id(2105),  helpstring("method NotifyTVEEnhancementExpired")]	HRESULT NotifyTVEEnhancementExpired([in] ITVEEnhancement *pEnh);
		[id(2106),  helpstring("method NotifyTVETriggerNew")]			HRESULT NotifyTVETriggerNew([in] ITVETrigger *pTrigger,[in]  BOOL fActive);
		[id(2107),  helpstring("method NotifyTVETriggerUpdated")]		HRESULT NotifyTVETriggerUpdated([in] ITVETrigger *pTrigger,[in]  BOOL fActive, [in] long lChangedFlags);	// changedFlags : NTRK_grfDiff
		[id(2108),  helpstring("method NotifyTVETriggerExpired")]		HRESULT NotifyTVETriggerExpired([in] ITVETrigger *pTrigger,[in]  BOOL fActive);
		[id(2109),  helpstring("method NotifyTVEPackage")]				HRESULT NotifyTVEPackage([in] NPKG_Mode engPkgMode, [in] ITVEVariation *pVariation, [in] BSTR bstrUUID, [in] long  cBytesTotal, [in] long  cBytesReceived);
		[id(2110),  helpstring("method NotifyTVEFile")]					HRESULT NotifyTVEFile([in] NFLE_Mode engFileMode, [in] ITVEVariation *pVariation, [in] BSTR bstrUrlName, [in] BSTR bstrFileName);
		[id(2111),  helpstring("method NotifyTVEAuxInfo")]				HRESULT NotifyTVEAuxInfo([in] NWHAT_Mode engAuxInfoMode, [in] BSTR bstrAuxInfoString, [in] long lChangedFlags, [in] long lErrorLine);	// WhatIsIt is NWHAT_Mode - lChangedFlags is NENH_grfDiff or NTRK_grfDiff treated as error bits 

	};

	[
		object,
		uuid(05500115-FAA5-4df9-8246-BFC23AC5CEA8),
		dual,
		helpstring("ITVEServices Interface"),
		pointer_default(unique)
	]
	interface ITVEServices : IDispatch
	{

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -