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

模拟服务器

开发平台:

C/C++

  1. //-----------------------------------------------------------------------------
  2. // File: colrst.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(0c733a10-2a1c-11ce-ade5-00aa0044773d)
  14. interface IColumnsRowset : IUnknown {
  15. [local]
  16. HRESULT GetAvailableColumns(
  17. [in, out] DBORDINAL * pcOptColumns,
  18. [out, size_is(,(ULONG)*pcOptColumns)] DBID ** prgOptColumns
  19. );
  20. #ifndef NO_REMOTE
  21. [call_as(GetAvailableColumns)]
  22. HRESULT RemoteGetAvailableColumns(
  23. [in, out] DBORDINAL * pcOptColumns,
  24. [out, size_is(,(ULONG)*pcOptColumns)] DBID ** prgOptColumns,
  25. [out] IErrorInfo ** ppErrorInfoRem
  26. );
  27. #endif
  28. [local]
  29. HRESULT GetColumnsRowset(
  30. [in] IUnknown * pUnkOuter,
  31. [in] DBORDINAL cOptColumns,
  32. [in, size_is((ULONG)cOptColumns)] const DBID rgOptColumns[],
  33. [in] REFIID riid,
  34. [in] ULONG cPropertySets,
  35. [in, out, size_is((ULONG)cPropertySets)] DBPROPSET rgPropertySets[],
  36. [out, iid_is(riid)] IUnknown ** ppColRowset
  37. );
  38. #ifndef NO_REMOTE
  39. [call_as(GetColumnsRowset)]
  40. HRESULT RemoteGetColumnsRowset(
  41. [in] IUnknown * pUnkOuter,
  42. [in] DBORDINAL cOptColumns,
  43. [in, unique, size_is((ULONG)cOptColumns)] const DBID * rgOptColumns,
  44. [in] REFIID riid,
  45. [in] ULONG cPropertySets,
  46. [in, unique, size_is((ULONG)cPropertySets)] DBPROPSET * rgPropertySets,
  47. [out, iid_is(riid)] IUnknown ** ppColRowset,
  48. [in] ULONG cTotalProps,
  49. [out, size_is((ULONG)cTotalProps)] DBPROPSTATUS * rgPropStatus,
  50. [out] IErrorInfo ** ppErrorInfoRem
  51. );
  52. #endif
  53. }