wininet: Added INTERNET_OPTION_ERROR_MASK flag handling to InternetSetOptionW.
[wine] / include / dbprop.idl
1 /*
2  * Copyright (C) 2006 Mike McCormack
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
19 [
20     object,
21     uuid(0c733a8a-2a1c-11ce-ade5-00aa0044773d),
22     pointer_default(unique)
23 ]
24 interface IDBProperties : IUnknown {
25     [local] HRESULT GetProperties(
26              [in] ULONG cPropertyIDSets,
27              [in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
28              [in, out] ULONG *pcPropertySets,
29              [out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets);
30
31     [call_as(GetProperties)] HRESULT RemoteGetProperties(
32              [in] ULONG cPropertyIDSets,
33              [in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
34              [in, out] ULONG *pcPropertySets,
35              [out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets,
36              [out] IErrorInfo **ppErrorInfoRem);
37
38     [local] HRESULT GetPropertyInfo(
39              [in] ULONG cPropertyIDSets,
40              [in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
41              [in, out] ULONG *pcPropertyInfoSets,
42              [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
43              [out, annotation("__deref_out_z_opt")] OLECHAR **ppDescBuffer);
44
45     [call_as(GetPropertyInfo)] HRESULT RemoteGetPropertyInfo(
46              [in] ULONG cPropertyIDSets,
47              [in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
48              [in, out] ULONG *pcPropertyInfoSets,
49              [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
50              [in, out] ULONG *pcOffsets,
51              [out, size_is(,*pcOffsets)] DBBYTEOFFSET **prgDescOffsets,
52              [in, out] ULONG *pcbDescBuffer,
53              [in, out, unique, size_is(,*pcbDescBuffer)] OLECHAR **ppDescBuffer,
54              [out] IErrorInfo **ppErrorInfoRem);
55
56     [local] HRESULT SetProperties(
57              [in] ULONG cPropertySets,
58              [in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[]);
59
60     [call_as(SetProperties)] HRESULT RemoteSetProperties(
61              [in] ULONG cPropertySets,
62              [in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
63              [in] ULONG cTotalProps,
64              [out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
65              [out] IErrorInfo **ppErrorInfoRem);
66 }