📄 mstve.idl
字号:
hidden,
helpstring("ITVETrack_Helper Interface"),
pointer_default(unique)
]
interface ITVETrack_Helper : IUnknown
{
[id(1), helpstring("method ConnectParent")] HRESULT ConnectParent(ITVEVariation *pVariation);
[id(2), helpstring("method RemoveYourself")] HRESULT RemoveYourself();
[id(3), helpstring("method DumpToBSTR")] HRESULT DumpToBSTR([out] BSTR *pbstrBuff);
};
[
object,
uuid(05500112-FAA5-4df9-8246-BFC23AC5CEA8),
dual,
helpstring("ITVETracks Interface"),
pointer_default(unique)
]
interface ITVETracks : 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] ITVETrack * *pVal);
[ id(COLLECTID_Add), helpstring("method Add")] HRESULT Add([in] ITVETrack *pTrack);
[ 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] ITVETrack *pTrack);
};
// ---------------------------------------------------
[
object,
uuid(05500103-FAA5-4df9-8246-BFC23AC5CEA8),
dual,
helpstring("ITVEVariation Interface"),
pointer_default(unique)
]
interface ITVEVariation : 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 Tracks")] HRESULT Tracks([out, retval] ITVETracks* *pVal);
[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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -