]> git.saurik.com Git - apple/mdnsresponder.git/blob - Clients/PrinterSetupWizard/stdafx.h
mDNSResponder-108.tar.gz
[apple/mdnsresponder.git] / Clients / PrinterSetupWizard / stdafx.h
1 /*
2 * Copyright (c) 1997-2004 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22
23 Change History (most recent first):
24
25 $Log: stdafx.h,v $
26 Revision 1.2 2005/10/19 19:50:35 herscher
27 Workaround a bug in the latest Microsoft Platform SDK when compiling C++ files that include (directly or indirectly) <WspiApi.h>
28
29 Revision 1.1 2004/06/18 04:36:58 rpantos
30 First checked in
31
32
33 */
34
35 #pragma once
36
37 #ifndef VC_EXTRALEAN
38 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
39 #endif
40
41 // Modify the following defines if you have to target a platform prior to the ones specified below.
42 // Refer to MSDN for the latest info on corresponding values for different platforms.
43 #ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
44 #define WINVER 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
45 #endif
46
47 #ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
48 #define _WIN32_WINNT 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
49 #endif
50
51 #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
52 #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
53 #endif
54
55 // Step 3: We want to see one image, but not a tile
56 #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
57 #define _WIN32_IE 0x0500 // Change this to the appropriate value to target IE 5.0 or later.
58 #endif
59
60 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
61
62 // turns off MFC's hiding of some common and often safely ignored warning messages
63 #define _AFX_ALL_WARNINGS
64
65 #if !defined(_WSPIAPI_COUNTOF)
66 # define _WSPIAPI_COUNTOF(_Array) (sizeof(_Array) / sizeof(_Array[0]))
67 #endif
68
69 #include <afxwin.h> // MFC core and standard components
70 #include <afxext.h> // MFC extensions
71 #include <afxdisp.h> // MFC Automation classes
72
73 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
74 #ifndef _AFX_NO_AFXCMN_SUPPORT
75 #include <afxcmn.h> // MFC support for Windows Common Controls
76 #endif // _AFX_NO_AFXCMN_SUPPORT
77 #include <afxdlgs.h>
78