| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "sandbox/win/src/interceptors_64.h" | 5 #include "sandbox/win/src/interceptors_64.h" |
| 6 | 6 |
| 7 #include "sandbox/win/src/interceptors.h" | 7 #include "sandbox/win/src/interceptors.h" |
| 8 #include "sandbox/win/src/filesystem_interception.h" | 8 #include "sandbox/win/src/filesystem_interception.h" |
| 9 #include "sandbox/win/src/named_pipe_interception.h" | 9 #include "sandbox/win/src/named_pipe_interception.h" |
| 10 #include "sandbox/win/src/policy_target.h" | 10 #include "sandbox/win/src/policy_target.h" |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 return TargetGetStockObject(orig_fn, object); | 268 return TargetGetStockObject(orig_fn, object); |
| 269 } | 269 } |
| 270 | 270 |
| 271 SANDBOX_INTERCEPT ATOM WINAPI TargetRegisterClassW64( | 271 SANDBOX_INTERCEPT ATOM WINAPI TargetRegisterClassW64( |
| 272 const WNDCLASS* wnd_class) { | 272 const WNDCLASS* wnd_class) { |
| 273 RegisterClassWFunction orig_fn = reinterpret_cast< | 273 RegisterClassWFunction orig_fn = reinterpret_cast< |
| 274 RegisterClassWFunction>(g_originals[REGISTERCLASSW_ID]); | 274 RegisterClassWFunction>(g_originals[REGISTERCLASSW_ID]); |
| 275 return TargetRegisterClassW(orig_fn, wnd_class); | 275 return TargetRegisterClassW(orig_fn, wnd_class); |
| 276 } | 276 } |
| 277 | 277 |
| 278 SANDBOX_INTERCEPT BOOL WINAPI TargetSystemParametersInfoW64( |
| 279 UINT action, UINT ui_param, PVOID value, UINT win_ini) { |
| 280 SystemParametersInfoWFunction orig_fn = reinterpret_cast< |
| 281 SystemParametersInfoWFunction>(g_originals[SYSTEMPARAMETERSINFOW_ID]); |
| 282 return TargetSystemParametersInfoW(orig_fn, action, ui_param, value, |
| 283 win_ini); |
| 284 } |
| 285 |
| 286 |
| 278 } // namespace sandbox | 287 } // namespace sandbox |
| OLD | NEW |