kernel32/tests: Remove another identical if/else branch.
[wine.git] / include / colinf.idl
blob051715324e342ad234092c3189a6fb0a0ab28842
1 /*
2 * Copyright (C) 2016 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
19 #if 0
20 #pragma makedep install
21 #endif
24 object,
25 uuid(0c733a11-2a1c-11ce-ade5-00aa0044773d),
26 pointer_default(unique)
28 interface IColumnsInfo : IUnknown
30 [local]
31 HRESULT GetColumnInfo(
32 [in, out] DBORDINAL *columns,
33 [out, size_is(,(ULONG)*columns)] DBCOLUMNINFO **colinfo,
34 [out] OLECHAR **stringsbuffer);
36 [call_as(GetColumnInfo)]
37 HRESULT RemoteGetColumnInfo([in, out] DBORDINAL *columns,
38 [out, size_is(,(ULONG)*columns)] DBCOLUMNINFO **colinfo,
39 [out, size_is(,(ULONG)*columns)] DBBYTEOFFSET **name_offsets,
40 [out, size_is(,(ULONG)*columns)] DBBYTEOFFSET **columnid_offsets,
41 [in, out] DBLENGTH *string_len,
42 [in, out, unique, size_is(,(ULONG)*string_len)] OLECHAR **stringsbuffer,
43 [out] IErrorInfo **errorinfo);
45 [local]
46 HRESULT MapColumnIDs(
47 [in] DBORDINAL column_ids,
48 [in, size_is((ULONG)column_ids)] const DBID *dbids,
49 [out, size_is((ULONG)column_ids)] DBORDINAL *columns);
51 [call_as(MapColumnIDs)]
52 HRESULT RemoteMapColumnIDs(
53 [in] DBORDINAL column_ids,
54 [in, size_is((ULONG)column_ids)] const DBID *dbids,
55 [out, size_is((ULONG)column_ids)] DBORDINAL *columns,
56 [out] IErrorInfo **errorinfo);