blob: ee24fbf434c8e8c6d6c9680e1e71978fe88cd237 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "sandbox/win/src/process_mitigations_win32k_interception.h"
namespace sandbox {
BOOL WINAPI TargetGdiDllInitialize(
GdiDllInitializeFunction orig_gdi_dll_initialize,
HANDLE dll,
DWORD reason) {
return TRUE;
}
HGDIOBJ WINAPI TargetGetStockObject(
GetStockObjectFunction orig_get_stock_object,
int object) {
return reinterpret_cast<HGDIOBJ>(NULL);
}
ATOM WINAPI TargetRegisterClassW(
RegisterClassWFunction orig_register_class_function,
const WNDCLASS* wnd_class) {
return TRUE;
}
} // namespace sandbox
|