[1166] | 1 | /*
|
---|
| 2 | * Copyright (C) 2020 Alistair Leslie-Hughes
|
---|
| 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 | #if 0
|
---|
| 20 | #pragma makedep install
|
---|
| 21 | #endif
|
---|
| 22 |
|
---|
| 23 | [
|
---|
| 24 | object,
|
---|
| 25 | uuid(0c733a90-2a1c-11ce-ade5-00aa0044773d),
|
---|
| 26 | pointer_default(unique)
|
---|
| 27 | ]
|
---|
| 28 | interface IMultipleResults : IUnknown
|
---|
| 29 | {
|
---|
| 30 | typedef DB_LRESERVE DBRESULTFLAG;
|
---|
| 31 |
|
---|
| 32 | enum DBRESULTFLAGENUM
|
---|
| 33 | {
|
---|
| 34 | DBRESULTFLAG_DEFAULT = 0,
|
---|
| 35 | DBRESULTFLAG_ROWSET = 1,
|
---|
| 36 | DBRESULTFLAG_ROW = 2,
|
---|
| 37 | };
|
---|
| 38 |
|
---|
| 39 | [local]
|
---|
| 40 | HRESULT GetResult([in] IUnknown *outer, [in] DBRESULTFLAG result, [in] REFIID riid, [out] DBROWCOUNT *affected,
|
---|
| 41 | [out, iid_is(riid), annotation("_Outptr_opt_result_maybenull_")] IUnknown ** rowset);
|
---|
| 42 |
|
---|
| 43 | [call_as(GetResult)]
|
---|
| 44 | HRESULT RemoteGetResult([in] IUnknown *outer, [in] DBRESULTFLAG result, [in] REFIID riid,
|
---|
| 45 | [in, out, unique] DBROWCOUNT *affected, [in, out, unique, iid_is(riid)] IUnknown **rowset,
|
---|
| 46 | [out] IErrorInfo **error);
|
---|
| 47 | }
|
---|