windowscodecs: Implement IWICDdsEncoder_CreateNewFrame.
[wine.git] / include / dbdsad.idl
blob5a729cdeafc40f692124d77122b5bb28e62a00fa
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
19 #if 0
20 #pragma makedep install
21 #endif
24 object,
25 uuid(0c733a7a-2a1c-11ce-ade5-00aa0044773d),
26 pointer_default(unique)
28 interface IDBDataSourceAdmin : IUnknown
30 [local]
31 HRESULT CreateDataSource([in] ULONG cPropertySets,
32 [in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[],
33 [in] IUnknown *pUnkOuter,
34 [in] REFIID riid,
35 [out, iid_is(riid)] IUnknown **ppDBSession);
37 [call_as(CreateDataSource)]
38 HRESULT RemoteCreateDataSource([in] ULONG cPropertySets,
39 [in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
40 [in] IUnknown *pUnkOuter,
41 [in] REFIID riid,
42 [in, out, unique, iid_is(riid)] IUnknown **ppDBSession,
43 [in] ULONG cTotalProps,
44 [out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
45 [out] IErrorInfo **ppErrorInfoRem);
47 [local]
48 HRESULT DestroyDataSource();
50 [call_as(DestroyDataSource)]
51 HRESULT RemoteDestroyDataSource([out] IErrorInfo **ppErrorInfoRem);
53 [local]
54 HRESULT GetCreationProperties([in] ULONG cPropertyIDSets,
55 [in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
56 [in, out] ULONG *pcPropertyInfoSets,
57 [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
58 [out, annotation("__deref_out_z_opt")] OLECHAR **ppDescBuffer);
60 [call_as(GetCreationProperties)]
61 HRESULT RemoteGetCreationProperties([in] ULONG cPropertyIDSets,
62 [in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
63 [in, out] ULONG *pcPropertyInfoSets,
64 [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
65 [in, out] DBCOUNTITEM *pcOffsets,
66 [out, size_is(,(ULONG)*pcOffsets)] DBBYTEOFFSET **prgDescOffsets,
67 [in, out] ULONG *pcbDescBuffer,
68 [in, out, unique, size_is(,*pcbDescBuffer)] OLECHAR **ppDescBuffer,
69 [out] IErrorInfo **ppErrorInfoRem);
71 [local]
72 HRESULT ModifyDataSource([in] ULONG cPropertySets,
73 [in, size_is(cPropertySets)] DBPROPSET rgPropertySets[]);
75 [call_as(ModifyDataSource)]
76 HRESULT RemoteModifyDataSource([in] ULONG cPropertySets,
77 [in, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
78 [out] IErrorInfo **ppErrorInfoRem);