1 | /*
|
---|
2 | * Copyright (C) 2013 Nikolay Sivov
|
---|
3 | *
|
---|
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.
|
---|
8 | *
|
---|
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.
|
---|
13 | *
|
---|
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
|
---|
17 | */
|
---|
18 |
|
---|
19 | [
|
---|
20 | object,
|
---|
21 | uuid(0c733a83-2a1c-11ce-ade5-00aa0044773d),
|
---|
22 | pointer_default(unique)
|
---|
23 | ]
|
---|
24 | interface IRowsetNotify : IUnknown
|
---|
25 | {
|
---|
26 | [local]
|
---|
27 | HRESULT OnFieldChange([in] IRowset *rowset,
|
---|
28 | [in] HROW row,
|
---|
29 | [in] DBORDINAL ccols,
|
---|
30 | [in, size_is((ULONG)ccols)] DBORDINAL *columns,
|
---|
31 | [in] DBREASON reason,
|
---|
32 | [in] DBEVENTPHASE phase,
|
---|
33 | [in] BOOL cantdeny);
|
---|
34 |
|
---|
35 | [call_as(OnFieldChange)]
|
---|
36 | HRESULT RemoteOnFieldChange(
|
---|
37 | [in] IRowset *rowset,
|
---|
38 | [in] HROW row,
|
---|
39 | [in] DBORDINAL ccols,
|
---|
40 | [in, size_is((ULONG)ccols)] DBORDINAL *columns,
|
---|
41 | [in] DBREASON reason,
|
---|
42 | [in] DBEVENTPHASE phase,
|
---|
43 | [in] BOOL cantdeny);
|
---|
44 |
|
---|
45 | [local]
|
---|
46 | HRESULT OnRowChange([in] IRowset *rowset,
|
---|
47 | [in] DBCOUNTITEM rows,
|
---|
48 | [in, size_is((ULONG)rows)] HROW *hrows,
|
---|
49 | [in] DBREASON reason,
|
---|
50 | [in] DBEVENTPHASE phase,
|
---|
51 | [in] BOOL cantdeny);
|
---|
52 |
|
---|
53 | [call_as(OnRowChange)]
|
---|
54 | HRESULT RemoteOnRowChange(
|
---|
55 | [in] IRowset *rowset,
|
---|
56 | [in] DBCOUNTITEM rows,
|
---|
57 | [in, size_is((ULONG)rows)] HROW *hrows,
|
---|
58 | [in] DBREASON reason,
|
---|
59 | [in] DBEVENTPHASE phase,
|
---|
60 | [in] BOOL cantdeny);
|
---|
61 |
|
---|
62 | [local]
|
---|
63 | HRESULT OnRowsetChange([in] IRowset *rowset,
|
---|
64 | [in] DBREASON reason,
|
---|
65 | [in] DBEVENTPHASE phase,
|
---|
66 | [in] BOOL cantdeny);
|
---|
67 |
|
---|
68 | [call_as(OnRowsetChange)]
|
---|
69 | HRESULT RemoteOnRowsetChange(
|
---|
70 | [in] IRowset *rowset,
|
---|
71 | [in] DBREASON reason,
|
---|
72 | [in] DBEVENTPHASE phase,
|
---|
73 | [in] BOOL cantdeny);
|
---|
74 | }
|
---|