3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Copyright (C) 2009 Huw Davies
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync *
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is free software; you can redistribute it and/or
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * modify it under the terms of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License as published by the Free Software Foundation; either
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * version 2.1 of the License, or (at your option) any later version.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync *
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is distributed in the hope that it will be useful,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Lesser General Public License for more details.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync *
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * You should have received a copy of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License along with this library; if not, write to the Free Software
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync/*
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * a choice of LGPL license versions is made available with the language indicating
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * of the LGPL is applied is otherwise unspecified.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync */
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync[
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync local,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync object,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync uuid(0c733a7d-2a1c-11ce-ade5-00aa0044773d),
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync pointer_default(unique)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncinterface IRowsetLocate : IRowset
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync typedef DWORD DBCOMPARE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync enum DBCOMPAREENUM
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync {
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DBCOMPARE_LT,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DBCOMPARE_EQ,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DBCOMPARE_GT,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DBCOMPARE_NE,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DBCOMPARE_NOTCOMPARABLE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync };
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Compare([in] HCHAPTER hReserved,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in] DBBKMARK cbBookmark1,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in, size_is(cbBookmark1)] const BYTE *pBookmark1,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in] DBBKMARK cbBookmark2,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in, size_is(cbBookmark2)] const BYTE *pBookmark2,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [out] DBCOMPARE *pComparison);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT GetRowsAt([in] HWATCHREGION hReserved1,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in] HCHAPTER hReserved2,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in] DBBKMARK cbBookmark,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in, size_is(cbBookmark)] const BYTE *pBookmark,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in] DBROWOFFSET lRowsOffset,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in] DBROWCOUNT cRows,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [out] DBCOUNTITEM *pcRowsObtained,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [out, size_is(,cRows)] HROW **prghRows);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT GetRowsByBookmark([in] HCHAPTER hReserved,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in] DBCOUNTITEM cRows,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in, size_is(cRows)] const DBBKMARK rgcbBookmarks[],
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in, size_is(cRows)] const BYTE *rgpBookmarks[],
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [out, size_is(cRows)] HROW rghRows[],
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [out, size_is(cRows)] DBROWSTATUS rgRowStatus[]);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HRESULT Hash([in] HCHAPTER hReserved,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in] DBBKMARK cBookmarks,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in, size_is(cBookmarks)] const DBBKMARK rgcbBookmarks[],
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [in, size_is(cBookmarks)] const BYTE *rgpBookmarks[],
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [out, size_is(cBookmarks)] DBHASHVALUE rgHashedValues[],
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [out, size_is(cBookmarks)] DBROWSTATUS rgBookmarkStatus[]);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync}