mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-28 01:10:55 +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)
|
if (bIsThisExplorer)
|
||||||
{
|
{
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
if (IsUserOOBEOrCredentialReset())
|
if (GetSystemMetrics(SM_CLEANBOOT) != 0 || IsUserOOBEOrCredentialReset())
|
||||||
{
|
{
|
||||||
IncrementDLLReferenceCount(hModule);
|
IncrementDLLReferenceCount(hModule);
|
||||||
bInstanced = TRUE;
|
bInstanced = TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user