VirtualBox

Changeset 57621 in vbox


Ignore:
Timestamp:
Sep 4, 2015 10:11:25 AM (9 years ago)
Author:
vboxsync
Message:

duh

File:
1 edited

Legend:

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

    r57620 r57621  
    848848            static bool volatile            s_fInitialized = false;
    849849            PFNVERIFYCONSOLEIOHANDLE        pfnVerifyConsoleIoHandle;
    850             if (fInitialized)
     850            if (s_fInitialized)
    851851                pfnVerifyConsoleIoHandle = s_pfnVerifyConsoleIoHandle;
    852852            else
    853853            {
    854                 int rc = RTLdrGetSystemSymbol(hKernel32, "VerifyConsoleIoHandle", (void **)&pfnVerifyConsoleIoHandle);
     854                int rc = RTLdrGetSystemSymbol("kernel32.dll", "VerifyConsoleIoHandle", (void **)&pfnVerifyConsoleIoHandle);
    855855                if (RT_SUCCESS(rc))
    856856                    s_pfnVerifyConsoleIoHandle = pfnVerifyConsoleIoHandle;
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