sever.idl
来自「运行时需要更改文件地址」· IDL 代码 · 共 47 行
IDL
47 行
// sever.idl : IDL source for sever.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (sever.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(FA7BF345-292B-11D9-B25B-00E04C390DDB),
dual,
helpstring("IactivexI Interface"),
pointer_default(unique)
]
interface IactivexI : IDispatch
{
[propget, id(1), helpstring("property total")] HRESULT total([out, retval] long *pVal);
[propput, id(1), helpstring("property total")] HRESULT total([in] long newVal);
[id(2), helpstring("method sum")] HRESULT sum(long x,long y);
[id(3), helpstring("method sim")] HRESULT sim(long x,long y);
[id(4), helpstring("method cheng")] HRESULT cheng(long x,long y);
[id(5), helpstring("method chu")] HRESULT chu(long x,long y);
};
[
uuid(FA7BF339-292B-11D9-B25B-00E04C390DDB),
version(1.0),
helpstring("sever 1.0 Type Library")
]
library SEVERLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(FA7BF346-292B-11D9-B25B-00E04C390DDB),
helpstring("activexI Class")
]
coclass activexI
{
[default] interface IactivexI;
};
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?