Module: wine Branch: master Commit: f80c419585928ebf946ceffa417594204f69d6b7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f80c419585928ebf946ceffa41...
Author: Huw Davies huw@codeweavers.com Date: Wed Jul 22 16:33:17 2009 +0100
include: Add sesprp.idl.
---
include/Makefile.in | 1 + include/oledb.idl | 1 + include/sesprp.idl | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ tools/make_makefiles | 1 + 4 files changed, 54 insertions(+), 0 deletions(-)
diff --git a/include/Makefile.in b/include/Makefile.in index c3c8cb0..8cc4fb8 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -401,6 +401,7 @@ SRCDIR_INCLUDES = \ secext.h \ security.h \ sensapi.h \ + sesprp.idl \ setupapi.h \ sfc.h \ shdispid.h \ diff --git a/include/oledb.idl b/include/oledb.idl index c415d3a..181b00a 100644 --- a/include/oledb.idl +++ b/include/oledb.idl @@ -31,4 +31,5 @@ typedef ULONG DBCOUNTITEM; #include "dbprop.idl" #include "dbinit.idl" #include "dbdsad.idl" +#include "sesprp.idl" #include "opnrst.idl" diff --git a/include/sesprp.idl b/include/sesprp.idl new file mode 100644 index 0000000..11e6391 --- /dev/null +++ b/include/sesprp.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(0c733a85-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface ISessionProperties : IUnknown +{ + [local] + HRESULT GetProperties([in] ULONG cPropertyIDSets, + [in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[], + [in, out] ULONG *pcPropertySets, + [out, size_is(,*pcPropertySets)] const DBPROPSET **prgPropertySets); + + [call_as(GetProperties)] + HRESULT RemoteGetProperties([in] ULONG cPropertyIDSets, + [in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets, + [in, out] ULONG *pcPropertySets, + [out, size_is(,*pcPropertySets)] const DBPROPSET **prgPropertySets, + [out] IErrorInfo **ppErrorInfoRem); + + + [local] + HRESULT SetProperties([in] ULONG cPropertySets, + [in, out, unique, size_is(cPropertySets)] DBPROPSET rgPropertySets[]); + + [call_as(SetProperties)] + HRESULT RemoteSetProperties([in] ULONG cPropertySets, + [in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets, + [in] ULONG cTotalProps, + [out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus, + [out] IErrorInfo **ppErrorInfoRem); + +} diff --git a/tools/make_makefiles b/tools/make_makefiles index ee4bdf6..075916f 100755 --- a/tools/make_makefiles +++ b/tools/make_makefiles @@ -118,6 +118,7 @@ my %private_idl_headers = ( "devenum.idl" => 1, "dyngraph.idl" => 1, "opnrst.idl" => 1, + "sesprp.idl" => 1, "vmrender.idl" => 1, "wine/wined3d.idl" => 1, "wine/winedxgi.idl" => 1,