VirtualBox

Ignore:
Timestamp:
Jul 18, 2017 1:18:58 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117042
Message:

TMCpuTickGetDeadlineAndTscOffset: build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstVMM.cpp

    r62775 r68022  
    3838#include <iprt/thread.h>
    3939
     40#include <iprt/win/windows.h>
     41
    4042
    4143/*********************************************************************************************************************************
     
    270272    }
    271273
     274#if 1
     275    HMODULE hmod;
     276    //SetLastError(0);
     277    //hmod = LoadLibraryW(L"c:\\tmp\\testdir\\nodot");
     278    //RTPrintf("c:\\tmp\\testdir\\nodot -> %p %#x\n", hmod, GetLastError());
     279    //
     280    //SetLastError(0);
     281    //hmod = LoadLibraryW(L"c:\\tmp\\testdir\\trailingdot.");
     282    //RTPrintf("c:\\tmp\\testdir\\trailingdot. -> %p %#x\n", hmod, GetLastError());
     283
     284    RTPrintf("\n=======>\n");
     285    SetLastError(0);
     286    hmod = LoadLibraryW(L"\\\\localhost\\c\\tmp\\VBoxRes.dll");
     287    RTPrintf("\\\\localhost\\c\\tmp\\VBoxRes.dll -> %p %#x\n", hmod, GetLastError());
     288
     289    RTPrintf("\n=======>\n");
     290    SetLastError(0);
     291    hmod = LoadLibraryW(L"\\\\?\\UNC\\localhost\\c\\tmp\\VBoxRes.dll");
     292    RTPrintf("\\\\?\\UNC\\localhost\\c\\tmp\\VBoxRes.dll -> %p %#x\n", hmod, GetLastError());
     293
     294#else
     295
    272296    /*
    273297     * Create the test VM.
     
    374398    else
    375399        RTTestFailed(hTest, "VMR3Create failed: rc=%Rrc\n", rc);
    376 
     400#endif
    377401    return RTTestSummaryAndDestroy(hTest);
    378402}
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