mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-27 17:00:59 +01:00
Main: Prevent injection in safe mode (#2968)
This commit is contained in:
parent
5e7bad22cd
commit
95ea9e740b
@ -14492,7 +14492,7 @@ HRESULT EntryPoint(DWORD dwMethod)
|
||||
if (bIsThisExplorer)
|
||||
{
|
||||
#ifdef _WIN64
|
||||
if (IsUserOOBEOrCredentialReset())
|
||||
if (GetSystemMetrics(SM_CLEANBOOT) != 0 || IsUserOOBEOrCredentialReset())
|
||||
{
|
||||
IncrementDLLReferenceCount(hModule);
|
||||
bInstanced = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user