📄 mstvgs.idl
字号:
uuid(ED7DF8CD-4861-4389-8149-8EDE63A51F38),
dual,
helpstring("IChannel Interface"),
pointer_default(unique)
]
interface IChannel : IDispatch
{
[propget, id(didName), helpstring("property Name")] HRESULT Name([out, retval] BSTR *pVal);
[propput, id(didName), helpstring("property Name")] HRESULT Name([in] BSTR newVal);
[propget, id(didService), helpstring("property Service")] HRESULT Service([out, retval] IService * *ppservice);
[propputref, id(didService), helpstring("property Service")] HRESULT Service([in] IService *pservice);
[propget, id(didMetaProperties), helpstring("property MetaProperties")] HRESULT MetaProperties([out, retval] IMetaProperties * *pVal);
[propget, id(didChannelLineups), helpstring("property ChannelLineups")] HRESULT ChannelLineups([out, retval] IChannelLineups * *pVal);
};
[
uuid(226D6AD0-7026-494F-BCAD-FAB087E67290),
helpstring("ScheduleEntries Class")
]
coclass ScheduleEntries
{
[default] interface IScheduleEntries;
[default, source] dispinterface IScheduleEntriesEvents;
};
[
object,
uuid(3BAE53BD-70F0-4C7B-8C9E-E0317FFF8D79),
dual,
helpstring("IChannels Interface"),
pointer_default(unique)
]
interface IChannels : IDispatch
{
[propget, id(didCount), helpstring("property Count")] HRESULT Count([out, retval] long *pVal);
[propget, id(didItem), helpstring("property Item")] HRESULT Item(VARIANT varIndex, [out, retval] IChannel * *pVal);
[id(didAddAt), helpstring("method AddAt")] HRESULT AddAt(IChannel *pchan, long index);
[id(didRemove), helpstring("method Remove")] HRESULT Remove(VARIANT index);
[propget, id(didAddNewAt), helpstring("property AddNewAt")] HRESULT AddNewAt(IService *pservice, BSTR bstrName, long index, [out, retval] IChannel * *pVal);
[propget, id(didItemWithName), helpstring("property ItemWithName")] HRESULT ItemWithName(BSTR bstrName, [out, retval] IChannel **ppchan);
[propget, id(didItemsWithCond), helpstring("property ItemsWithMetaPropertyCond")] HRESULT ItemsWithMetaPropertyCond(IMetaPropertyCondition *pcond, [out, retval] IChannels * *ppchannels);
[id(didRemoveAll), helpstring("method RemoveAll")] HRESULT RemoveAll();
[id(didUnreferencedItems), helpstring("method UnreferencedItems")] HRESULT UnreferencedItems([out, retval] IChannels **ppchans);
[propget, id(didItemsByKey), helpstring("property ItemsByKey")] HRESULT ItemsByKey([in] IMetaPropertyType *pproptype, [in] IGuideDataProvider *pprovider, [in] long idLang, [in] long vt, [out, retval] IChannels * *ppchans);
[propget, id(didItemWithKey), helpstring("property ItemWithKey")] HRESULT ItemWithKey(VARIANT varIndex, [out, retval] IChannel * *ppchan);
[id(didResync), helpstring("method Resync")] HRESULT Resync();
};
[
uuid(83568B75-1FCC-4853-957A-9CF617B350A3),
helpstring("Channel Class")
]
coclass Channel
{
[default] interface IChannel;
};
[
uuid(6E945C62-0AB7-4D89-BB9E-212502FC7C88),
helpstring("IChannelsEvents Interface")
]
dispinterface IChannelsEvents
{
properties:
methods:
[id(didItemAdded), helpstring("method ItemAdded")] HRESULT ItemAdded(IChannel *pchan);
[id(didItemRemoved), helpstring("method ItemRemoved")] HRESULT ItemRemoved([in] long idObj);
[id(didItemChanged), helpstring("method ItemChanged")] HRESULT ItemChanged(IChannel *pchan);
[id(didItemsChanged), helpstring("method ItemsChanged")] HRESULT ItemsChanged();
};
[
object,
uuid(AB3FF8DB-C718-4ABD-98DE-E14DC74F4872),
dual,
helpstring("IChannelLineup Interface"),
pointer_default(unique)
]
interface IChannelLineup : IDispatch
{
[propget, id(didName), helpstring("property Name")] HRESULT Name([out, retval] BSTR *pVal);
[propput, id(didName), helpstring("property Name")] HRESULT Name([in] BSTR newVal);
[propget, id(didChannels), helpstring("property Channels")] HRESULT Channels([out, retval] IChannels * *pVal);
[propget, id(didMetaProperties), helpstring("property MetaProperties")] HRESULT MetaProperties([out, retval] IMetaProperties * *pVal);
};
[
uuid(73AF9077-4F6D-4FCB-A9E2-FDFBB9AE5310),
helpstring("Channels Class")
]
coclass Channels
{
[default] interface IChannels;
[default, source] dispinterface IChannelsEvents;
};
[
object,
uuid(2F78C3E1-98FE-4526-A0A7-A621025AEFF6),
dual,
helpstring("IChannelLineups Interface"),
pointer_default(unique)
]
interface IChannelLineups : IDispatch
{
[propget, id(didCount), helpstring("property Count")] HRESULT Count([out, retval] long *pVal);
[propget, id(didItem), helpstring("property Item")] HRESULT Item(VARIANT varIndex, [out, retval] IChannelLineup **ppchanlineup);
[propget, id(didAddNew), helpstring("property AddNew")] HRESULT AddNew(BSTR bstrName, [out, retval] IChannelLineup * *pVal);
[id(didRemove), helpstring("method Remove")] HRESULT Remove(VARIANT varIndex);
[id(didRemoveAll), helpstring("method RemoveAll")] HRESULT RemoveAll();
[id(didUnreferencedItems), helpstring("method UnreferencedItems")] HRESULT UnreferencedItems([out, retval] IChannelLineups **ppchanlineups);
[propget, id(didItemsByKey), helpstring("property ItemsByKey")] HRESULT ItemsByKey([in] IMetaPropertyType *pproptype, [in] IGuideDataProvider *pprovider, [in] long idLang, [in] long vt, [out, retval] IChannelLineups * *ppchanlineups);
[propget, id(didItemWithKey), helpstring("property ItemWithKey")] HRESULT ItemWithKey(VARIANT varIndex, [out, retval] IChannelLineup * *ppchanlineup);
[id(didResync), helpstring("method Resync")] HRESULT Resync();
};
[
uuid(8F86A876-E12A-4159-9647-EAFE0288014F),
helpstring("ChannelLineup Class")
]
coclass ChannelLineup
{
[default] interface IChannelLineup;
};
[
uuid(1E3971E3-CCDC-445D-AE97-A15D5D4A40C9),
helpstring("IChannelLineupsEvents Interface")
]
dispinterface IChannelLineupsEvents
{
properties:
methods:
[id(didItemAdded), helpstring("method ItemAdded")] HRESULT ItemAdded(IChannelLineup *pchanlineup);
[id(didItemRemoved), helpstring("method ItemRemoved")] HRESULT ItemRemoved([in] long idObj);
[id(didItemChanged), helpstring("method ItemChanged")] HRESULT ItemChanged(IChannelLineup *pchanlineup);
[id(didItemsChanged), helpstring("method ItemsChanged")] HRESULT ItemsChanged();
};
[
object,
uuid(A476A330-1123-4065-B3B7-D1EA899151BD),
helpstring("IObject Interface"),
pointer_default(unique)
]
interface IObject : IUnknown
{
[propget, id(didID), helpstring("property ID")] HRESULT ID([out, retval] long *pVal);
[propget, id(didMetaProperties), helpstring("property MetaProperties")] HRESULT MetaProperties([out, retval] IMetaProperties * *pVal);
[propget, id(didItemRelBy), helpstring("property ItemRelatedBy")] HRESULT ItemRelatedBy([in] IMetaPropertyType *pproptype, [out, retval] IUnknown **ppobj);
[propputref, id(didItemRelBy), helpstring("property ItemRelatedBy")] HRESULT ItemRelatedBy([in] IMetaPropertyType *pproptype, [in] IUnknown *pobj);
[propget, id(didMetaPropertyType), helpstring("property MetaPropertyType")] HRESULT MetaPropertyType([in] BSTR bstr, [out, retval] IMetaPropertyType* *pproptype);
[propget, id(didItemsWithType), helpstring("property ObjectsWithType")] HRESULT ObjectsWithType([in] BSTR bstrCLSID, [out, retval] IObjects **ppobjs);
};
[
object,
uuid(E8F1FBD5-4E44-4C26-B3D2-2C1C6999D611),
helpstring("IObjects Interface"),
pointer_default(unique)
]
interface IObjects : IUnknown
{
[propget, id(didCount), helpstring("property Count")] HRESULT Count([out, retval] long *pVal);
[propget, id(didItem), helpstring("property Item")] HRESULT Item(VARIANT varIndex, [out, retval] IUnknown * *ppunk);
[propget, id(didItemsWithType), helpstring("property ItemsWithType")] HRESULT ItemsWithType(BSTR bstrCLSID, [out, retval] IObjects * *pVal);
[propget, id(didItemWithIID), helpstring("property ItemWithID")] HRESULT ItemWithID(long id, [out, retval] IUnknown * *ppunk);
[propget, id(didItemsWithMetaProp), helpstring("property ItemsWithMetaProperty")] HRESULT ItemsWithMetaProperty(IMetaProperty *pprop, [out, retval] IObjects * *pVal);
[propget, id(didItemsWithCond), helpstring("property ItemsWithMetaPropertyCond")] HRESULT ItemsWithMetaPropertyCond(IMetaPropertyCondition *ppropcond, [out, retval] IObjects * *pVal);
[id(didAddAt), helpstring("method AddAt")] HRESULT AddAt(IUnknown *punk, long index);
[propget, id(didAddNew), helpstring("property AddNew")] HRESULT AddNew([out, retval] IUnknown * *ppunk);
[id(didRemove), helpstring("method Remove")] HRESULT Remove(VARIANT varIndex);
[id(didRemoveAll), helpstring("method RemoveAll")] HRESULT RemoveAll();
[propget, id(didAddNewAt), helpstring("property AddNewAt")] HRESULT AddNewAt([in] long index, [out, retval] IUnknown * *ppunk);
[propget, id(didItemsInTimeRange), helpstring("property ItemsInTimeRange")] HRESULT ItemsInTimeRange(DATE dtStart, DATE dtEnd, [out, retval] IObjects * *pVal);
[propget, id(didItemsRelToBy), helpstring("property ItemsRelatedToBy")] HRESULT ItemsRelatedToBy([in] IUnknown *pobj, [in] IMetaPropertyType *pproptype, [out, retval] IObjects * *ppobjs);
[propget, id(didItemsInvRelToBy), helpstring("property ItemsInverseRelatedToBy")] HRESULT ItemsInverseRelatedToBy([in] IUnknown *pobj, [in] IMetaPropertyType *pproptype, [out, retval] IObjects * *ppobjs);
[id(didUnreferencedItems), helpstring("method UnreferencedItems")] HRESULT UnreferencedItems([out, retval] IObjects **ppobjs);
[propget, id(didItemsByKey), helpstring("property ItemsByKey")] HRESULT ItemsByKey([in] IMetaPropertyType *pproptype, [in] IGuideDataProvider *pprovider, [in] long idLang, [in] long vt, [out, retval] IObjects * *pVal);
[propget, id(didItemWithKey), helpstring("property ItemWithKey")] HRESULT ItemWithKey(VARIANT varIndex, [out, retval] IUnknown * *ppunk);
[id(didResync), helpstring("method Resync")] HRESULT Resync();
};
[
uuid(8520EF80-1C19-4CB0-83FA-67DB59CC9AE4),
helpstring("ChannelLineups Class")
]
coclass ChannelLineups
{
[default] interface IChannelLineups;
[default, source] dispinterface IChannelLineupsEvents;
};
[
uuid(83375A19-A098-42CF-9206-EE36FE48C637),
helpstring("IObjectsNotifications Interface")
]
interface IObjectsNotifications : IUnknown
{
[id(didItemAdded), helpstring("method Notify_ItemAdded")] HRESULT Notify_ItemAdded(IUnknown *punk);
[id(didItemRemoved), helpstring("method Notify_ItemRemoved")] HRESULT Notify_ItemRemoved([in] long idObj);
[id(didItemChanged), helpstring("method Notify_ItemChanged")] HRESULT Notify_ItemChanged(IUnknown *punk);
[id(didItemsChanged), helpstring("method Notify_ItemsChanged")] HRESULT Notify_ItemsChanged();
};
[
uuid(B485447D-B180-420F-B2A5-E7BBCEA07EAD),
aggregatable,
helpstring("Objects Class")
]
coclass Objects
{
[default] interface IObjects;
};
[
object,
uuid(4B16049B-E548-4868-B303-D501340E2CB1),
dual,
helpstring("IGuideDataProvider Interface"),
pointer_default(unique)
]
interface IGuideDataProvider : IDispatch
{
[propget, id(didID), helpstring("property ID")] HRESULT ID([out, retval] long *pVal);
[propget, id(didName), helpstring("property Name")] HRESULT Name([out, retval] BSTR *pbstrName);
[propget, id(didDescription), helpstring("property Description")] HRESULT Description([out, retval] BSTR *pbstrDesc);
[propput, id(didDescription), helpstring("property Description")] HRESULT Description([in] BSTR bstrDesc);
[propget, id(didMetaProperties), helpstring("property MetaProperties")] HRESULT MetaProperties([out, retval] IMetaProperties * *pVal);
};
[
object,
uuid(CA9DE996-637C-47BF-BC10-CF956BE298EC),
dual,
helpstring("IGuideDataProviders Interface"),
pointer_default(unique)
]
interface IGuideDataProviders : IDispatch
{
[propget, id(didCount), helpstring("property Count")] HRESULT Count([out, retval] long *plCount);
[propget, id(didItem), helpstring("property Item")] HRESULT Item(VARIANT varIndex, [out, retval] IGuideDataProvider * *ppdataprovider);
[propget, id(didItemWithID), helpstring("property ItemWithID")] HRESULT ItemWithID(long id, [out, retval] IGuideDataProvider * *ppdataprovider);
[propget, id(didItemWithName), helpstring("property ItemWithName")] HRESULT ItemWithName(BSTR bstrName, [out, retval] IGuideDataProvider **ppdataprovider);
[propget, id(didItemsWithMetaProp), helpstring("property ItemsWithMetaProperty")] HRESULT ItemsWithMetaProperty(IMetaProperty *pprop, [out, retval] IGuideDataProviders * *ppdataproviders);
[propget, id(didItemsWithCond), helpstring("property ItemsWithMetaPropertyCond")] HRESULT ItemsWithMetaPropertyCond(IMetaPropertyCondition *pcond, [out, retval] IGuideDataProviders * *ppdataproviders);
[propget, id(didAddNew), helpstring("property AddNew")] HRESULT AddNew([in] BSTR bstrName, [out, retval] IGuideDataProvider * *ppdataprovider);
[propget, id(didItemsByKey), helpstring("property ItemsByKey")] HRESULT ItemsByKey([in] IMetaPropertyType *pproptype, [in] IGuideDataProvider *pprovider, [in] long idLang, [in] long vt, [out, retval] IGuideDataProviders * *ppproviders);
[propget, id(didItemWithKey), helpstring("property ItemWithKey")] HRESULT ItemWithKey(VARIANT varIndex, [out, retval] IGuideDataProvider * *ppprovider);
[id(didResync), helpstring("method Resync")] HRESULT Resync();
};
[
uuid(3CFC7A68-76E9-4F1D-8ECE-08C44F4FFC3E),
helpstring("GuideDataProvider Class")
]
coclass GuideDataProvider
{
[default] interface IGuideDataProvider;
};
[
uuid(850A646E-140B-43B0-A243-20CC6B9FA8BC),
helpstring("IGuideDataProvidersEvents Interface")
]
dispinterface IGuideDataProvidersEvents
{
properties:
methods:
[id(didItemAdded), helpstring("method ItemAdded")] HRESULT ItemAdded(IChannelLineup *pchanlineup);
[id(didItemRemoved), helpstring("method ItemRemoved")] HRESULT ItemRemoved([in] long idObj);
[id(didItemChanged), helpstring("method ItemChanged")] HRESULT ItemChanged(IChannelLineup *pchanlineup);
[id(didItemsChanged), helpstring("method ItemsChanged")] HRESULT ItemsChanged();
};
[
uuid(6E30077E-2E0B-4D4A-92B0-CDB5E5116E3B),
helpstring("GuideDataProviders Class")
]
coclass GuideDataProviders
{
[default] interface IGuideDataProviders;
[default, source] dispinterface IGuideDataProvidersEvents;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -