stdafx.h revision 5c11852110eeb03dc5a69111354b383f98d15336
1/*
2 * Copyright (C) 2006 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17/** \file
18  Visual Studio generated include file for standard system include files, or
19  project specific include files that are used frequently, but are changed
20  infrequently.
21*/
22
23#pragma once
24
25#ifndef STRICT
26#define STRICT
27#endif
28
29// Modify the following defines if you have to target a platform prior to the ones specified below.
30// Refer to MSDN for the latest info on corresponding values for different platforms.
31#ifndef WINVER				// Allow use of features specific to Windows 95 and Windows NT 4 or later.
32#define WINVER 0x0500		// Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
33#endif
34
35#ifndef _WIN32_WINNT		// Allow use of features specific to Windows NT 4 or later.
36#define _WIN32_WINNT 0x0500	// Change this to the appropriate value to target Windows 2000 or later.
37#endif
38
39#ifndef _WIN32_WINDOWS		// Allow use of features specific to Windows 98 or later.
40#define _WIN32_WINDOWS 0x0500 // Change this to the appropriate value to target Windows Me or later.
41#endif
42
43#ifndef _WIN32_IE			// Allow use of features specific to IE 4.0 or later.
44#define _WIN32_IE 0x0501	// Change this to the appropriate value to target IE 5.0 or later.
45#endif
46
47#define _ATL_APARTMENT_THREADED
48#define _ATL_NO_AUTOMATIC_NAMESPACE
49
50#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS	// some CString constructors will be explicit
51
52// turns off ATL's hiding of some common and often safely ignored warning messages
53#define _ATL_ALL_WARNINGS
54
55#pragma warning(disable: 4702)
56#include "resource.h"
57#include <atlbase.h>
58#include <atlcom.h>
59#include <winioctl.h>
60#include <setupapi.h>
61#include <vector>
62#include <map>
63#include <string>
64#pragma warning(disable: 4200)
65extern "C" {
66#include <usbdi.h>
67}
68
69#include "android_usb_common_defines.h"
70
71using namespace ATL;
72