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