2 * Copyright (C) 2021 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
20 #pragma makedep install
25 uuid(0c733a10
-2a1c
-11ce
-ade5
-00aa0044773d
),
26 pointer_default(unique)
29 interface IColumnsRowset
: IUnknown
32 HRESULT GetAvailableColumns
( [in, out] DBORDINAL
*count
, [out, size_is(,(ULONG
)*count
)] DBID
**columns
);
34 [call_as
(GetAvailableColumns
)]
35 HRESULT RemoteGetAvailableColumns
([in, out] DBORDINAL
*count
, [out, size_is(,(ULONG
)*count
)] DBID
**columns
,
36 [out] IErrorInfo
**error
);
39 HRESULT GetColumnsRowset
([in] IUnknown
*outer
, [in] DBORDINAL count
, [in, size_is((ULONG
)count
)] const DBID columns
[],
40 [in] REFIID riid
, [in] ULONG property_cnt
, [in, out, size_is((ULONG
)property_cnt
)] DBPROPSET property_sets
[],
41 [out, iid_is(riid
)] IUnknown
**rowset
);
43 [call_as
(GetColumnsRowset
)]
44 HRESULT RemoteGetColumnsRowset
([in] IUnknown
*outer
, [in] DBORDINAL count
, [in, unique, size_is((ULONG
)count
)] const DBID
*columns
,
45 [in] REFIID riid
, [in] ULONG property_cnt
, [in, unique, size_is((ULONG
)property_cnt
)] DBPROPSET
* roperty_sets
,
46 [out, iid_is(riid
)] IUnknown
**rowset
, [in] ULONG props_cnt
, [out, size_is((ULONG
)props_cnt
)] DBPROPSTATUS
*prop_status
,
47 [out] IErrorInfo
**error
);