[ACPPAGE] Make use of the PCH.
[reactos.git] / dll / cpl / inetcpl / inetcpl.h
1 /*
2 * Internet control panel applet
3 *
4 * Copyright 2010 Detlef Riekenberg
5 *
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.
10 *
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.
15 *
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
19 *
20 */
21
22 #ifndef __WINE_INETCPL__
23 #define __WINE_INETCPL__
24
25 #include <stdarg.h>
26
27 #define WIN32_NO_STATUS
28 #define _INC_WINDOWS
29 #define COM_NO_WINDOWS_H
30
31 #define COBJMACROS
32 #define CONST_VTABLE
33 #define NONAMELESSUNION
34
35 #include <windef.h>
36 #include <winbase.h>
37 #include <winuser.h>
38 #include <winreg.h>
39 #include <ole2.h>
40 #include <commctrl.h>
41 #include <shlwapi.h>
42
43 #include <wine/debug.h>
44 WINE_DEFAULT_DEBUG_CHANNEL(inetcpl);
45
46 extern HMODULE hcpl;
47 INT_PTR CALLBACK content_dlgproc(HWND, UINT, WPARAM, LPARAM) DECLSPEC_HIDDEN;
48 INT_PTR CALLBACK general_dlgproc(HWND, UINT, WPARAM, LPARAM) DECLSPEC_HIDDEN;
49 INT_PTR CALLBACK security_dlgproc(HWND, UINT, WPARAM, LPARAM) DECLSPEC_HIDDEN;
50
51 /* ## Memory allocation functions ## */
52
53 static inline void * __WINE_ALLOC_SIZE(1) heap_alloc( size_t len )
54 {
55 return HeapAlloc( GetProcessHeap(), 0, len );
56 }
57
58 static inline void * __WINE_ALLOC_SIZE(1) heap_alloc_zero( size_t len )
59 {
60 return HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, len );
61 }
62
63 static inline BOOL heap_free( void *mem )
64 {
65 return HeapFree( GetProcessHeap(), 0, mem );
66 }
67
68 /* ######### */
69
70 #define NUM_PROPERTY_PAGES 8
71
72 #include "resource.h"
73
74 #endif /* __WINE_INETCPL__ */