From 91350221c53b8085deec438ee16354bf7258ed01 Mon Sep 17 00:00:00 2001 From: love-code-yeyixiao <188240888@qq.com> Date: Sat, 16 Mar 2024 17:28:46 +0800 Subject: [PATCH] Fix --- Sandboxie/core/dll/gdi.c | 3 +++ Sandboxie/core/dll/gui.c | 6 +++--- Sandboxie/core/dll/gui_p.h | 4 +--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Sandboxie/core/dll/gdi.c b/Sandboxie/core/dll/gdi.c index 7559d370..8ca64557 100644 --- a/Sandboxie/core/dll/gdi.c +++ b/Sandboxie/core/dll/gdi.c @@ -151,6 +151,9 @@ P_DeleteEnhMetaFile __sys_DeleteEnhMetaFile = NULL; P_GetStockObject __sys_GetStockObject = NULL; P_CreateDCA __sys_CreateDCA=NULL; P_DeleteDC __sys_DeleteDC = NULL; +P_BitBlt __sys_BitBlt = NULL; +P_StretchBlt __sys_StretchBlt = NULL; +P_TransparentBlt __sys_TransparentBlt = NULL; //--------------------------------------------------------------------------- diff --git a/Sandboxie/core/dll/gui.c b/Sandboxie/core/dll/gui.c index 9c9d4557..59b2790a 100644 --- a/Sandboxie/core/dll/gui.c +++ b/Sandboxie/core/dll/gui.c @@ -434,9 +434,9 @@ _FX BOOLEAN Gui_Init(HMODULE module) GUI_IMPORT___(GetDCEx); //GUI_IMPORT___(DeleteDC); GUI_IMPORT___(ReleaseDC); - GUI_IMPORT___(BitBlt); - GUI_IMPORT___(StretchBlt); - GUI_IMPORT___(TransparentBlt); + //GUI_IMPORT___(BitBlt); + //GUI_IMPORT___(StretchBlt); + //GUI_IMPORT___(TransparentBlt); // GUI_IMPORT___(CreateDCA); // GUI_IMPORT___(CreateDCW); GUI_IMPORT___(GetWindowThreadProcessId); diff --git a/Sandboxie/core/dll/gui_p.h b/Sandboxie/core/dll/gui_p.h index 4bd3b21e..5747118c 100644 --- a/Sandboxie/core/dll/gui_p.h +++ b/Sandboxie/core/dll/gui_p.h @@ -599,9 +599,7 @@ GUI_SYS_VAR(GetDCEx) GUI_SYS_VAR(GetWindowDC) GUI_SYS_VAR(ReleaseDC) GUI_SYS_VAR(PrintWindow) -GUI_SYS_VAR(BitBlt) -GUI_SYS_VAR(StretchBlt) -GUI_SYS_VAR(TransparentBlt) + GUI_SYS_VAR(ClipCursor)