dmscript: Merge the IClassFactory implementations.
[wine/testsucceed.git] / dlls / inetcpl.cpl / inetcpl.h
blobbd1e55a5babcf05d49177ed9e49eadebc7511fff
1 /*
2 * Internet control panel applet
4 * Copyright 2010 Detlef Riekenberg
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
22 #ifndef __WINE_INETCPL__
23 #define __WINE_INETCPL__
25 #include <windef.h>
26 #include <winuser.h>
27 #include <commctrl.h>
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;
34 /* ## Memory allocation functions ## */
36 static inline void * __WINE_ALLOC_SIZE(1) heap_alloc( size_t len )
38 return HeapAlloc( GetProcessHeap(), 0, len );
41 static inline void * __WINE_ALLOC_SIZE(1) heap_alloc_zero( size_t len )
43 return HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, len );
46 static inline BOOL heap_free( void *mem )
48 return HeapFree( GetProcessHeap(), 0, mem );
51 /* ######### */
53 #define NUM_PROPERTY_PAGES 8
55 /* icons */
56 #define ICO_MAIN 100
58 /* strings */
59 #define IDS_CPL_NAME 1
60 #define IDS_CPL_INFO 2
61 #define IDS_SEC_SETTINGS 0x10
62 #define IDS_SEC_LEVEL0 0x100
63 #define IDS_SEC_LEVEL1 0x101
64 #define IDS_SEC_LEVEL2 0x102
65 #define IDS_SEC_LEVEL3 0x103
66 #define IDS_SEC_LEVEL4 0x104
67 #define IDS_SEC_LEVEL5 0x105
68 #define IDS_SEC_LEVEL0_INFO 0x200
69 #define IDS_SEC_LEVEL1_INFO 0x210
70 #define IDS_SEC_LEVEL2_INFO 0x220
71 #define IDS_SEC_LEVEL3_INFO 0x230
72 #define IDS_SEC_LEVEL4_INFO 0x240
73 #define IDS_SEC_LEVEL5_INFO 0x250
75 /* dialogs */
76 #define IDC_STATIC -1
78 #define IDD_GENERAL 1000
79 #define IDC_HOME_EDIT 1000
80 #define IDC_HOME_CURRENT 1001
81 #define IDC_HOME_DEFAULT 1002
82 #define IDC_HOME_BLANK 1003
83 #define IDC_HISTORY_DELETE 1004
84 #define IDC_HISTORY_SETTINGS 1005
86 #define IDD_DELETE_HISTORY 1010
87 #define IDC_DELETE_TEMP_FILES 1011
88 #define IDC_DELETE_COOKIES 1012
89 #define IDC_DELETE_HISTORY 1013
90 #define IDC_DELETE_FORM_DATA 1014
91 #define IDC_DELETE_PASSWORDS 1015
93 #define IDD_SECURITY 2000
94 #define IDC_SEC_LISTVIEW 2001
95 #define IDC_SEC_ZONE_INFO 2002
96 #define IDC_SEC_GROUP 2003
97 #define IDC_SEC_TRACKBAR 2004
98 #define IDC_SEC_LEVEL 2005
99 #define IDC_SEC_LEVEL_INFO 2006
101 #define IDD_CONTENT 4000
102 #define IDC_CERT 4100
103 #define IDC_CERT_PUBLISHER 4101
105 #endif