mulres.idl 1.6 KB

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