📄 mrpcom.idl
字号:
// mrpcom.idl : IDL source for mrpcom.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (mrpcom.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(6B6F4270-9521-11D4-90C7-5254AB1AFA1F),
dual,
helpstring("IMRPCalc Interface"),
pointer_default(unique)
]
interface IMRPCalc : IDispatch
{
[id(1), helpstring("method AddOrder")] HRESULT AddOrder([in]long argOrderID);
[propget, id(2), helpstring("property OprtOK")] HRESULT OprtOK([out, retval] BOOL *pVal);
[id(3), helpstring("method ConnectDB")] HRESULT ConnectDB();
[id(4), helpstring("method ReleaseDB")] HRESULT ReleaseDB();
[id(5), helpstring("method MRP")] HRESULT MRP();
};
[
uuid(6B6F4263-9521-11D4-90C7-5254AB1AFA1F),
version(1.0),
helpstring("mrpcom 1.0 Type Library")
]
library MRPCOMLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(6B6F4271-9521-11D4-90C7-5254AB1AFA1F),
helpstring("_IMRPCalcEvents Interface")
]
dispinterface _IMRPCalcEvents
{
properties:
methods:
};
[
uuid(2D01D0EE-8A1F-11D4-90C7-5254AB1AFA1F),
helpstring("MRPCalc Class")
]
coclass MRPCalc
{
[default] interface IMRPCalc;
[default, source] dispinterface _IMRPCalcEvents;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -