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

📄 mstve.idl

📁 vc6.0完整版
💻 IDL
📖 第 1 页 / 共 5 页
字号:
		[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] ITVEService * *pVal);
		[         id(COLLECTID_Add),    helpstring("method Add")]			HRESULT Add([in] ITVEService *pService);
		[         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] ITVEService *pService);
	};


// ---------------------------------------------------

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

	interface ITVESupervisor : IDispatch
	{
		[propget, id(1), helpstring("property Services")]		HRESULT Services([out, retval] ITVEServices* *pVal);
		[propget, id(2), helpstring("property Description")]	HRESULT Description([out, retval] BSTR *pVal);
		[propput, id(2), helpstring("property Description")]	HRESULT Description([in] BSTR newVal);
		[		  id(3), helpstring("method TuneTo")]			HRESULT TuneTo([in] BSTR bstrDescription, [in] BSTR bstrIPAdapter);
		[		  id(4), helpstring("method ReTune")]			HRESULT ReTune([in] ITVEService *pService);

		[		  id(5), helpstring("method NewXOverLink")]		HRESULT NewXOverLink([in] BSTR bstrLine21Trigger);
				// Expires any items earlier than the specified date + service.ExpireOffset
				//    If ezactly zero, Date defaults to <NOW>.
		[         id(6), helpstring("method ExpireForDate")]	HRESULT ExpireForDate([in] DATE dateExpireTime);

				// need to be here rather than Helper, since called from Filter, and Supervisor_Helper
				//    not in the proxy-stub DLL
		[		  id(7), restricted, helpstring("method InitStats")]	HRESULT InitStats();
		[		  id(8), restricted, helpstring("method GetStats")]		HRESULT GetStats([out] BSTR *pbstrBuff);  // CTVEStats
	};

	[
		object,
		uuid(05500206-FAA5-4df9-8246-BFC23AC5CEA8),
		dual,
		hidden,
		helpstring("ITVESupervisor_Helper Interface"),
		pointer_default(unique)
	]
	interface ITVESupervisor_Helper : IUnknown
	{
		[id(1), helpstring("method ConnectParent")]				HRESULT ConnectParent([in] IUnknown *pUnk);
		[id(2), helpstring("method GetActiveService")]			HRESULT GetActiveService([out] ITVEService **ppActiveService);
		[id(3), helpstring("method GetMCastManager")]			HRESULT GetMCastManager([out] ITVEMCastManager **pMCastManager);
		[id(4), helpstring("method UnpackBuffer")]				HRESULT UnpackBuffer([in] IUnknown *pTVEVariation, [in] unsigned char *m_rgbData, [in] int cBytes);

		[id(5), helpstring("method NotifyEnhancement")]			HRESULT NotifyEnhancement([in] NENH_Mode enhMode,[in]  ITVEEnhancement *pEnhancement,[in] long lChangedFlags);	// changedFlags NENH_grfDiff
		[id(6), helpstring("method NotifyTrigger")]				HRESULT NotifyTrigger([in] NTRK_Mode trgMode,[in]  ITVETrack *pTrack,[in]  long lChangedFlags);					// changedFlags NTRK_grfDiff
		[id(7), helpstring("method NotifyPackage")]				HRESULT NotifyPackage([in] NPKG_Mode pkgMode, [in] ITVEVariation *pVariation, [in] BSTR bstrPackageUUID, [in] long cBytesTotal, [in] long cBytesReceived);
		[id(8), helpstring("method NotifyFile")]				HRESULT NotifyFile([in] NFLE_Mode fileMode, [in] ITVEVariation *pVariation, [in] BSTR bstrURLName, [in] BSTR bstrFileName);
		[id(9), helpstring("method NotifyTune")]				HRESULT NotifyTune([in] NTUN_Mode tuneMode, [in] ITVEService *pService, [in] BSTR bstrDescription, [in] BSTR bstrIPAdapter);
						// WhatIsIt is NWHAT_Mode - lChangedFlags is NENH_grfDiff or NTRK_grfDiff treated as error bits
		[id(10), helpstring("method NotifyAuxInfo")]			HRESULT NotifyAuxInfo([in] NWHAT_Mode whatMode, [in] BSTR bstrAuxInfoString, [in] long lgrfWhatDiff, [in] long lLineError);

		[id(11), helpstring("method NotifyEnhancement_XProxy")]	HRESULT NotifyEnhancement_XProxy([in] NENH_Mode enhMode,[in] ITVEEnhancement *pEnhancement,[in] long lChangedFlags);	// changedFlags NENH_grfDiff
		[id(12), helpstring("method NotifyTrigger_XProxy")]		HRESULT NotifyTrigger_XProxy([in] NTRK_Mode trgMode,[in]  ITVETrack *pTrack,[in]  long lChangedFlags);					// changedFlags NTRK_grfDiff
		[id(13), helpstring("method NotifyPackage_XProxy")]		HRESULT NotifyPackage_XProxy( NPKG_Mode pkgMode, ITVEVariation *pVariation,BSTR bstrPackageUUID, long cBytesTotal,long cBytesReceived);
		[id(14), helpstring("method NotifyFile_XProxy")]		HRESULT NotifyFile_XProxy([in] NFLE_Mode fileMode, [in] ITVEVariation *pVariation, [in] BSTR bstrURLName, [in] BSTR bstrFileName);
		[id(15), helpstring("method NotifyTune_XProxy")]		HRESULT NotifyTune_XProxy([in] NTUN_Mode tuneMode, [in] ITVEService *pService, [in] BSTR bstrDescription, [in] BSTR bstrIPAdapter);
		[id(16), helpstring("method NotifyAuxInfo_XProxy")]		HRESULT NotifyAuxInfo_XProxy([in] NWHAT_Mode whatMode, [in] BSTR bstrAuxInfoString, [in] long lgrfWhatDiff,[in] long lLineError);

		[propget, id(17),  helpstring("property HaltFlags")]	HRESULT	HaltFlags([out, retval] LONG *plGrfHaltFlags);
		[propput, id(17),  helpstring("property HaltFlags")]	HRESULT HaltFlags([in] LONG lGrfHaltFlags);

		[		  id(18),  helpstring("method RemoveAllListenersOnAdapter")]	HRESULT RemoveAllListenersOnAdapter([in] BSTR bstrAdapter);
		[propget, id(19),  helpstring("method PossibleIPAdapterAddress")]		HRESULT PossibleIPAdapterAddress([in] int iAdapter, [out,retval] BSTR *pbstrIPAdapterAddr);
		[		  id(20), helpstring("method DumpToBSTR")]				HRESULT DumpToBSTR([out] BSTR *pbstrBuff);

		[propget, id(21), helpstring("property SupervisorGITProxy")]		HRESULT SupervisorGITProxy([out] ITVESupervisorGITProxy **ppSupervisorGITProxy);		// internal GIT refcounted pointer to supervisor 
	};

	[
		hidden,
		object,
		uuid(05500306-FAA5-4df9-8246-BFC23AC5CEA8),
		dual,
		helpstring("ITVESupervisorGITProxy Interface"),
		pointer_default(unique)
	]

	interface ITVESupervisorGITProxy: IUnknown
	{
		[propget, id(1), helpstring("property Supervisor")]		HRESULT Supervisor([out, retval] ITVESupervisor **ppVal);
		[propput, id(1), helpstring("property Supervisor")]		HRESULT Supervisor([in] ITVESupervisor  *pVal);
	};

// ---------------------------------------------------

			// ---------------------------------
	[
		object,
		uuid(05500121-FAA5-4df9-8246-BFC23AC5CEA8),
		dual,
		helpstring("ITVEAttrMap Interface"),
		pointer_default(unique)
	]
	interface ITVEAttrMap : 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] BSTR *pVal);
		[propget, id(COLLECTID_Key),       helpstring("property Key")]     HRESULT Key([in] VARIANT var, [out, retval] BSTR *pKey);
		[         id(COLLECTID_Add),       helpstring("method Add")]       HRESULT Add([in] BSTR bstrKey, [in] BSTR bstrValue);
		[         id(COLLECTID_Replace),   helpstring("method Replace")]   HRESULT Replace([in] BSTR bstrKey, [in] BSTR bstrValue);
		[         id(COLLECTID_Remove),    helpstring("method Remove")]    HRESULT Remove([in] VARIANT var);
		[         id(COLLECTID_RemoveAll), helpstring("method RemoveAll")] HRESULT RemoveAll();
		[         id(7),				   helpstring("method Add1")]      HRESULT Add1(BSTR bstrValue);
		[         id(8),                   helpstring("method DumpToBSTR")] HRESULT DumpToBSTR([out] BSTR *pDump);
	};

// ---------------------------------------------------

			// ---------------------------------
	[
		object,
		uuid(05500122-FAA5-4df9-8246-BFC23AC5CEA8),
		dual,
		helpstring("ITVEAttrTimeQ Interface"),
		pointer_default(unique)
	]
	interface ITVEAttrTimeQ : 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] IUnknown **ppVal);
		[propget, id(COLLECTID_Key),       helpstring("property Key")]     HRESULT Key([in] VARIANT var, [out, retval] DATE *pKey);
		[         id(COLLECTID_Add),       helpstring("method Add")]       HRESULT Add([in] DATE dateKey, [in] IUnknown *pUnk);
		[         id(COLLECTID_Remove),    helpstring("method Remove")]    HRESULT Remove([in] VARIANT var);
		[         id(COLLECTID_RemoveAll), helpstring("method RemoveAll")] HRESULT RemoveAll();
		[         id(COLLECTID_Update),    helpstring("method Update")]	   HRESULT Update([in] DATE dateKey, [in] IUnknown *pUnk);
		[         id(9),				   helpstring("method LockRead")]	 HRESULT LockRead();
		[         id(10),				   helpstring("method LockWrite")]	 HRESULT LockWrite();
		[         id(11),				   helpstring("method Unlock")]		 HRESULT Unlock();
		[         id(12),				   helpstring("method RemoveSimple")]    HRESULT RemoveSimple([in] VARIANT var);	// remove without calling var->RemoveYourself()
		[         id(13),                  helpstring("method DumpToBSTR")] HRESULT DumpToBSTR([out] BSTR *pDump);
	};

