Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "sandbox/win/src/process_mitigations_win32k_interception.h" | |
| 6 | |
| 7 namespace sandbox { | |
| 8 | |
| 9 BOOL WINAPI TargetGdiDllInitialize( | |
| 10 GdiDllInitializeFunction orig_gdi_dll_initialize, | |
| 11 HANDLE dll, | |
| 12 DWORD reason) { | |
| 13 return TRUE; | |
| 14 } | |
| 15 | |
| 16 HGDIOBJ WINAPI TargetGetStockObject(GetStockObjectFunction orig_get_stock_object , | |
|
rvargas (doing something else)
2014/06/06 21:22:24
Args on the next line :(
ananta
2014/06/06 23:57:35
Done.
| |
| 17 int object) { | |
| 18 return reinterpret_cast<HGDIOBJ>(1); | |
|
rvargas (doing something else)
2014/06/06 21:22:24
Is this the final code? Can we return NULL?
ananta
2014/06/06 23:57:35
Done.
| |
| 19 } | |
| 20 | |
| 21 ATOM WINAPI TargetRegisterClassW( | |
| 22 RegisterClassWFunction orig_register_class_function, | |
| 23 const WNDCLASS* wnd_class) { | |
| 24 return TRUE; | |
| 25 } | |
| 26 | |
| 27 } // namespace sandbox | |
| 28 | |
| OLD | NEW |