VirtualBox

Ignore:
Timestamp:
Dec 10, 2010 3:17:31 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68779
Message:

Added RTLdrLoadEx for exposing dlerror info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp

    r34839 r34959  
    831831        if (fFFMPEG)
    832832        {
    833             int rrc = VINF_SUCCESS, rcc = S_OK;
     833            HRESULT rcc = S_OK;
     834            int     rrc = VINF_SUCCESS;
     835            char    szErr[8192];
    834836
    835837            Log2(("VBoxHeadless: loading VBoxFFmpegFB shared library\n"));
    836             rrc = SUPR3HardenedLdrLoadAppPriv("VBoxFFmpegFB", &hLdrFFmpegFB);
     838            rrc = SUPR3HardenedLdrLoadAppPriv("VBoxFFmpegFB", &hLdrFFmpegFB, szErr, sizeof(szErr));
    837839
    838840            if (RT_SUCCESS(rrc))
     
    845847            }
    846848            else
    847                 LogError("Failed to load the video capture extension\n", rrc);
     849                LogError("Failed to load the video capture extension\n", rrc); /** @todo stupid function, no formatting options. */
    848850            if (RT_SUCCESS(rrc))
    849851            {
Note: See TracChangeset for help on using the changeset viewer.

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