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

📄 listener.idl

📁 【内容简介】 本书由一流的权威撰写
💻 IDL
字号:
// Listener.idl : IDL source for Listener.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
	
	[
		object,
		uuid(B060103C-4F04-4D6C-816B-71D2C8B779F9),
		dual,
		helpstring("IMyListener Interface"),
		pointer_default(unique)
	]
	interface IMyListener : IDispatch
	{
		[id(1), helpstring("method Listen")] HRESULT Listen();
		[id(2), helpstring("method Send")] HRESULT Send();
	};

[
	uuid(2ADF97F9-47F0-428D-B319-626CF9754937),
	version(1.0),
	helpstring("Listener 1.0 Type Library")
]
library LISTENERLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	
	[
		uuid(E99A63C7-36A1-41DD-BF3E-E8D493995C31),
		helpstring("MyListener Class")
	]
	coclass MyListener
	{
		[default] interface IMyListener;
	};
};

⌨️ 快捷键说明

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