//-----------------------------------------------------------------------------
// File:			readdt.idl
//
// Copyright:		Copyright (c) Microsoft Corporation          
//
// Contents: 		OLE DB interface definition
//
// Comments: 		
//
//-----------------------------------------------------------------------------

#include "idlmulti.h"
//  
    
#if( OLEDBVER >= 0x0200 )    
    REMOTED_INTERFACE(0c733a6a-2a1c-11ce-ade5-00aa0044773d)
#else
    LOCAL_INTERFACE(0c733a6a-2a1c-11ce-ade5-00aa0044773d)
#endif
    
interface IReadData : IUnknown {

	HRESULT ReadData(
		[in] HCHAPTER hChapter,
		[in] DBBKMARK cbBookmark,
		[in, size_is((ULONG)cbBookmark)] const BYTE * pBookmark,
		[in] DBROWOFFSET lRowsOffset,
		[in] HACCESSOR hAccessor,
		[in] DBROWCOUNT cRows,
		[out] DBCOUNTITEM * pcRowsObtained,
		[in, out] BYTE ** ppFixedData,
		[in, out] DBLENGTH * pcbVariableTotal,
		[in, out] BYTE ** ppVariableData
	);

	HRESULT ReleaseChapter(
		[in] HCHAPTER hChapter
	);

}
