OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_INTERCEPTION_H_ | 5 #ifndef SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_INTERCEPTION_H_ |
6 #define SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_INTERCEPTION_H_ | 6 #define SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_INTERCEPTION_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
| 9 #include "base/basictypes.h" |
9 #include "sandbox/win/src/sandbox_types.h" | 10 #include "sandbox/win/src/sandbox_types.h" |
10 | 11 |
11 namespace sandbox { | 12 namespace sandbox { |
12 | 13 |
13 extern "C" { | 14 extern "C" { |
14 | 15 |
15 typedef BOOL (WINAPI* GdiDllInitializeFunction) ( | 16 typedef BOOL (WINAPI* GdiDllInitializeFunction) ( |
16 HANDLE dll, | 17 HANDLE dll, |
17 DWORD reason, | 18 DWORD reason, |
18 LPVOID reserved); | 19 LPVOID reserved); |
(...skipping 17 matching lines...) Expand all Loading... |
36 SANDBOX_INTERCEPT ATOM WINAPI TargetRegisterClassW( | 37 SANDBOX_INTERCEPT ATOM WINAPI TargetRegisterClassW( |
37 RegisterClassWFunction orig_register_class_function, | 38 RegisterClassWFunction orig_register_class_function, |
38 const WNDCLASS* wnd_class); | 39 const WNDCLASS* wnd_class); |
39 | 40 |
40 } // extern "C" | 41 } // extern "C" |
41 | 42 |
42 } // namespace sandbox | 43 } // namespace sandbox |
43 | 44 |
44 #endif // SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_INTERCEPTION_H_ | 45 #endif // SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_INTERCEPTION_H_ |
45 | 46 |
OLD | NEW |