diff --git a/include/Makefile.in b/include/Makefile.in index f53c1bb4a62..716cec38a61 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -364,6 +364,7 @@ SRCDIR_INCLUDES = \ oleauto.h \ olectl.h \ oledlg.h \ + opnrst.idl \ pdh.h \ pdhmsg.h \ pktdef.h \ diff --git a/include/oledb.idl b/include/oledb.idl index 1683fb7faac..a2f70d54f68 100644 --- a/include/oledb.idl +++ b/include/oledb.idl @@ -29,3 +29,4 @@ typedef ULONG DBBYTEOFFSET; #include "dbcses.idl" #include "dbprop.idl" #include "dbinit.idl" +#include "opnrst.idl" diff --git a/include/opnrst.idl b/include/opnrst.idl new file mode 100644 index 00000000000..07c23805fc9 --- /dev/null +++ b/include/opnrst.idl @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2009 Huw Davies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +[ + object, + uuid(0c733a69-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IOpenRowset : IUnknown +{ + [local] + HRESULT OpenRowset([in] IUnknown *pUnkOuter, + [in, unique] DBID *pTableID, + [in, unique] DBID *pIndexID, + [in] REFIID riid, + [in] ULONG cPropertySets, + [in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[], + [out, iid_is(riid)] IUnknown **ppRowset); + + [call_as(OpenRowset)] + HRESULT RemoteOpenRowset([in] IUnknown *pUnkOuter, + [in, unique] DBID *pTableID, + [in, unique] DBID *pIndexID, + [in] REFIID riid, + [in] ULONG cPropertySets, + [in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets, + [in, out, unique, iid_is(riid)] IUnknown **ppRowset, + [in] ULONG cTotalProps, + [out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus, + [out] IErrorInfo **ppErrorInfoRem); + +} diff --git a/tools/make_makefiles b/tools/make_makefiles index fc836ee490d..8f9ca56da81 100755 --- a/tools/make_makefiles +++ b/tools/make_makefiles @@ -116,6 +116,7 @@ my %private_idl_headers = ( "dbs.idl" => 1, "devenum.idl" => 1, "dyngraph.idl" => 1, + "opnrst.idl" => 1, "vmrender.idl" => 1, "wine/wined3d.idl" => 1, "wine/winedxgi.idl" => 1,