]> git.saurik.com Git - apple/mdnsresponder.git/blob - mDNSWindows/ControlPanel/stdafx.h
mDNSResponder-878.270.2.tar.gz
[apple/mdnsresponder.git] / mDNSWindows / ControlPanel / stdafx.h
1 /* -*- Mode: C; tab-width: 4 -*-
2 *
3 * Copyright (c) 1997-2004 Apple Computer, Inc. All rights reserved.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18 #pragma once
19
20 #ifndef VC_EXTRALEAN
21 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
22 #endif
23
24 // Modify the following defines if you have to target a platform prior to the ones specified below.
25 // Refer to MSDN for the latest info on corresponding values for different platforms.
26 #ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
27 #define WINVER 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
28 #endif
29
30 #ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
31 #define _WIN32_WINNT 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
32 #endif
33
34 #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
35 #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
36 #endif
37
38 // Step 3: We want to see one image, but not a tile
39 #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
40 #define _WIN32_IE 0x0500 // Change this to the appropriate value to target IE 5.0 or later.
41 #endif
42
43 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
44
45 // turns off MFC's hiding of some common and often safely ignored warning messages
46 #define _AFX_ALL_WARNINGS
47
48 #if !defined(_WSPIAPI_COUNTOF)
49 # define _WSPIAPI_COUNTOF(_Array) (sizeof(_Array) / sizeof(_Array[0]))
50 #endif
51
52 #include <afxwin.h> // MFC core and standard components
53 #include <afxext.h> // MFC extensions
54 #include <afxdisp.h> // MFC Automation classes
55
56 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
57 #ifndef _AFX_NO_AFXCMN_SUPPORT
58 #include <afxcmn.h> // MFC support for Windows Common Controls
59 #endif // _AFX_NO_AFXCMN_SUPPORT
60 #include <afxdlgs.h>
61
62 #include <cpl.h> // Control Panel Applet functions and defines
63
64 #include <afxtempl.h> // MFC Template support