include: Move some definitions from iptypes.h to nldef.h.
[wine.git] / dlls / browseui / browseui.h
blobe03f47f72dc96683f0e2239c5ea6583c7e330c54
1 /*
2 * Internal header for browseui.dll
4 * Copyright 2007 Mikolaj Zalewski
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WINE_BROWSEUI_H
22 #define __WINE_BROWSEUI_H
24 extern LONG BROWSEUI_refCount DECLSPEC_HIDDEN;
25 extern HINSTANCE BROWSEUI_hinstance DECLSPEC_HIDDEN;
27 extern HRESULT ACLMulti_Constructor(IUnknown *punkOuter, IUnknown **ppOut) DECLSPEC_HIDDEN;
28 extern HRESULT ProgressDialog_Constructor(IUnknown *punkOuter, IUnknown **ppOut) DECLSPEC_HIDDEN;
29 extern HRESULT CompCatCacheDaemon_Constructor(IUnknown *punkOuter, IUnknown **ppOut) DECLSPEC_HIDDEN;
30 extern HRESULT ACLShellSource_Constructor(IUnknown *punkOuter, IUnknown **ppOut) DECLSPEC_HIDDEN;
32 extern const GUID CLSID_CompCatCacheDaemon;
34 static inline void *heap_alloc(size_t size)
36 return HeapAlloc(GetProcessHeap(), 0, size);
39 static inline void *heap_alloc_zero(size_t size)
41 return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size);
44 static inline void *heap_realloc(void *mem, size_t size)
46 return mem ? HeapReAlloc(GetProcessHeap(), 0, mem, size) : heap_alloc(size);
49 static inline BOOL heap_free(void *mem)
51 return HeapFree(GetProcessHeap(), 0, mem);
54 #endif /* __WINE_BROWSEUI_H */