Skip to content

Commit

Permalink
Merge pull request #485 from processhacker/master
Browse files Browse the repository at this point in the history
[pull] master from processhacker:master
  • Loading branch information
pull[bot] authored Jun 6, 2022
2 parents 4f9a01e + d71aaa3 commit ab3668c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions phlib/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -8066,6 +8066,16 @@ PVOID PhLoadLibrary(
return baseAddress;
}

if (WindowsVersion < WINDOWS_8)
{
// Note: This case is required for Windows 7 without KB2533623 (dmex)

if (baseAddress = LoadLibraryEx(LibFileName, NULL, 0))
{
return baseAddress;
}
}

return NULL;
}

Expand Down

0 comments on commit ab3668c

Please sign in to comment.