JD2022-TU1/main/extern/Camcam/PlatformSDK/Include/inddef.idl

63 lines
1.5 KiB
Text

//-----------------------------------------------------------------------------
// 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
);
}