rstscr.idl 926 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //-----------------------------------------------------------------------------
  2. // File: rstscr.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. LOCAL_INTERFACE(0c733a7e-2a1c-11ce-ade5-00aa0044773d)
  14. interface IRowsetScroll : IRowsetLocate {
  15. HRESULT GetApproximatePosition(
  16. [in] HCHAPTER hReserved,
  17. [in] DBBKMARK cbBookmark,
  18. [in, size_is(cbBookmark)] const BYTE * pBookmark,
  19. [out] DBCOUNTITEM * pulPosition,
  20. [out] DBCOUNTITEM * pcRows
  21. );
  22. HRESULT GetRowsAtRatio(
  23. [in] HWATCHREGION hReserved1,
  24. [in] HCHAPTER hReserved2,
  25. [in] DBCOUNTITEM ulNumerator,
  26. [in] DBCOUNTITEM ulDenominator,
  27. [in] DBROWCOUNT cRows,
  28. [out] DBCOUNTITEM * pcRowsObtained,
  29. [out, size_is(,cRows)] HROW ** prghRows
  30. );
  31. }