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

📄 dualserver.idl

📁 ATL开发指南PDF格式
💻 IDL
字号:
//
// DualServer.IDL
//

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

[
   object,
   uuid(D6F16BC1-4B83-11d1-883A-444553540000),
   dual,
   helpstring("IMath Dual Interface"),
   pointer_default(unique)
]
interface IMath : IDispatch
{
   [id(1)] HRESULT Add( [in] long lOp1, [in]long lOp2, [out,retval] long* plResult );
   [id(2)] HRESULT Subtract( [in]long lOp1, [in]long lOp2, [out,retval] long* plResult );
   [id(3)] HRESULT Multiply( [in]long lOp1, [in]long lOp2, [out,retval] long* plResult );
   [id(4)] HRESULT Divide( [in]long lOp1, [in]long lOp2, [out,retval] long* plResult );
}

[
	uuid(D6F16BC2-4B83-11d1-883A-444553540000),
	version(1.0),
	helpstring("Chapter6_DualServer 1.0 Type Library")
]
library DualServerLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(D6F16BC4-4B83-11d1-883A-444553540000),
		helpstring("Dual Math Class")
	]
	coclass Math
	{
		[default] interface IMath;
	};
};

⌨️ 快捷键说明

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