Release 1.3.26.
[wine/gsoc-2012-control.git] / include / dbdsad.idl
blobad2695efb85dcae011f6dfae705efac329e98d9d
1 /*
2 * Copyright (C) 2009 Huw Davies
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.
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.
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
20 object,
21 uuid(0c733a7a-2a1c-11ce-ade5-00aa0044773d),
22 pointer_default(unique)
24 interface IDBDataSourceAdmin : IUnknown
26 [local]
27 HRESULT CreateDataSource([in] ULONG cPropertySets,
28 [in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[],
29 [in] IUnknown *pUnkOuter,
30 [in] REFIID riid,
31 [out, iid_is(riid)] IUnknown **ppDBSession);
33 [call_as(CreateDataSource)]
34 HRESULT RemoteCreateDataSource([in] ULONG cPropertySets,
35 [in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
36 [in] IUnknown *pUnkOuter,
37 [in] REFIID riid,
38 [in, out, unique, iid_is(riid)] IUnknown **ppDBSession,
39 [in] ULONG cTotalProps,
40 [out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
41 [out] IErrorInfo **ppErrorInfoRem);
43 [local]
44 HRESULT DestroyDataSource();
46 [call_as(DestroyDataSource)]
47 HRESULT RemoteDestroyDataSource([out] IErrorInfo **ppErrorInfoRem);
49 [local]
50 HRESULT GetCreationProperties([in] ULONG cPropertyIDSets,
51 [in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
52 [in, out] ULONG *pcPropertyInfoSets,
53 [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
54 [out, annotation("__deref_out_z_opt")] OLECHAR **ppDescBuffer);
56 [call_as(GetCreationProperties)]
57 HRESULT RemoteGetCreationProperties([in] ULONG cPropertyIDSets,
58 [in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
59 [in, out] ULONG *pcPropertyInfoSets,
60 [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
61 [in, out] DBCOUNTITEM *pcOffsets,
62 [out, size_is(,(ULONG)*pcOffsets)] DBBYTEOFFSET **prgDescOffsets,
63 [in, out] ULONG *pcbDescBuffer,
64 [in, out, unique, size_is(,*pcbDescBuffer)] OLECHAR **ppDescBuffer,
65 [out] IErrorInfo **ppErrorInfoRem);
67 [local]
68 HRESULT ModifyDataSource([in] ULONG cPropertySets,
69 [in, size_is(cPropertySets)] DBPROPSET rgPropertySets[]);
71 [call_as(ModifyDataSource)]
72 HRESULT RemoteModifyDataSource([in] ULONG cPropertySets,
73 [in, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
74 [out] IErrorInfo **ppErrorInfoRem);