📄 spacedeploy.idl
字号:
// SpaceDeploy.idl : IDL source for SpaceDeploy.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (SpaceDeploy.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
uuid(23577D47-1236-4FA7-AAA1-4804C17F708D),
version(1.0),
helpstring("SpaceDeploy 1.0 Type Library")
]
library SPACEDEPLOYLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(06A793E1-E4BF-425F-AE32-B4AE90C1769C),
helpstring("StuffManage Class")
]
coclass StuffManage
{
[default] interface IStuffManage;
};
};
[
object,
uuid(C69199D9-5253-496D-B9AC-BA2193448B9B),
dual,
helpstring("IStuffManage Interface"),
pointer_default(unique)
]
interface IStuffManage : IDispatch
{
import "msado15.idl";
//连接数据库
[id(2), helpstring("method ConnectDatabase")] HRESULT ConnectDatabase(LPCTSTR strConnect);
[id(3), helpstring("method ShowMsg")] HRESULT ShowMsg();
//执行查询,将结果返回
[id(1), helpstring("method SelectStuff")] HRESULT SelectStuff([out,retval]_Recordset **pRecord);
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -