mshtml: Removed no longer used attr_name from event_info_t.
[wine.git] / dlls / oledb32 / oledb_private.h
blob0b71a817cc1ca62d7b7833cd7e5227b01597cdf7
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 static inline void *heap_alloc(size_t len)
31 return HeapAlloc(GetProcessHeap(), 0, len);
34 static inline void *heap_alloc_zero(size_t len)
36 return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, len);
39 static inline void *heap_realloc(void *mem, size_t len)
41 return HeapReAlloc(GetProcessHeap(), 0, mem, len);
44 static inline void *heap_realloc_zero(void *mem, size_t len)
46 return HeapReAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, mem, len);
49 static inline BOOL heap_free(void *mem)
51 return HeapFree(GetProcessHeap(), 0, mem);