📄 simple9.idl
字号:
// Simple9.idl : IDL source for Simple9.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (Simple9.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(39660E3A-4BD0-4894-A65E-3CF09DA4B626),
dual,
helpstring("ISimpleErr Interface"),
pointer_default(unique)
]
interface ISimpleErr : IDispatch
{
[id(1), helpstring("method Div1")] HRESULT Div1([in] long n1, [in] long n2, [out, retval] long * pResult);
[id(2), helpstring("method Div2")] HRESULT Div2([in] long n1, [in] long n2, [out, retval] long * pResult);
[id(3), helpstring("method Div3")] HRESULT Div3([in] long n1, [in] long n2, [out, retval] long * pResult);
};
[
uuid(04CAB502-F193-4384-8214-9C05E3D0482A),
version(1.0),
helpstring("Simple9 1.0 Type Library")
]
library SIMPLE9Lib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(F113D12F-F934-497A-BFF1-ED6F2ED5A755),
helpstring("SimpleErr Class")
]
coclass SimpleErr
{
[default] interface ISimpleErr;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -