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
;
25 extern HINSTANCE BROWSEUI_hinstance
;
27 extern HRESULT
ACLMulti_Constructor(IUnknown
*punkOuter
, IUnknown
**ppOut
);
28 extern HRESULT
ProgressDialog_Constructor(IUnknown
*punkOuter
, IUnknown
**ppOut
);
29 extern HRESULT
CompCatCacheDaemon_Constructor(IUnknown
*punkOuter
, IUnknown
**ppOut
);
31 extern const GUID CLSID_CompCatCacheDaemon
;
33 static inline void *heap_alloc(size_t size
)
35 return HeapAlloc(GetProcessHeap(), 0, size
);
38 static inline void *heap_alloc_zero(size_t size
)
40 return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY
, size
);
43 static inline void *heap_realloc(void *mem
, size_t size
)
45 return mem
? HeapReAlloc(GetProcessHeap(), 0, mem
, size
) : heap_alloc(size
);
48 static inline BOOL
heap_free(void *mem
)
50 return HeapFree(GetProcessHeap(), 0, mem
);
53 #endif /* __WINE_BROWSEUI_H */