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

模拟服务器

开发平台:

C/C++

  1. //-----------------------------------------------------------------------------
  2. // File: dbprop.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(0c733a8a-2a1c-11ce-ade5-00aa0044773d)
  14. interface IDBProperties : IUnknown {
  15. [local]
  16. HRESULT GetProperties(
  17. [in] ULONG cPropertyIDSets,
  18. [in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
  19. [in, out] ULONG * pcPropertySets,
  20. [out, size_is(,*pcPropertySets)] DBPROPSET ** prgPropertySets
  21. );
  22. [call_as(GetProperties)]
  23. HRESULT RemoteGetProperties(
  24. [in] ULONG cPropertyIDSets,
  25. [in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
  26. [in, out] ULONG * pcPropertySets,
  27. [out, size_is(,*pcPropertySets)] DBPROPSET ** prgPropertySets,
  28. [out] IErrorInfo ** ppErrorInfoRem
  29. );
  30. [local]
  31. HRESULT GetPropertyInfo(
  32. [in] ULONG cPropertyIDSets,
  33. [in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
  34. [in, out] ULONG * pcPropertyInfoSets,
  35. [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET ** prgPropertyInfoSets,
  36. [out] OLECHAR ** ppDescBuffer
  37. );
  38. [call_as(GetPropertyInfo)]
  39. HRESULT RemoteGetPropertyInfo(
  40. [in] ULONG cPropertyIDSets,
  41. [in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET * rgPropertyIDSets,
  42. [in, out] ULONG * pcPropertyInfoSets,
  43. [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET ** prgPropertyInfoSets,
  44. [in, out] ULONG * pcOffsets,
  45. [out, size_is(,*pcOffsets)] DBBYTEOFFSET ** prgDescOffsets,
  46. [in, out] ULONG * pcbDescBuffer,
  47. [in, out, unique, size_is(,*pcbDescBuffer)] OLECHAR ** ppDescBuffer,
  48. [out] IErrorInfo ** ppErrorInfoRem
  49. );
  50. [local]
  51. HRESULT SetProperties(
  52. [in] ULONG cPropertySets,
  53. [in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[]
  54. );
  55. [call_as(SetProperties)]
  56. HRESULT RemoteSetProperties(
  57. [in] ULONG cPropertySets,
  58. [in, unique, size_is(cPropertySets)] DBPROPSET * rgPropertySets,
  59. [in] ULONG cTotalProps,
  60. [out, size_is(cTotalProps)] DBPROPSTATUS * rgPropStatus,
  61. [out] IErrorInfo ** ppErrorInfoRem
  62. );
  63. }