Roll src/third_party/WebKit e0eac24:489c548 (svn 193311:193320)
[chromium-blink-merge.git] / sandbox / win / src / process_mitigations_win32k_interception.cc
blobee24fbf434c8e8c6d6c9680e1e71978fe88cd237
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
3 // found in the LICENSE file.
5 #include "sandbox/win/src/process_mitigations_win32k_interception.h"
7 namespace sandbox {
9 BOOL WINAPI TargetGdiDllInitialize(
10 GdiDllInitializeFunction orig_gdi_dll_initialize,
11 HANDLE dll,
12 DWORD reason) {
13 return TRUE;
16 HGDIOBJ WINAPI TargetGetStockObject(
17 GetStockObjectFunction orig_get_stock_object,
18 int object) {
19 return reinterpret_cast<HGDIOBJ>(NULL);
22 ATOM WINAPI TargetRegisterClassW(
23 RegisterClassWFunction orig_register_class_function,
24 const WNDCLASS* wnd_class) {
25 return TRUE;
28 } // namespace sandbox