www.pudn.com > STBIHOST.rar > stbihost.idl


// stbihost.idl : IDL source for stbihost.exe 
// 
 
// This file will be processed by the MIDL tool to 
// produce the type library (stbihost.tlb) and marshalling code. 
 
import "oaidl.idl"; 
import "ocidl.idl"; 
 
[ 
	dual, 
	uuid(b7443200-7fc9-414c-b6e5-4a0b2dd1d390), 
	helpstring("IHostExternal Interface") 
] 
interface IHostExternal : IDispatch 
{ 
	[propget, id(1), helpstring("property FullScreen")] HRESULT FullScreen([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(1), helpstring("property FullScreen")] HRESULT FullScreen([in] VARIANT_BOOL newVal); 
	[propget, id(2), helpstring("property RemoteControlKeys")] HRESULT RemoteControlKeys([out, retval] IDispatch** ppVal); 
	[propget, id(3), helpstring("property DebugUtils")] HRESULT DebugUtils([out, retval] IDispatch** ppVal); 
#if 0	// STB_OSD_CODE 
	[propget, id(4), helpstring("property OSD")] HRESULT OSD([out, retval] IDispatch** ppVal); 
#endif 
}; 
 
[ 
	dual, 
	uuid(a040aafa-cef8-4ceb-b919-0684c978c383), 
	helpstring("IRemoteControlKeys Interface") 
] 
interface IRemoteControlKeys : IDispatch 
{ 
	[id(1), helpstring("method BeginRequest")] HRESULT BeginRequest(); 
	[id(2), helpstring("method EndRequest")] HRESULT EndRequest(); 
	[id(3), helpstring("method ReleaseRequest")] HRESULT ReleaseRequest(); 
	[propget, id(4), helpstring("property Stop")] HRESULT Stop([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(4), helpstring("property Stop")] HRESULT Stop([in] VARIANT_BOOL newVal); 
	[propget, id(5), helpstring("property Play")] HRESULT Play([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(5), helpstring("property Play")] HRESULT Play([in] VARIANT_BOOL newVal); 
	[propget, id(6), helpstring("property Previous")] HRESULT Previous([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(6), helpstring("property Previous")] HRESULT Previous([in] VARIANT_BOOL newVal); 
	[propget, id(7), helpstring("property Next")] HRESULT Next([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(7), helpstring("property Next")] HRESULT Next([in] VARIANT_BOOL newVal); 
	[propget, id(8), helpstring("property Forward")] HRESULT Forward([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(8), helpstring("property Forward")] HRESULT Forward([in] VARIANT_BOOL newVal); 
	[propget, id(9), helpstring("property Backward")] HRESULT Backward([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(9), helpstring("property Backward")] HRESULT Backward([in] VARIANT_BOOL newVal); 
	[propget, id(10), helpstring("property Pause")] HRESULT Pause([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(10), helpstring("property Pause")] HRESULT Pause([in] VARIANT_BOOL newVal); 
	[propget, id(11), helpstring("property VolumeUp")] HRESULT VolumeUp([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(11), helpstring("property VolumeUp")] HRESULT VolumeUp([in] VARIANT_BOOL newVal); 
	[propget, id(12), helpstring("property VolumeDown")] HRESULT VolumeDown([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(12), helpstring("property VolumeDown")] HRESULT VolumeDown([in] VARIANT_BOOL newVal); 
	[propget, id(13), helpstring("property Mute")] HRESULT Mute([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(13), helpstring("property Mute")] HRESULT Mute([in] VARIANT_BOOL newVal); 
	[propget, id(14), helpstring("property Menu")] HRESULT Menu([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(14), helpstring("property Menu")] HRESULT Menu([in] VARIANT_BOOL newVal); 
	[propget, id(15), helpstring("property Up")] HRESULT Up([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(15), helpstring("property Up")] HRESULT Up([in] VARIANT_BOOL newVal); 
	[propget, id(16), helpstring("property Down")] HRESULT Down([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(16), helpstring("property Down")] HRESULT Down([in] VARIANT_BOOL newVal); 
	[propget, id(17), helpstring("property Left")] HRESULT Left([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(17), helpstring("property Left")] HRESULT Left([in] VARIANT_BOOL newVal); 
	[propget, id(18), helpstring("property Right")] HRESULT Right([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(18), helpstring("property Right")] HRESULT Right([in] VARIANT_BOOL newVal); 
	[propget, id(19), helpstring("property Select")] HRESULT Select([out, retval] VARIANT_BOOL* pVal); 
	[propput, id(19), helpstring("property Select")] HRESULT Select([in] VARIANT_BOOL newVal); 
}; 
 
[ 
	dual, 
	uuid(3f9910b9-c225-41a5-83d0-3c5e52fe90f7), 
	helpstring("IDebugUtils Interface") 
] 
interface IDebugUtils : IDispatch 
{ 
	[id(1), helpstring("method MessageOut")] HRESULT MessageOut([in] BSTR newVal); 
}; 
 
 
#if 0	// STB_OSD_CODE 
[ 
	dual, 
	uuid(5bad3720-c972-43cc-a290-1f4cde92817f), 
	helpstring("IOSDWrapper Interface") 
] 
interface IOSDWrapper : IDispatch 
{ 
	[id(1), helpstring("method InitForMediaPlayer")] HRESULT InitForMediaPlayer([in] IDispatch* pVal); 
	[id(2), helpstring("method SignalOpenState")] HRESULT SignalOpenState([in] VARIANT_BOOL fOpen); 
	[id(3), helpstring("method ProvideFeedback")] HRESULT ProvideFeedback([in] long cmd, [in] long cmdResult); 
}; 
#endif 
 
 
[ 
	uuid(4a17aa9a-6e63-4d93-a06a-ebb3cdb1efa2), 
	version(1.0), 
	helpstring("stbihost 1.0 Type Library") 
] 
library STBIHOSTLib 
{ 
	importlib("stdole32.tlb"); 
	importlib("stdole2.tlb"); 
 
	interface IHostExternal; 
	interface IRemoteControlKeys; 
	interface IDebugUtils; 
#if 0	// STB_OSD_CODE 
	interface IOSDWrapper; 
#endif 
};