• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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   Standard precompile file
19 */
20 #pragma warning(disable:4200)
21 #pragma warning(disable:4201)  // nameless struct/union
22 #pragma warning(disable:4214)  // bit field types other than int
23 extern "C" {
24 #include <initguid.h>
25 #include <ntddk.h>
26 #include <ntintsafe.h>
27 #include <ntstrsafe.h>
28 #include "usbdi.h"
29 #include "usbdlib.h"
30 #include <wdf.h>
31 #include <wdfusb.h>
32 }  // extern "C"
33 #pragma warning(default:4200)
34 #pragma warning(default:4201)
35 #pragma warning(default:4214)
36 
37 // Just to make adb_api.h compile. Since we will not reference any
38 // of the API routines in the driver, only structures and constants,
39 // we're fine with that.
40 typedef void* LPOVERLAPPED;
41 
42 #include "adb_api.h"
43 #include "adb_api_legacy.h"
44 #include "android_usb_pool_tags.h"
45 #include "android_usb_driver_defines.h"
46 #include "android_usb_new_delete.h"
47 #include "android_usb_inl.h"
48