rstbas.idl
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:1k
- //-----------------------------------------------------------------------------
- // File: rstbas.idl
- //
- // Copyright: Copyright (c) Microsoft Corporation
- //
- // Contents: OLE DB interface definition
- //
- // Comments:
- //
- //-----------------------------------------------------------------------------
- #include "idlmulti.h"
- //
-
- LOCAL_INTERFACE(0c733a7c-2a1c-11ce-ade5-00aa0044773d)
-
- interface IRowset : IUnknown {
- typedef DWORD DBROWOPTIONS;
- HRESULT AddRefRows(
- [in] DBCOUNTITEM cRows,
- [in, size_is(cRows)] const HROW rghRows[],
- [out, size_is(cRows)] DBREFCOUNT rgRefCounts[],
- [out, size_is(cRows)] DBROWSTATUS rgRowStatus[]
- );
- HRESULT GetData(
- [in] HROW hRow,
- [in] HACCESSOR hAccessor,
- [out] void * pData
- );
- HRESULT GetNextRows(
- [in] HCHAPTER hReserved,
- [in] DBROWOFFSET lRowsOffset,
- [in] DBROWCOUNT cRows,
- [out] DBCOUNTITEM * pcRowsObtained,
- [out, size_is(,cRows)] HROW ** prghRows
- );
- HRESULT ReleaseRows(
- [in] DBCOUNTITEM cRows,
- [in, size_is(cRows)] const HROW rghRows[],
- [in, size_is(cRows)] DBROWOPTIONS rgRowOptions[],
- [out, size_is(cRows)] DBREFCOUNT rgRefCounts[],
- [out, size_is(cRows)] DBROWSTATUS rgRowStatus[]
- );
- HRESULT RestartPosition(
- [in] HCHAPTER hReserved
- );
- }