📄 accessmdb.idl
字号:
import "oaidl.idl";
[
object,
dual,
uuid(5BD4E89C-B2E0-49b8-A5FE-D7416233CBDC),
pointer_default(unique)
]
interface IAccessMdb : IDispatch
{
[id(1)] HRESULT Select
(
[in] BSTR bstrSQL,
[out] long * plRow,
[out] long * plCol,
[out,size_is(1,*plRow * *plCol)] VARIANT ** ppVar
);
[id(2)] HRESULT Execute
(
[in] BSTR bstrSQL
);
[id(3)] HRESULT OpenDatabaseWithDSN
(
[in] BSTR bstrDSN,
[in] BSTR bstrUserName,
[in] BSTR bstrPassword
);
[id(4)] HRESULT OpenDatabaseWithDriver
(
[in] BSTR bstrDriver,
[in] BSTR bstrServer,
[in] BSTR bstrDatabase,
[in] BSTR bstrUserName,
[in] BSTR bstrPassword
);
[id(5)] HRESULT OpenDatabaseWithConnectUDL
(
[in] BSTR bstrConnectUDL
);
[id(6)] HRESULT CloseDatabase
(
);
[id(7)] HRESULT BeginTS();
[id(8)] HRESULT CommitTS();
[id(9)] HRESULT RollbackTS();
};
[
uuid(D1B3A671-A5DD-4dfb-8D2C-85387A201C52),
version(1.0)
]
library AccessMdbTlb
{
importlib ("stdole32.tlb") ;
interface IAccessMdb;
};
// {F24FEFC8-A534-483d-9427-5EC0F137246B}
cpp_quote("DEFINE_GUID(CLSID_ACCESSMDB, ")
cpp_quote("0xf24fefc8, 0xa534, 0x483d, 0x94, 0x27, 0x5e, 0xc0, 0xf1, 0x37, 0x24, 0x6b);")
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -