Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1809)

Unified Diff: sandbox/win/src/interceptors_64.cc

Issue 333773005: Intercept the user32!SystemParametersInfoW API in the win32k user gdi lockdown mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sandbox/win/src/interceptors_64.h ('k') | sandbox/win/src/ipc_tags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/interceptors_64.cc
diff --git a/sandbox/win/src/interceptors_64.cc b/sandbox/win/src/interceptors_64.cc
index ef0b5f0017aac0fdcfef874271d0e4e75118de7e..2b343134e572bbe122a83e14813b57731531eb5b 100644
--- a/sandbox/win/src/interceptors_64.cc
+++ b/sandbox/win/src/interceptors_64.cc
@@ -275,4 +275,13 @@ SANDBOX_INTERCEPT ATOM WINAPI TargetRegisterClassW64(
return TargetRegisterClassW(orig_fn, wnd_class);
}
+SANDBOX_INTERCEPT BOOL WINAPI TargetSystemParametersInfoW64(
+ UINT action, UINT ui_param, PVOID value, UINT win_ini) {
+ SystemParametersInfoWFunction orig_fn = reinterpret_cast<
+ SystemParametersInfoWFunction>(g_originals[SYSTEMPARAMETERSINFOW_ID]);
+ return TargetSystemParametersInfoW(orig_fn, action, ui_param, value,
+ win_ini);
+}
+
+
} // namespace sandbox
« no previous file with comments | « sandbox/win/src/interceptors_64.h ('k') | sandbox/win/src/ipc_tags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698