inddef.idl
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:2k
- //-----------------------------------------------------------------------------
- // File: inddef.idl
- //
- // Copyright: Copyright (c) Microsoft Corporation
- //
- // Contents: OLE DB interface definition
- //
- // Comments:
- //
- //-----------------------------------------------------------------------------
- #include "idlmulti.h"
- //
- REMOTED_INTERFACE(0c733a68-2a1c-11ce-ade5-00aa0044773d)
- interface IIndexDefinition : IUnknown {
- [local]
- HRESULT CreateIndex(
- [in] DBID * pTableID,
- [in] DBID * pIndexID,
- [in] DBORDINAL cIndexColumnDescs,
- [in, size_is((ULONG)cIndexColumnDescs)] const DBINDEXCOLUMNDESC rgIndexColumnDescs[],
- [in] ULONG cPropertySets,
- [in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[],
- [out] DBID ** ppIndexID
- );
- #ifndef NO_REMOTE
- [call_as(CreateIndex)]
- HRESULT RemoteCreateIndex(
- [in] DBID * pTableID,
- [in, unique] DBID * pIndexID,
- [in] DBORDINAL cIndexColumnDescs,
- [in, size_is((ULONG)cIndexColumnDescs)] const DBINDEXCOLUMNDESC *rgIndexColumnDescs,
- [in] ULONG cPropertySets,
- [in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
- [in, out, unique] DBID ** ppIndexID,
- [in] ULONG cTotalProps,
- [out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
- [out] IErrorInfo ** ppErrorInfoRem
- );
- #endif
- [local]
- HRESULT DropIndex(
- [in, unique] DBID * pTableID,
- [in, unique] DBID * pIndexID
- );
- [call_as(DropIndex)]
- HRESULT RemoteDropIndex(
- [in, unique] DBID * pTableID,
- [in, unique] DBID * pIndexID,
- [out] IErrorInfo ** ppErrorInfoRem
- );
- }