📄 sever.idl
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -