📄 convertnum.idl
字号:
// ConvertNum.idl : IDL source for ConvertNum.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (ConvertNum.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(16C3DA87-A3B5-45E5-8FE3-5830576B3921),
dual,
helpstring("IConvert Interface"),
pointer_default(unique)
]
interface IConvert : IDispatch
{
[id(1), helpstring("method IsValidate")] HRESULT IsValidate([in] VARIANT varStr, [in]long lBase, [in]long lLength);
[id(2), helpstring("method Convert")] HRESULT Convert([in] VARIANT varStr, [in] long lOldBase, [in] long lNewBase, [in] long lLength, [out,retval] VARIANT* pvarResult);
};
[
uuid(BE781B5E-6486-4F78-BB5A-B1629E4CD975),
version(1.0),
helpstring("ConvertNum 1.0 Type Library")
]
library CONVERTNUMLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(412D7F8C-F01E-4008-B0DB-4615692E198F),
helpstring("Convert Class")
]
coclass Convert
{
[default] interface IConvert;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -