xmllite/tests: Fix a memory leak (Valgrind).
[wine.git] / include / rstbas.idl
blobabf1359d6523bdac5d096a8296450ffbd6f5ba3e
1 /*
2 * Copyright (C) 2009 Huw Davies
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #if 0
20 #pragma makedep install
21 #endif
24 local,
25 object,
26 uuid(0c733a7c-2a1c-11ce-ade5-00aa0044773d),
27 pointer_default(unique)
29 interface IRowset : IUnknown
31 typedef DWORD DBROWOPTIONS;
33 HRESULT AddRefRows([in] DBCOUNTITEM cRows,
34 [in, size_is(cRows)] const HROW rghRows[],
35 [out, size_is(cRows)] DBREFCOUNT rgRefCounts[],
36 [out, size_is(cRows)] DBROWSTATUS rgRowStatus[]);
38 HRESULT GetData([in] HROW hRow,
39 [in] HACCESSOR hAccessor,
40 [out] void *pData);
42 HRESULT GetNextRows([in] HCHAPTER hReserved,
43 [in] DBROWOFFSET lRowsOffset,
44 [in] DBROWCOUNT cRows,
45 [out] DBCOUNTITEM *pcRowObtained,
46 [out, size_is(,cRows)] HROW **prghRows);
48 HRESULT ReleaseRows([in] DBCOUNTITEM cRows,
49 [in, size_is(cRows)] const HROW rghRows[],
50 [in, size_is(cRows)] DBROWOPTIONS rgRowOptions[],
51 [out, size_is(cRows)] DBREFCOUNT rgRefCounts[],
52 [out, size_is(cRows)] DBROWSTATUS rgRowStatus[]);
54 HRESULT RestartPosition([in] HCHAPTER hReserved);