📄 dcomserver.idl
字号:
// DcomServer.idl : IDL source for DcomServer.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (DcomServer.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(EC10F301-83DF-4A56-AEF0-81DB5BDB1127),
dual,
helpstring("IAdoProcess Interface"),
pointer_default(unique)
]
interface IAdoProcess : IDispatch
{
[id(1), helpstring("method InitData")] HRESULT InitData([in]BSTR sServer, [in]BSTR sDataBase, [in]BSTR sUser, [in]BSTR sPwd);
[id(2), helpstring("method Connect")] HRESULT Connect();
[id(3), helpstring("method ExecuteSQL")] HRESULT ExecuteSQL([in]BSTR bstrSQL);
[id(4), helpstring("method GetRecordCount")] HRESULT GetRecordCount([in]BSTR bstrSQL, [out]DWORD *nCount);
[id(5), helpstring("method ExitConnect")] HRESULT ExitConnect();
[id(6), helpstring("method GetRecordDataChar")] HRESULT GetRecordDataChar([in]BSTR bsSql, [in]BSTR sItemName, [in]DWORD nNum,[out]VARIANT *pData);
[id(7), helpstring("method GetRecordDataDWORD")] HRESULT GetRecordDataDWORD([in]BSTR bsSql, [in]BSTR sItemName, [in]DWORD nNum,[out]VARIANT *pData);
};
[
uuid(3591971B-2FDB-42C1-A2A7-BAD603819199),
version(1.0),
helpstring("DcomServer 1.0 Type Library")
]
library DCOMSERVERLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(94FACC3E-12C1-466D-BB59-40A401CE47C6),
helpstring("AdoProcess Class")
]
coclass AdoProcess
{
[default] interface IAdoProcess;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -