1 /* OLE DB Internal header
3 * Copyright 2009 Huw Davies
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 HRESULT
create_oledb_convert(IUnknown
*outer
, void **obj
) DECLSPEC_HIDDEN
;
21 HRESULT
create_data_init(IUnknown
*outer
, void **obj
) DECLSPEC_HIDDEN
;
22 HRESULT
create_error_info(IUnknown
*outer
, void **obj
) DECLSPEC_HIDDEN
;
23 HRESULT
create_oledb_rowpos(IUnknown
*outer
, void **obj
) DECLSPEC_HIDDEN
;
24 HRESULT
create_dslocator(IUnknown
*outer
, void **obj
) DECLSPEC_HIDDEN
;
26 HRESULT
get_data_source(IUnknown
*outer
, DWORD clsctx
, LPWSTR initstring
, REFIID riid
,
27 IUnknown
**datasource
) DECLSPEC_HIDDEN
;
29 extern HINSTANCE instance
;
31 static inline void* __WINE_ALLOC_SIZE(2) heap_realloc_zero(void *mem
, size_t size
)
33 return HeapReAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY
, mem
, size
);