| Index: sandbox/win/src/process_mitigations_win32k_interception.h
|
| diff --git a/sandbox/win/src/process_mitigations_win32k_interception.h b/sandbox/win/src/process_mitigations_win32k_interception.h
|
| index bf7b551227a5c64bf1bb8b58994843514e557745..dcb49b6ef9d31463210b5db89cf284f8e672be2f 100644
|
| --- a/sandbox/win/src/process_mitigations_win32k_interception.h
|
| +++ b/sandbox/win/src/process_mitigations_win32k_interception.h
|
| @@ -22,6 +22,9 @@ typedef HGDIOBJ (WINAPI *GetStockObjectFunction) (int object);
|
|
|
| typedef ATOM (WINAPI *RegisterClassWFunction) (const WNDCLASS* wnd_class);
|
|
|
| +typedef BOOL (WINAPI* SystemParametersInfoWFunction) (UINT action,
|
| + UINT ui_param, PVOID value, UINT win_ini);
|
| +
|
| // Interceptor for the GdiDllInitialize function.
|
| SANDBOX_INTERCEPT BOOL WINAPI TargetGdiDllInitialize(
|
| GdiDllInitializeFunction orig_gdi_dll_initialize,
|
| @@ -38,6 +41,14 @@ SANDBOX_INTERCEPT ATOM WINAPI TargetRegisterClassW(
|
| RegisterClassWFunction orig_register_class_function,
|
| const WNDCLASS* wnd_class);
|
|
|
| +// Interceptor for the SystemParametersInfoW function.
|
| +SANDBOX_INTERCEPT BOOL WINAPI TargetSystemParametersInfoW(
|
| + SystemParametersInfoWFunction orig_system_parameters_info,
|
| + UINT action,
|
| + UINT ui_param,
|
| + PVOID value,
|
| + UINT win_ini);
|
| +
|
| } // extern "C"
|
|
|
| } // namespace sandbox
|
|
|