]> git.saurik.com Git - apple/mdnsresponder.git/blob - mDNSWindows/DLLX/stdafx.h
fdde090a11e4eb0531b7e6a93f9c8c88f4571829
[apple/mdnsresponder.git] / mDNSWindows / DLLX / stdafx.h
1 /* -*- Mode: C; tab-width: 4 -*-
2 *
3 * Copyright (c) 2009 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 Change History (most recent first):
18
19 $Log: stdafx.h,v $
20 Revision 1.1 2009/05/26 04:43:54 herscher
21 <rdar://problem/3948252> COM component that can be used with any .NET language and VB.
22
23
24 */
25
26 #pragma once
27
28 #ifndef STRICT
29 #define STRICT
30 #endif
31
32 // Modify the following defines if you have to target a platform prior to the ones specified below.
33 // Refer to MSDN for the latest info on corresponding values for different platforms.
34 #ifndef WINVER // Allow use of features specific to Windows XP or later.
35 #define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows.
36 #endif
37
38 #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
39 #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
40 #endif
41
42 #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
43 #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
44 #endif
45
46 #ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later.
47 #define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
48 #endif
49
50 #define _ATL_APARTMENT_THREADED
51 #define _ATL_NO_AUTOMATIC_NAMESPACE
52
53 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
54
55
56 #include "resource.h"
57 #include <atlbase.h>
58 #include <atlcom.h>
59
60 using namespace ATL;