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

📄 rmswitch.idl

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

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

import "oaidl.idl";
import "ocidl.idl";

typedef enum tagRM_PIO_STATE {
    RMPIO_OFF			= 0,
    RMPIO_ON			= 1
} RM_PIO_STATE;

typedef enum tagRM_PIO_TRI_STATE {
    RMPIO_LO_OFF		= 0,
    RMPIO_LO_ON			= 1,
    RMPIO_HI_Z			= 2
} RM_PIO_TRI_STATE;

	[
		object,
		uuid(119E9BC8-B144-49D2-B2CF-3682211CF8DA),
		dual,
		helpstring("IRmSwitch Interface"),
		pointer_default(unique)
	]
	interface IRmSwitch : IDispatch
	{
		[id(1), helpstring("method SetPIO")] HRESULT SetPIO([in] int iPioNum, [in] RM_PIO_STATE PioState);
		[id(2), helpstring("method GetPIO")] HRESULT GetPIO([in] int iPioNum, [out]  RM_PIO_STATE *pPioState);
	};

[
	uuid(884EE8FE-E341-4BAB-A841-EED4CAE31327),
	version(1.0),
	helpstring("RmSwitch 1.0 Type Library")
]
library RMSWITCHLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(73E8AEC5-890B-4286-ACDE-B816FC8A1CA3),
		helpstring("Switch Class")
	]
	coclass RmSwitch
	{
		[default] interface IRmSwitch;
	};
};

⌨️ 快捷键说明

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