2 * Copyright (C) 2006 Mike McCormack
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 #pragma makedep install
25 uuid(0c733a8a
-2a1c
-11ce
-ade5
-00aa0044773d
),
26 pointer_default(unique)
28 interface IDBProperties
: IUnknown
{
29 [local] HRESULT GetProperties
(
30 [in] ULONG cPropertyIDSets
,
31 [in, size_is(cPropertyIDSets
)] const DBPROPIDSET rgPropertyIDSets
[],
32 [in, out] ULONG
*pcPropertySets
,
33 [out, size_is(,*pcPropertySets
)] DBPROPSET
**prgPropertySets
);
35 [call_as
(GetProperties
)] HRESULT RemoteGetProperties
(
36 [in] ULONG cPropertyIDSets
,
37 [in, unique, size_is(cPropertyIDSets
)] const DBPROPIDSET
*rgPropertyIDSets
,
38 [in, out] ULONG
*pcPropertySets
,
39 [out, size_is(,*pcPropertySets
)] DBPROPSET
**prgPropertySets
,
40 [out] IErrorInfo
**ppErrorInfoRem
);
42 [local] HRESULT GetPropertyInfo
(
43 [in] ULONG cPropertyIDSets
,
44 [in, size_is(cPropertyIDSets
)] const DBPROPIDSET rgPropertyIDSets
[],
45 [in, out] ULONG
*pcPropertyInfoSets
,
46 [out, size_is(,*pcPropertyInfoSets
)] DBPROPINFOSET
**prgPropertyInfoSets
,
47 [out, annotation
("__deref_out_z_opt")] OLECHAR
**ppDescBuffer
);
49 [call_as
(GetPropertyInfo
)] HRESULT RemoteGetPropertyInfo
(
50 [in] ULONG cPropertyIDSets
,
51 [in, unique, size_is(cPropertyIDSets
)] const DBPROPIDSET
*rgPropertyIDSets
,
52 [in, out] ULONG
*pcPropertyInfoSets
,
53 [out, size_is(,*pcPropertyInfoSets
)] DBPROPINFOSET
**prgPropertyInfoSets
,
54 [in, out] ULONG
*pcOffsets
,
55 [out, size_is(,*pcOffsets
)] DBBYTEOFFSET
**prgDescOffsets
,
56 [in, out] ULONG
*pcbDescBuffer
,
57 [in, out, unique, size_is(,*pcbDescBuffer
)] OLECHAR
**ppDescBuffer
,
58 [out] IErrorInfo
**ppErrorInfoRem
);
60 [local] HRESULT SetProperties
(
61 [in] ULONG cPropertySets
,
62 [in, out, size_is(cPropertySets
)] DBPROPSET rgPropertySets
[]);
64 [call_as
(SetProperties
)] HRESULT RemoteSetProperties
(
65 [in] ULONG cPropertySets
,
66 [in, unique, size_is(cPropertySets
)] DBPROPSET
*rgPropertySets
,
67 [in] ULONG cTotalProps
,
68 [out, size_is(cTotalProps
)] DBPROPSTATUS
*rgPropStatus
,
69 [out] IErrorInfo
**ppErrorInfoRem
);