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

📄 simple15.idl

📁 Thinkinc++English 电子书籍,英文版
💻 IDL
字号:
// Simple15.idl : IDL source for Simple15.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(3458B952-4337-4EE1-BA66-985E62F72B29),
		dual,
		helpstring("IDispConnect Interface"),
		pointer_default(unique)
	]
	interface IDispConnect : IDispatch
	{
		[id(1), helpstring("method Add")] HRESULT Add([in] long n1, [in] long n2);
	};

[
	uuid(5D2722B4-6BB2-45A1-B2E3-A3E846271352),
	version(1.0),
	helpstring("Simple15 1.0 Type Library")
]
library SIMPLE15Lib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(59C830A7-D235-401A-BB2B-D4170E4AC250),
		helpstring("_IDispConnectEvents Interface")
	]
	dispinterface _IDispConnectEvents
	{
		properties:
		methods:
		[id(1), helpstring("method Result")] HRESULT Result([in] long nVal);
	};

	[
		uuid(AFDE97FB-EA5A-4733-8E64-952661DE51DE),
		helpstring("DispConnect Class")
	]
	coclass DispConnect
	{
		[default] interface IDispConnect;
		[default, source] dispinterface _IDispConnectEvents;
	};
};

⌨️ 快捷键说明

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