From 977d761db17b3941f0e1be3eca01a1b09cb41361 Mon Sep 17 00:00:00 2001 From: DavidXanatos <3890945+DavidXanatos@users.noreply.github.com> Date: Tue, 7 May 2024 19:51:16 +0200 Subject: [PATCH] [skipci] --- Sandboxie/core/drv/process_force.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sandboxie/core/drv/process_force.c b/Sandboxie/core/drv/process_force.c index 417250ef..c03c4fd2 100644 --- a/Sandboxie/core/drv/process_force.c +++ b/Sandboxie/core/drv/process_force.c @@ -763,7 +763,7 @@ _FX BOOLEAN Process_IsDcomLaunchParent(HANDLE ParentId) //--------------------------------------------------------------------------- -_FX BOOLEAN Process_IsProcessParent(HANDLE ParentId,WCHAR* Name) +_FX BOOLEAN Process_IsProcessParent(HANDLE ParentId, WCHAR* Name) { BOOLEAN retval = FALSE; @@ -1380,7 +1380,7 @@ _FX BOOLEAN Process_CheckForceProcessList( _FX BOX *Process_CheckForceProcess( - LIST *boxes, const WCHAR *name, BOOLEAN alert, ULONG *IsAlert, HANDLE Parent) + LIST *boxes, const WCHAR *name, BOOLEAN alert, ULONG *IsAlert, HANDLE ParentId) { FORCE_BOX *box; @@ -1399,7 +1399,7 @@ _FX BOX *Process_CheckForceProcess( return box->box; } - //if (Process_IsWindowsExplorerParent(Parent) && wcscmp(Conf_Get(NULL, L"ForceExplorerChild", 0), box->box->name)==0) { + //if (Process_IsWindowsExplorerParent(ParentId) && Conf_Get_Boolean(box->box->name, L"ForceExplorerChild", FALSE)) { // if(_wcsicmp(name,L"Sandman.exe")!=0) // return box->box; //}