unattserver.idl

来自「Visual_C++[1].NET_Bible1 Visual_C++宝典书中」· IDL 代码 · 共 38 行

IDL
38
字号
// UnattServer.idl : IDL source for UnattServer
//

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

import "oaidl.idl";
import "ocidl.idl";

[
	object,
	uuid(64BC9F8A-1CAB-46DF-A1D5-1E808D7D6997),
	dual,
	nonextensible,
	helpstring("IFoo Interface"),
	pointer_default(unique)
]
interface IFoo : IDispatch{
	[id(1), helpstring("method Something")] HRESULT Something(void);
};
[
	uuid(C9F01851-4004-4650-9C51-CD8043DD77E5),
	version(1.0),
	helpstring("UnattServer 1.0 Type Library")
]
library UnattServerLib
{
	importlib("stdole2.tlb");
	[
		uuid(491D7C63-2B81-4CAD-B851-F97C469D950F),
		helpstring("Foo Class")
	]
	coclass Foo
	{
		[default] interface IFoo;
	};
};

⌨️ 快捷键说明

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