VirtualBox

Ignore:
Timestamp:
Jul 15, 2017 1:22:24 PM (7 years ago)
Author:
vboxsync
Message:

Windows 7+

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPR3HardenedMain-win.cpp

    r67979 r67981  
    16961696     * Fallback needed for Windows 7.  Fortunately, there aren't too many fake DLLs here.
    16971697     */
    1698     if (   supHardViUtf16PathStartsWithEx(pName->Buffer, pName->Length / sizeof(WCHAR),
    1699                                           L"api-ms-win-", 11, false /*fCheckSlash*/)
    1700         || supHardViUtf16PathStartsWithEx(pName->Buffer, pName->Length / sizeof(WCHAR),
    1701                                           L"ext-ms-win-", 11, false /*fCheckSlash*/) )
     1698    if (   g_uNtVerCombined >= SUP_NT_VER_W70
     1699        && (   supHardViUtf16PathStartsWithEx(pName->Buffer, pName->Length / sizeof(WCHAR),
     1700                                              L"api-ms-win-", 11, false /*fCheckSlash*/)
     1701            || supHardViUtf16PathStartsWithEx(pName->Buffer, pName->Length / sizeof(WCHAR),
     1702                                              L"ext-ms-win-", 11, false /*fCheckSlash*/) ))
    17021703    {
    17031704#define MY_ENTRY(a) { a, sizeof(a) - 1 }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette