subscriber.idl

来自「中间件编写示例 COM与.NET组件服务」· IDL 代码 · 共 29 行

IDL
29
字号
// Subscriber.idl : IDL source for Subscriber.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
[
	uuid(B12845AB-10F7-4970-B919-1BE13DF9F8DC),
	version(1.0),
	helpstring("Subscriber 1.0 Type Library")
]
library SUBSCRIBERLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");
	importlib("..\\eventclass\\eventclass.tlb");

	[
		uuid(DA4D9E5A-04F2-4695-8CEA-7AD465B7BF40),
		helpstring("MySubscriber Class")
	]
	coclass MySubscriber
	{
		[default] interface IMyEvent;
	};
};

⌨️ 快捷键说明

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