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__
27 #define WIN32_NO_STATUS
29 #define COM_NO_WINDOWS_H
33 #define NONAMELESSUNION
43 #include <wine/debug.h>
44 WINE_DEFAULT_DEBUG_CHANNEL(inetcpl
);
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
;
51 /* ## Memory allocation functions ## */
53 static inline void * __WINE_ALLOC_SIZE(1) heap_alloc( size_t len
)
55 return HeapAlloc( GetProcessHeap(), 0, len
);
58 static inline void * __WINE_ALLOC_SIZE(1) heap_alloc_zero( size_t len
)
60 return HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY
, len
);
63 static inline BOOL
heap_free( void *mem
)
65 return HeapFree( GetProcessHeap(), 0, mem
);
70 #define NUM_PROPERTY_PAGES 8
74 #endif /* __WINE_INETCPL__ */