tnaserver.idl

来自「【内容简介】 本书由一流的权威撰写」· IDL 代码 · 共 42 行

IDL
42
字号
// TNAServer.idl : IDL source for TNAServer.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
	
	[
		object,
		uuid(0552362E-0FF9-4406-94DB-6DA9094FCDE6),
		helpstring("IMyTNAServer Interface"),
		oleautomation,
		pointer_default(unique)
	]
	interface IMyTNAServer : IUnknown
	{
		[helpstring("method DoIt")] HRESULT DoIt();
	};

[
	uuid(BA06E206-AD33-4D3A-8B86-94F3199DFE56),
	version(1.0),
	helpstring("TNAServer 1.0 Type Library")
]
library TNASERVERLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	
	[
		uuid(1AA68EA4-8A78-4A49-9159-94B0740FEE4E),
		helpstring("MyTNAServer Class")
	]
	coclass MyTNAServer
	{
		[default] interface IMyTNAServer;
	};
};

⌨️ 快捷键说明

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