// ---------------------------------------------------
	[
		object,
		uuid(05500130-FAA5-4df9-8246-BFC23AC5CEA8),
		dual,
		helpstring("ITVEMCast Interface"),
		pointer_default(unique)
	]
	interface ITVEMCast : IDispatch
	{
		[propget, id(1),  helpstring("property IPAdapter")]		HRESULT IPAdapter([out, retval] BSTR *pVal);
		[propput, id(1),  helpstring("property IPAdapter")]		HRESULT IPAdapter([in] BSTR newVal);
		[propget, id(2),  helpstring("property IPAddress")]		HRESULT IPAddress([out, retval] BSTR *pVal);
		[propput, id(2),  helpstring("property IPAddress")]		HRESULT IPAddress([in] BSTR newVal);
		[propget, id(3),  helpstring("property IPPort")]		HRESULT IPPort([out, retval] long *pVal);
		[propput, id(3),  helpstring("property IPPort")]		HRESULT IPPort([in] long newVal);
		[		  id(4),  helpstring("method Join")]			HRESULT Join();
		[	      id(5),  helpstring("method Leave")]			HRESULT Leave();
		[propget, id(6),  helpstring("property IsJoined")]		HRESULT IsJoined([out, retval] VARIANT_BOOL *pVal);
		[propget, id(7),  helpstring("property IsSuspended")]	HRESULT IsSuspended([out, retval] VARIANT_BOOL *pVal);
		[		  id(8),  helpstring("method Suspend")]			HRESULT Suspend(VARIANT_BOOL fSuspend);
		[propget, id(9),  helpstring("property PacketCount")]	HRESULT PacketCount([out, retval] long *pVal);
		[propget, id(10), helpstring("property ByteCount")]		HRESULT ByteCount([out, retval] long *pVal);
		[		  id(11), helpstring("method KeepStats")]		HRESULT KeepStats(VARIANT_BOOL fKeepStats);
		[		  id(12), helpstring("method ResetStats")]		HRESULT ResetStats();
		[		  id(13), helpstring("method SetReadCallback")]	HRESULT SetReadCallback([in] int nBuffers, [in] int iPrioritySetback, [in] IUnknown *pVal);
		[		  id(14), helpstring("method ConnectManager")]	HRESULT ConnectManager([in] ITVEMCastManager* pVal);
		[propget, id(15), helpstring("property Manager")]		HRESULT Manager([out, retval] IUnknown* *ppVal);
		[propget, id(16), helpstring("property QueueThreadId")]	HRESULT QueueThreadId([out, retval] long* pVal);
		[propput, id(16), helpstring("property QueueThreadId")]	HRESULT QueueThreadId([in] long pVal);
		[propget, id(17), helpstring("property WhatType")]		HRESULT WhatType([out, retval] NWHAT_Mode *pWhatType);
		[propput, id(17), helpstring("property WhatType")]		HRESULT WhatType([in] NWHAT_Mode whatType);
	};

	[
		object,
		uuid(05500131-FAA5-4df9-8246-BFC23AC5CEA8),
		dual,
		helpstring("ITVEMCasts Interface"),
		pointer_default(unique)
	]
	interface ITVEMCasts : 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] ITVEMCast * *pVal);
		[         id(COLLECTID_Add),    helpstring("method Add")]			HRESULT Add([in] ITVEMCast *punk);
		[         id(COLLECTID_Remove), helpstring("method Remove")]		HRESULT Remove([in] VARIANT var);
		[         id(COLLECTID_RemoveAll), helpstring("method RemoveAll")]	HRESULT RemoveAll();
	};
	[
		object,
		uuid(05500132-FAA5-4df9-8246-BFC23AC5CEA8),
		dual,
		helpstring("ITVEMCastManager Interface"),
		pointer_default(unique)
	]
	interface ITVEMCastManager : IDispatch
	{
		[propget, id(1), helpstring("property MCasts")]			HRESULT MCasts([out, retval] ITVEMCasts* *pVal);
		[propget, id(2), helpstring("property Supervisor")]		HRESULT Supervisor([out, retval] ITVESupervisor* *ppSupervisor);
		[propput, id(2), helpstring("property Supervisor")]		HRESULT Supervisor([in] ITVESupervisor *pSupervisor);
		[		  id(3), helpstring("method AddMulticast")]		HRESULT AddMulticast([in] NWHAT_Mode whatType, [in] BSTR bsAdapter, [in] BSTR bsIPAddress, [in] LONG ulIPPort, [in] LONG cBuffers, [in] IUnknown *pICallback, [out] ITVEMCast **ppMCastAdded);
		[		  id(4), helpstring("method FindMulticast")]	HRESULT FindMulticast([in] BSTR bstrIPAdapter, [in] BSTR bstrIPAddress, [in] LONG sPort,  [out] ITVEMCast **ppMCast, [out] LONG *pcMatches);
		[         id(5), helpstring("method RemoveMulticast")]  HRESULT RemoveMulticast(ITVEMCast *pMCast);
		[		  id(6), helpstring("method JoinAll")]			HRESULT JoinAll();
		[		  id(7), helpstring("method LeaveAll")]			HRESULT LeaveAll();
		[		  id(8), helpstring("method SuspendAll")]		HRESULT SuspendAll([in] VARIANT_BOOL fSuspend);
		[		  id(9), helpstring("method Lock_")]			HRESULT Lock_();
		[		  id(10), helpstring("method Unlock_")]			HRESULT Unlock_();
		[		  id(11), helpstring("method DumpStatsToBSTR")]	HRESULT DumpStatsToBSTR(int iType, BSTR *pBSTR);
		[propget, id(13), helpstring("property HaltFlags")]		HRESULT	HaltFlags([out, retval] LONG *plGrfHaltFlags);
		[propput, id(13), helpstring("property HaltFlags")]		HRESULT HaltFlags([in] LONG lGrfHaltFlags);
	};

	[
		object,
		uuid(05500232-FAA5-4df9-8246-BFC23AC5CEA8),
//		dual,
		hidden,
		helpstring("ITVEMCastManager_Helper Interface"),
		pointer_default(unique)
	]
	interface ITVEMCastManager_Helper : IUnknown
	{
		[		  id(1), helpstring("method DumpString")]			HRESULT DumpString(BSTR bstrDump);	// writes string to a Dump.txt
		[		  id(2), helpstring("method CreateQueueThread")]	HRESULT CreateQueueThread();
		[		  id(3), helpstring("method KillQueueThread")]		HRESULT KillQueueThread();
		[		  id(4), helpstring("method PostToQueueThread")]	HRESULT PostToQueueThread(UINT uiMsg, WPARAM wParam, LPARAM lParam);
		[		  id(5), helpstring("method GetPacketCounts")]		HRESULT GetPacketCounts([out] LONG *pCPackets, [out] LONG *pCPacketsDropped, [out] LONG *pCPacketsDroppedTotal);
	};


	[
		object,
		uuid(05500133-FAA5-4df9-8246-BFC23AC5CEA8),
		dual,
		helpstring("ITVEMCastCallback Interface"),
		pointer_default(unique)
	]
	interface ITVEMCastCallback : IDispatch
	{
		[id(1), helpstring("method SetMCast")]				HRESULT SetMCast(ITVEMCast *pMCast);
		[id(2), helpstring("method ProcessPacket")]			HRESULT ProcessPacket(unsigned char *pchBuffer, long cBytes, long lPacketId);
		[id(3), helpstring("method PostPacket")]			HRESULT PostPacket(unsigned char *pchBuffer, long cBytes, long wPacketId);
	};


⌨️ 快捷键说明

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