VirtualBox

Changeset 95736 in vbox for trunk/src/VBox/Runtime/r3/win


Ignore:
Timestamp:
Jul 20, 2022 1:50:08 AM (3 years ago)
Author:
vboxsync
Message:

IPRT/process-win.cpp: PSAPI never had an undecorated GetModuleBaseName API, not even in NT 3.51.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/process-win.cpp

    r95735 r95736  
    334334        if (RT_SUCCESS(rc))
    335335        {
    336             rc = RTLdrGetSymbol(hMod, "GetModuleBaseName", (void **)&g_pfnGetModuleBaseName);
     336            rc = RTLdrGetSymbol(hMod, "GetModuleBaseNameA", (void **)&g_pfnGetModuleBaseName);
    337337            AssertStmt(RT_SUCCESS(rc), g_pfnGetModuleBaseName = NULL);
    338338
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