msg_atl.idl

来自「EVC4下创建和使用ATL控件的例子和讲解」· IDL 代码 · 共 40 行

IDL
40
字号
// Msg_ATL.idl : IDL source for Msg_ATL.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(7E9C8D77-2271-47AC-8D30-A4E7A8EBAE3E),
		dual,
		helpstring("IProcess Interface"),
		pointer_default(unique)
	]
	interface IProcess : IDispatch
	{
		[id(1), helpstring("method Show")] HRESULT Show();
	};

[
	uuid(B82ADD23-2C7C-4AF3-962C-4D4DDBD78E8D),
	version(1.0),
	helpstring("Msg_ATL 1.0 Type Library")
]
library MSG_ATLLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(8FB98E70-926E-4C99-99D3-934C78370FB7),
		helpstring("Process Class")
	]
	coclass Process
	{
		[default] interface IProcess;
	};
};

⌨️ 快捷键说明

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