📄 chapter10_aptserver.idl
字号:
// Chapter10_AptServer.idl : IDL source for Chapter10_AptServer.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (Chapter10_AptServer.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
uuid(55219411-6956-11D1-8014-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(55219404-6956-11D1-8014-000000000000),
version(1.0),
helpstring("Chapter10_AptServer 1.0 Type Library")
]
library CHAPTER10_APTSERVERLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(55219412-6956-11D1-8014-000000000000),
helpstring("Math Class")
]
coclass Math
{
[default] interface IMath;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -