include: Use the hard-float calling convention for Windows APIs on ARM
[wine.git] / dlls / explorerframe / explorerframe_main.h
blobec8b3634c42ec30e608d45f783f85207a1bde309
1 /*
2 * ExplorerFrame main include
4 * Copyright 2010 David Hedberg
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_EXPLORERFRAME_H
22 #define __WINE_EXPLORERFRAME_H
24 #define COBJMACROS
26 #include "shlobj.h"
28 extern HINSTANCE explorerframe_hinstance DECLSPEC_HIDDEN;
30 extern LONG EFRAME_refCount DECLSPEC_HIDDEN;
31 static inline void EFRAME_LockModule(void) { InterlockedIncrement( &EFRAME_refCount ); }
32 static inline void EFRAME_UnlockModule(void) { InterlockedDecrement( &EFRAME_refCount ); }
34 HRESULT NamespaceTreeControl_Constructor(IUnknown *pUnkOuter, REFIID riid, void **ppv) DECLSPEC_HIDDEN;
35 HRESULT TaskbarList_Constructor(IUnknown*,REFIID,void**) DECLSPEC_HIDDEN;
37 static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size)
39 return HeapAlloc(GetProcessHeap(), 0, size);
42 static inline BOOL heap_free(void *mem)
44 return HeapFree(GetProcessHeap(), 0, mem);
47 #endif /* __WINE_EXPLORERFRAME_H */