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

📄 ns2000tv.idl

📁 神龙卡 SDK_84xx_DShow_145_02.zip 这个是 windows 上二个是linux
💻 IDL
字号:
// NS2000TV.idl : IDL source for NS2000TV.dll
//

// This file will be processed by the MIDL tool to
// produce the type library (NS2000TV.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";
#include "olectl.h"
	
typedef enum tagRM_TV_STANDARD {
    RMTV_UNKNOWN			= 0,
    RMTV_NTSC				= 1,
    RMTV_NTSC_PEDESTAL		= 3,
	RMTV_PAL				= 2,
	RMTV_480P				= 4
} RM_TV_STANDARD;

typedef enum tagRM_TV_OUTPUT_MODE {
    RMTV_NONE				= 0,
    RMTV_COMPOSITE_SVIDEO	= 1,
	RMTV_RGB				= 2,
	RMTV_YUV				= 3
} RM_TV_OUTPUT_MODE;

typedef enum tagRM_TV_SCART {
    RMTV_SCART_DISABLE		= 0,
    RMTV_SCART_4x3			= 1,
    RMTV_SCART_16x9			= 2
} RM_TV_SCART;

	[
		object,
		uuid(26276C8C-FB8F-11D4-9E5F-0090272CFCC9),
		dual,
		helpstring("REALmagic TV Settings Interface"),
		pointer_default(unique)
	]
	interface IRmTvSet : IDispatch
	{
		[propget, id(1), helpstring("property TvStandard")] HRESULT TvStandard([out, retval] RM_TV_STANDARD *pVal);
		[propput, id(1), helpstring("property TvStandard")] HRESULT TvStandard([in] RM_TV_STANDARD newVal);
		[propget, id(2), helpstring("property TvOutputMode")] HRESULT TvOutputMode([out, retval] RM_TV_OUTPUT_MODE *pVal);
		[propput, id(2), helpstring("property TvOutputMode")] HRESULT TvOutputMode([in] RM_TV_OUTPUT_MODE newVal);
		[propget, id(3), helpstring("property TvScart")] HRESULT TvScart([out, retval] RM_TV_SCART *pVal);
		[propput, id(3), helpstring("property TvScart")] HRESULT TvScart([in] RM_TV_SCART newVal);
		[propget, id(4), helpstring("property TvVerticalPosition")] HRESULT TvVerticalPosition([out, retval] long *pVal);
		[propput, id(4), helpstring("property TvVerticalPosition")] HRESULT TvVerticalPosition([in] long newVal);
		[propget, id(5), helpstring("property TvHorizontalPosition")] HRESULT TvHorizontalPosition([out, retval] long *pVal);
		[propput, id(5), helpstring("property TvHorizontalPosition")] HRESULT TvHorizontalPosition([in] long newVal);
		[propget, id(6), helpstring("property TvHeight")] HRESULT TvHeight([out, retval] long *pVal);
		[propput, id(6), helpstring("property TvHeight")] HRESULT TvHeight([in] long newVal);
		[propget, id(7), helpstring("property TvWidth")] HRESULT TvWidth([out, retval] long *pVal);
		[propput, id(7), helpstring("property TvWidth")] HRESULT TvWidth([in] long newVal);
		[propget, id(8), helpstring("property TvBrightness")] HRESULT TvBrightness([out, retval] short *pVal);
		[propput, id(8), helpstring("property TvBrightness")] HRESULT TvBrightness([in] short newVal);
		[propget, id(9), helpstring("property TvContrast")] HRESULT TvContrast([out, retval] short *pVal);
		[propput, id(9), helpstring("property TvContrast")] HRESULT TvContrast([in] short newVal);
		[propget, id(10), helpstring("property TvSaturation")] HRESULT TvSaturation([out, retval] short *pVal);
		[propput, id(10), helpstring("property TvSaturation")] HRESULT TvSaturation([in] short newVal);
		[propget, id(11), helpstring("property TvSharpness")] HRESULT TvSharpness([out, retval] short *pVal);
		[propput, id(11), helpstring("property TvSharpness")] HRESULT TvSharpness([in] short newVal);
		[propget, id(12), helpstring("property TvFlicker")] HRESULT TvFlicker([out, retval] short *pVal);
		[propput, id(12), helpstring("property TvFlicker")] HRESULT TvFlicker([in] short newVal);
		[id(13), helpstring("method TvReset")] HRESULT TvReset();
		[id(14), helpstring("method ApplyToStartup")] HRESULT ApplyToStartup();
	};

[
	uuid(26276C80-FB8F-11D4-9E5F-0090272CFCC9),
	version(1.0),
	helpstring("NetStream 2000 TV 1.0 Type Library")
]
library NS2000TVLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(26276C8E-FB8F-11D4-9E5F-0090272CFCC9),
		helpstring("_IRmTvSetEvents Interface")
	]
	dispinterface _IRmTvSetEvents
	{
		properties:
		methods:
	};

	[
		uuid(26276C8D-FB8F-11D4-9E5F-0090272CFCC9),
		helpstring("RmTvSet Class")
	]
	coclass RmTvSet
	{
		[default] interface IRmTvSet;
		[default, source] dispinterface _IRmTvSetEvents;
	};

	[
		uuid(8207772F-FB80-11D4-9E5F-0090272CFCC9),
		helpstring("TvPropertyPage Class")
	]
	coclass TvPropertyPage
	{
		interface IUnknown;
	};
};

⌨️ 快捷键说明

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