Module: wine Branch: master Commit: 8d8bef944d88abe7e010be637af1565f941af90f URL: http://source.winehq.org/git/wine.git/?a=commit;h=8d8bef944d88abe7e010be637a...
Author: Huw Davies huw@codeweavers.com Date: Thu Jul 23 11:53:34 2009 +0100
include: Add crtrow.idl.
---
include/Makefile.in | 1 + include/crtrow.idl | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ include/oledb.idl | 1 + tools/make_makefiles | 1 + 4 files changed, 54 insertions(+), 0 deletions(-)
diff --git a/include/Makefile.in b/include/Makefile.in index 603de27..aee348f 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -121,6 +121,7 @@ SRCDIR_INCLUDES = \ corerror.h \ corhdr.h \ cpl.h \ + crtrow.idl \ cryptdlg.h \ cryptuiapi.h \ custcntl.h \ diff --git a/include/crtrow.idl b/include/crtrow.idl new file mode 100644 index 0000000..da26a72 --- /dev/null +++ b/include/crtrow.idl @@ -0,0 +1,51 @@ +/* + * 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(0c733ab2-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface ICreateRow : IUnknown +{ + [local] + HRESULT CreateRow([in, unique] IUnknown *pUnkOuter, + [in] LPCOLESTR pwszURL, + [in] DBBINDURLFLAG dwBindURLFlags, + [in] REFGUID rguid, + [in] REFIID riid, + [in, unique] IAuthenticate *pAuthenticate, + [in, out, unique] DBIMPLICITSESSION *pImplSession, + [in, out, unique] DBBINDURLSTATUS *pdwBindStatus, + [out, /*annotation("__deref_opt_out_opt")*/] LPOLESTR *ppwszNewURL, + [out, iid_is(riid)] IUnknown **ppUnk); + + [call_as(CreateRow)] + HRESULT RemoteCreateRow([in] IUnknown *pUnkOuter, + [in] LPCOLESTR pwszURL, + [in] DBBINDURLFLAG dwBindURLFlags, + [in] REFGUID rguid, + [in] REFIID riid, + [in] IAuthenticate *pAuthenticate, + [in] IUnknown *pSessionUnkOuter, + [in, unique] IID *piid, + [in, out, unique, iid_is(piid)] IUnknown **ppSession, + [in, out, unique] DBBINDURLSTATUS *pdwBindStatus, + [in, out, unique] LPOLESTR *ppwszNewURL, + [out, iid_is(riid)] IUnknown **ppUnk); +} diff --git a/include/oledb.idl b/include/oledb.idl index 5cb5c0e..31e2111 100644 --- a/include/oledb.idl +++ b/include/oledb.idl @@ -35,3 +35,4 @@ typedef ULONG DBCOUNTITEM; #include "sesprp.idl" #include "opnrst.idl" #include "binres.idl" +#include "crtrow.idl" diff --git a/tools/make_makefiles b/tools/make_makefiles index 775de81..fb15697 100755 --- a/tools/make_makefiles +++ b/tools/make_makefiles @@ -110,6 +110,7 @@ my %private_idl_headers = ( "axcore.idl" => 1, "axextend.idl" => 1, "binres.idl" => 1, + "crtrow.idl" => 1, "dbccmd.idl" => 1, "dbcses.idl" => 1, "dbdsad.idl" => 1,