d2d1: Split overlapping bezier control triangles.
[wine.git] / dlls / oledb32 / oledb_private.h
blob6f2bf7620687bdde019a11314d7b1e67622d3395
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* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size)
31 return HeapAlloc(GetProcessHeap(), 0, size);
34 static inline void* __WINE_ALLOC_SIZE(1) heap_alloc_zero(size_t size)
36 return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size);
39 static inline void* __WINE_ALLOC_SIZE(2) heap_realloc(void *mem, size_t size)
41 return HeapReAlloc(GetProcessHeap(), 0, mem, size);
44 static inline void* __WINE_ALLOC_SIZE(2) heap_realloc_zero(void *mem, size_t size)
46 return HeapReAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, mem, size);
49 static inline BOOL heap_free(void *mem)
51 return HeapFree(GetProcessHeap(), 0, mem);