winmm: Rearrange device mapping when a new default device is chosen.
[wine] / dlls / inetcpl.cpl / 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 <windef.h>
26 #include <winuser.h>
27 #include <commctrl.h>
28
29 extern HMODULE hcpl;
30 INT_PTR CALLBACK content_dlgproc(HWND, UINT, WPARAM, LPARAM) DECLSPEC_HIDDEN;
31 INT_PTR CALLBACK general_dlgproc(HWND, UINT, WPARAM, LPARAM) DECLSPEC_HIDDEN;
32 INT_PTR CALLBACK security_dlgproc(HWND, UINT, WPARAM, LPARAM) DECLSPEC_HIDDEN;
33
34 /* ## Memory allocation functions ## */
35
36 static inline void * __WINE_ALLOC_SIZE(1) heap_alloc( size_t len )
37 {
38     return HeapAlloc( GetProcessHeap(), 0, len );
39 }
40
41 static inline void * __WINE_ALLOC_SIZE(1) heap_alloc_zero( size_t len )
42 {
43     return HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, len );
44 }
45
46 static inline BOOL heap_free( void *mem )
47 {
48     return HeapFree( GetProcessHeap(), 0, mem );
49 }
50
51 /* ######### */
52
53 #define NUM_PROPERTY_PAGES 8
54
55 /* icons */
56 #define ICO_MAIN            100
57 #define ICO_INTERNET        1313
58
59 /* strings */
60 #define IDS_CPL_NAME        1
61 #define IDS_CPL_INFO        2
62 #define IDS_SEC_SETTINGS    0x10
63 #define IDS_SEC_LEVEL0      0x100
64 #define IDS_SEC_LEVEL1      0x101
65 #define IDS_SEC_LEVEL2      0x102
66 #define IDS_SEC_LEVEL3      0x103
67 #define IDS_SEC_LEVEL4      0x104
68 #define IDS_SEC_LEVEL5      0x105
69 #define IDS_SEC_LEVEL0_INFO 0x200
70 #define IDS_SEC_LEVEL1_INFO 0x210
71 #define IDS_SEC_LEVEL2_INFO 0x220
72 #define IDS_SEC_LEVEL3_INFO 0x230
73 #define IDS_SEC_LEVEL4_INFO 0x240
74 #define IDS_SEC_LEVEL5_INFO 0x250
75
76 /* dialogs */
77 #define IDC_STATIC          -1
78
79 #define IDD_GENERAL         1000
80 #define IDC_HOME_EDIT       1000
81 #define IDC_HOME_CURRENT    1001
82 #define IDC_HOME_DEFAULT    1002
83 #define IDC_HOME_BLANK      1003
84 #define IDC_HISTORY_DELETE     1004
85 #define IDC_HISTORY_SETTINGS   1005
86
87 #define IDD_DELETE_HISTORY     1010
88 #define IDC_DELETE_TEMP_FILES  1011
89 #define IDC_DELETE_COOKIES     1012
90 #define IDC_DELETE_HISTORY     1013
91 #define IDC_DELETE_FORM_DATA   1014
92 #define IDC_DELETE_PASSWORDS   1015
93
94 #define IDD_SECURITY        2000
95 #define IDC_SEC_LISTVIEW    2001
96 #define IDC_SEC_ZONE_INFO   2002
97 #define IDC_SEC_GROUP       2003
98 #define IDC_SEC_TRACKBAR    2004
99 #define IDC_SEC_LEVEL       2005
100 #define IDC_SEC_LEVEL_INFO  2006
101
102 #define IDD_CONTENT         4000
103 #define IDC_CERT            4100
104 #define IDC_CERT_PUBLISHER  4101
105
106 #endif