⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chapter10_freeserver.idl

📁 ATL开发指南PDF格式
💻 IDL
字号:
// Chapter10_FreeServer.idl : IDL source for Chapter10_FreeServer.dll
//

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

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

	[
	
		uuid(F7435681-6868-11D1-8012-000000000000),
	
		helpstring("IMath Interface"),
		pointer_default(unique)
	]
	interface IMath : IUnknown
	{
		[helpstring("method Add")] HRESULT Add([in] long lOp1, [in] long lOp2, [out,retval] long *plResult);
		[helpstring("method Subtract")] HRESULT Subtract([in] long lOp1, [in] long lOp2, [out,retval] long *plResult);
		[helpstring("method Multiply")] HRESULT Multiply([in] long lOp1, [in] long lOp2, [out,retval] long *plResult);
		[helpstring("method Divide")] HRESULT Divide([in] long lOp1, [in] long lOp2, [out,retval] long *plResult);
	};
[
	uuid(F7435674-6868-11D1-8012-000000000000),
	version(1.0),
	helpstring("Chapter10_FreeServer 1.0 Type Library")
]
library CHAPTER10_FREESERVERLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(F7435682-6868-11D1-8012-000000000000),
		helpstring("Math Class")
	]
	coclass Math
	{
		[default] interface IMath;
	};
};

⌨️ 快捷键说明

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