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 |