rasapi32: Update spec file.
[wine/zf.git] / include / rstupd.idl
blobc823658edba19638afc691b37aed310b6f1cca0d
1 /*
2 * Copyright (C) 2020 Alistair Leslie-Hughes
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
18 #if 0
19 #pragma makedep install
20 #endif
23 local,
24 object,
25 uuid(0c733a6d-2a1c-11ce-ade5-00aa0044773d),
26 pointer_default(unique)
28 interface IRowsetUpdate : IRowsetChange
30 typedef DWORD DBPENDINGSTATUS;
32 enum DBPENDINGSTATUSENUM
34 DBPENDINGSTATUS_NEW = 0x01,
35 DBPENDINGSTATUS_CHANGED = 0x02,
36 DBPENDINGSTATUS_DELETED = 0x04,
37 DBPENDINGSTATUS_UNCHANGED = 0x08,
38 DBPENDINGSTATUS_INVALIDROW = 0x10,
41 HRESULT GetOriginalData([in] HROW row, [in] HACCESSOR accessor, [out] void *data );
43 HRESULT GetPendingRows([in] HCHAPTER reserved, [in] DBPENDINGSTATUS status, [in, out] DBCOUNTITEM *pending_cnt,
44 [out, size_is(,*pending_cnt)] HROW **rending_rows,
45 [out, size_is(,*pending_cnt)] DBPENDINGSTATUS **pending_status);
47 HRESULT GetRowStatus([in] HCHAPTER reserved, [in] DBCOUNTITEM count, [in, size_is(count)] const HROW rows[],
48 [out, size_is(count)] DBPENDINGSTATUS status[]);
50 HRESULT Undo([in] HCHAPTER reserved, [in] DBCOUNTITEM count, [in, size_is(count)] const HROW rows[],
51 [in, out] DBCOUNTITEM *undone_cnt, [out, size_is(,*undone_cnt)] HROW **undone,
52 [out, size_is(,*undone_cnt)] DBROWSTATUS ** status);
54 HRESULT Update([in] HCHAPTER reserved, [in] DBCOUNTITEM count, [in, size_is(count)] const HROW rows[],
55 [in, out] DBCOUNTITEM *row_cnt, [out, size_is(,*row_cnt)] HROW **hrows,
56 [out, size_is(,*row_cnt)] DBROWSTATUS **status);