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

📄 simple6.idl

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

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

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(0960E2C4-C717-4CFF-87B9-F042B4A92B45),
		dual,
		helpstring("IDispSimple Interface"),
		pointer_default(unique)
	]
	interface IDispSimple : IDispatch
	{
		[id(1), helpstring("method Add")] HRESULT Add([in] VARIANT v1, [in] VARIANT v2, [out, retval] VARIANT * pVal);
		[id(2), helpstring("method Upper")] HRESULT Upper([in] BSTR str, [out,retval] BSTR * pVal);
	};

[
	uuid(7076E07D-A9AE-4085-8441-6E4A3E652D73),
	version(1.0),
	helpstring("Simple6 1.0 Type Library")
]
library SIMPLE6Lib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(B7D101C2-1D9E-4CBC-8F2C-DC3DB7A1BC1C),
		helpstring("DispSimple Class")
	]
	coclass DispSimple
	{
		[default] interface IDispSimple;
	};
};

⌨️ 快捷键说明

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