mtaserver.idl

来自「COM+ Programming: A Practical Guide Usin」· IDL 代码 · 共 42 行

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

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

import "oaidl.idl";
import "ocidl.idl";
	
	[
		object,
		uuid(926C40AA-62D1-46DF-BC80-71ADFCFC5F6D),
		helpstring("IMyMTAServer Interface"),
		oleautomation,
		pointer_default(unique)
	]
	interface IMyMTAServer : IUnknown
	{
		[helpstring("method DoIt")] HRESULT DoIt();
	};

[
	uuid(584C0D50-8725-49FE-8556-896A57AFFEA9),
	version(1.0),
	helpstring("MTAServer 1.0 Type Library")
]
library MTASERVERLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	
	[
		uuid(AA50CDB4-298F-40B3-B012-2261926D305A),
		helpstring("MyMTAServer Class")
	]
	coclass MyMTAServer
	{
		[default] interface IMyMTAServer;
	};
};

⌨️ 快捷键说明

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