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

模拟服务器

开发平台:

C/C++

  1. //-----------------------------------------------------------------------------
  2. // File: rstbas.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.     
  14.     LOCAL_INTERFACE(0c733a7c-2a1c-11ce-ade5-00aa0044773d)
  15.     
  16. interface IRowset : IUnknown {
  17. typedef DWORD DBROWOPTIONS;
  18. HRESULT AddRefRows(
  19. [in] DBCOUNTITEM cRows,
  20. [in, size_is(cRows)] const HROW rghRows[],
  21. [out, size_is(cRows)] DBREFCOUNT rgRefCounts[],
  22. [out, size_is(cRows)] DBROWSTATUS rgRowStatus[]
  23. );
  24. HRESULT GetData(
  25. [in] HROW hRow,
  26. [in] HACCESSOR hAccessor,
  27. [out] void * pData
  28. );
  29. HRESULT GetNextRows(
  30. [in] HCHAPTER hReserved,
  31. [in] DBROWOFFSET lRowsOffset,
  32. [in] DBROWCOUNT cRows,
  33. [out] DBCOUNTITEM * pcRowsObtained,
  34. [out, size_is(,cRows)] HROW ** prghRows
  35. );
  36. HRESULT ReleaseRows(
  37. [in] DBCOUNTITEM cRows,
  38. [in, size_is(cRows)] const HROW rghRows[],
  39. [in, size_is(cRows)] DBROWOPTIONS rgRowOptions[],
  40. [out, size_is(cRows)] DBREFCOUNT rgRefCounts[],
  41. [out, size_is(cRows)] DBROWSTATUS rgRowStatus[]
  42. );
  43. HRESULT RestartPosition(
  44. [in] HCHAPTER hReserved
  45. );
  46. }