mycom2.idl
来自「这是一个数字图像处理的matlab仿真程序」· IDL 代码 · 共 33 行
IDL
33 行
// MyCom2.idl : IDL source for MyCom2.ocx (or dll)
//
import "oaidl.idl";
import "ocidl.idl";
[
uuid(F8CE5E42-1135-11d4-A324-0040F6D487D9),
helpstring("MyCom2 1.0 Type Library"),
version(1.0)
]
library MyCom2Lib
{
importlib("stdole32.tlb");
[
uuid(F8CE5E41-1135-11d4-A324-0040F6D487D9),
dual,
helpstring("IMyCom2 Dispatch Interface")
]
interface IMyCom2 : IDispatch
{
[propget, id(0), helpstring("property Value")] HRESULT Value([out, retval] long *pVal);
[propput, id(0), helpstring("property Value")] HRESULT Value([in] long newVal);
[id(1), helpstring("method Raise")] HRESULT Raise([in] long AddVal);
}
[
uuid(F8CE5E43-1135-11d4-A324-0040F6D487D9),
helpstring("MyCom2 Class")
]
coclass MyCom2
{
[default] interface IMyCom2;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?