srcrst.idl
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:2k
- //-----------------------------------------------------------------------------
- // File: srcrst.idl
- //
- // Copyright: Copyright (c) Microsoft Corporation
- //
- // Contents: OLE DB interface definition
- //
- // Comments:
- //
- //-----------------------------------------------------------------------------
- #include "idlmulti.h"
- //
- REMOTED_INTERFACE(0c733a1e-2a1c-11ce-ade5-00aa0044773d)
- interface ISourcesRowset : IUnknown {
- typedef DWORD DBSOURCETYPE;
- enum DBSOURCETYPEENUM {
- DBSOURCETYPE_DATASOURCE = 1,
- DBSOURCETYPE_ENUMERATOR = 2,
- };
- // VERSION 2.0
- cpp_quote("//@@@+ V2.0")
- cpp_quote("#if( OLEDBVER >= 0x0200 )")
- enum DBSOURCETYPEENUM20 {
- DBSOURCETYPE_DATASOURCE_TDP = 1,
- DBSOURCETYPE_DATASOURCE_MDP = 3,
- };
- cpp_quote("#endif // OLEDBVER >= 0x0200")
- cpp_quote("//@@@- V2.0")
- // VERSION 2.5
- cpp_quote("//@@@+ V2.5")
- cpp_quote("#if( OLEDBVER >= 0x0250 )")
- enum DBSOURCETYPEENUM25 {
- DBSOURCETYPE_BINDER = 4,
- };
- cpp_quote("#endif // OLEDBVER >= 0x0250")
- cpp_quote("//@@@- V2.5")
- [local]
- HRESULT GetSourcesRowset(
- [in] IUnknown * pUnkOuter,
- [in] REFIID riid,
- [in] ULONG cPropertySets,
- [in, out, unique, size_is(cPropertySets)] DBPROPSET rgProperties[],
- [out, iid_is(riid)] IUnknown ** ppSourcesRowset
- );
- [call_as(GetSourcesRowset)]
- HRESULT RemoteGetSourcesRowset(
- [in] IUnknown * pUnkOuter,
- [in] REFIID riid,
- [in] ULONG cPropertySets,
- [in, unique, size_is(cPropertySets)] DBPROPSET * rgProperties,
- [out, iid_is(riid)] IUnknown ** ppSourcesRowset,
- [in] ULONG cTotalProps,
- [out, size_is(cTotalProps)] DBPROPSTATUS * rgPropStatus,
- [out] IErrorInfo ** ppErrorInfoRem
- );
- }