ws2_32/tests: Add initial tests for DisconnectEx.
[wine.git] / dlls / explorerframe / explorerframe_main.h
blob44e72531d8c35086e5750560d0e780aa2b81b29a
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 /* Not declared in commctrl.h ("for internal use (msdn)") */
29 #define TVS_EX_NOSINGLECOLLAPSE 0x0001
31 extern HINSTANCE explorerframe_hinstance DECLSPEC_HIDDEN;
33 extern LONG EFRAME_refCount DECLSPEC_HIDDEN;
34 static inline void EFRAME_LockModule(void) { InterlockedIncrement( &EFRAME_refCount ); }
35 static inline void EFRAME_UnlockModule(void) { InterlockedDecrement( &EFRAME_refCount ); }
37 HRESULT NamespaceTreeControl_Constructor(IUnknown *pUnkOuter, REFIID riid, void **ppv) DECLSPEC_HIDDEN;
38 HRESULT TaskbarList_Constructor(IUnknown*,REFIID,void**) DECLSPEC_HIDDEN;
40 static inline void *heap_alloc(size_t len)
42 return HeapAlloc(GetProcessHeap(), 0, len);
45 static inline BOOL heap_free(void *mem)
47 return HeapFree(GetProcessHeap(), 0, mem);
50 #endif /* __WINE_EXPLORERFRAME_H */