inddef.idl
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:2k
源码类别:

模拟服务器

开发平台:

C/C++

  1. //-----------------------------------------------------------------------------
  2. // File: inddef.idl
  3. //
  4. // Copyright: Copyright (c) Microsoft Corporation          
  5. //
  6. // Contents:  OLE DB interface definition
  7. //
  8. // Comments: 
  9. //
  10. //-----------------------------------------------------------------------------
  11. #include "idlmulti.h"
  12. //
  13.     REMOTED_INTERFACE(0c733a68-2a1c-11ce-ade5-00aa0044773d)
  14. interface IIndexDefinition : IUnknown {
  15. [local]
  16. HRESULT CreateIndex(
  17. [in] DBID * pTableID,
  18. [in] DBID * pIndexID,
  19. [in] DBORDINAL cIndexColumnDescs,
  20. [in, size_is((ULONG)cIndexColumnDescs)] const DBINDEXCOLUMNDESC rgIndexColumnDescs[],
  21. [in] ULONG cPropertySets,
  22. [in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[],
  23. [out] DBID ** ppIndexID
  24. );
  25. #ifndef NO_REMOTE
  26. [call_as(CreateIndex)]
  27. HRESULT RemoteCreateIndex(
  28. [in] DBID * pTableID,
  29. [in, unique] DBID * pIndexID,
  30. [in] DBORDINAL cIndexColumnDescs,
  31. [in, size_is((ULONG)cIndexColumnDescs)] const DBINDEXCOLUMNDESC *rgIndexColumnDescs,
  32. [in] ULONG cPropertySets,
  33. [in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
  34. [in, out, unique] DBID ** ppIndexID,
  35. [in] ULONG cTotalProps,
  36. [out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
  37. [out] IErrorInfo ** ppErrorInfoRem
  38. );
  39. #endif
  40. [local]
  41. HRESULT DropIndex(
  42. [in, unique] DBID * pTableID,
  43. [in, unique] DBID * pIndexID
  44. );
  45. [call_as(DropIndex)]
  46. HRESULT RemoteDropIndex(
  47. [in, unique] DBID * pTableID,
  48. [in, unique] DBID * pIndexID,
  49. [out] IErrorInfo ** ppErrorInfoRem
  50. );
  51. }