d3dxof: Fix list of float and integer in binary mode.
[wine/multimedia.git] / include / msdasc.idl
blob16d2372d57ee34e4fe2296294d885dfe7e033f5d
1 /*
2 * Copyright (C) 2012 Alistair Leslie-Hughes
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 import "oaidl.idl";
20 import "ocidl.idl";
21 import "oledb.idl";
23 #if !defined(progid) && !defined(__WIDL__)
24 #define threading(model)
25 #define progid(str)
26 #define vi_progid(str)
27 #endif
30 uuid(2206CEB0-19C1-11D1-89E0-00C04FD7A829),
31 version(1.0)
33 library MSDASC
35 importlib("stdole2.tlb");
38 uuid(2206CCB1-19C1-11D1-89E0-00C04FD7A829),
40 interface IDataInitialize : IUnknown
42 HRESULT GetDataSource([in] IUnknown* pUnkOuter, [in] DWORD dwClsCtx,
43 [in] LPWSTR pwszInitializationString, [in] REFIID riid,
44 [in, out] IUnknown** ppDataSource);
46 HRESULT GetInitializationString([in] IUnknown* pDataSource, [in] boolean fIncludePassword,
47 [out] LPWSTR* ppwszInitString);
49 HRESULT CreateDBInstance([in] REFCLSID clsidProvider, [in] IUnknown* pUnkOuter,
50 [in] DWORD dwClsCtx, [in] LPWSTR pwszReserved,
51 [in] REFIID riid, [out] IUnknown** ppDataSource);
53 HRESULT RemoteCreateDBInstanceEx([in] REFCLSID clsidProvider, [in] IUnknown* pUnkOuter,
54 [in] DWORD dwClsCtx, [in] LPWSTR pwszReserved, [in] COSERVERINFO* pServerInfo,
55 [in] DWORD cmq, [in] GUID** rgpIID, [out] IUnknown** rgpItf,
56 [out] HRESULT* rghr);
58 HRESULT LoadStringFromStorage([in] LPWSTR pwszFileName, [out] LPWSTR* ppwszInitializationString);
60 HRESULT WriteStringToStorage([in] LPWSTR pwszFileName, [in] LPWSTR pwszInitializationString,
61 [in] DWORD dwCreationDisposition);
65 uuid(2206CDB0-19C1-11D1-89E0-00C04FD7A829),
66 threading(both),
67 progid("MSDASC.MSDAINITIALIZE.1"),
68 vi_progid("MSDASC.MSDAINITIALIZE"),
70 coclass MSDAINITIALIZE
72 [default] interface IDataInitialize;