qmgr: Only have one BackgroundCopyManager per system.
[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, 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
44     [call_as(GetPropertyInfo)] HRESULT RemoteGetPropertyInfo(
45              [in] ULONG cPropertyIDSets,
46              [in,size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
47              [in, out] ULONG *pcPropertyInfoSets,
48              [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
49              [in, out] ULONG *pcOffsets,
50              [out, size_is(,*pcOffsets)] DBBYTEOFFSET **prgDescOffsets,
51              [in, out] ULONG *pcbDescBuffer,
52              [out, size_is(,*pcbDescBuffer)] OLECHAR **ppDescBuffer,
53              [out] IErrorInfo **ppErrorInfoRem);
54
55     [local] HRESULT SetProperties(
56              [in] ULONG cPropertySets,
57              [in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[]);
58
59     [call_as(SetProperties)] HRESULT RemoteSetProperties(
60              [in] ULONG cPropertySets,
61              [in, out, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
62              [in] ULONG cTotalProps,
63              [out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
64              [out] IErrorInfo **ppErrorInfoRem);
65 }