VirtualBox

Changeset 46625 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jun 18, 2013 1:28:52 PM (12 years ago)
Author:
vboxsync
Message:

unify casing

Location:
trunk/src/VBox/Runtime/r3/win
Files:
3 edited

Legend:

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

    r44529 r46625  
    225225{
    226226    BOOL (WINAPI *pfnGetProductInfo)(DWORD, DWORD, DWORD, DWORD, PDWORD);
    227     pfnGetProductInfo = (BOOL (WINAPI *)(DWORD, DWORD, DWORD, DWORD, PDWORD))GetProcAddress(GetModuleHandle("KERNEL32.DLL"), "GetProductInfo");
     227    pfnGetProductInfo = (BOOL (WINAPI *)(DWORD, DWORD, DWORD, DWORD, PDWORD))GetProcAddress(GetModuleHandle("kernel32.dll"), "GetProductInfo");
    228228    if (pfnGetProductInfo)
    229229    {
  • trunk/src/VBox/Runtime/r3/win/mp-win.cpp

    r46619 r46625  
    9797
    9898    pfnGetLogicalProcInfo = (BOOL (WINAPI *)(PSYSTEM_LOGICAL_PROCESSOR_INFORMATION, PDWORD))
    99                              GetProcAddress(GetModuleHandle("KERNEL32.DLL"), "GetLogicalProcessorInformation");
     99                             GetProcAddress(GetModuleHandle("kernel32.dll"), "GetLogicalProcessorInformation");
    100100    /* 0 represents an error condition. We cannot return VERR* error codes as caller expects a
    101101     * unsigned value of core count.*/
  • trunk/src/VBox/Runtime/r3/win/thread-win.cpp

    r46593 r46625  
    174174                         cComInits, cComInits, cOleInits, cOleInits));
    175175
    176         HMODULE hOle32 = GetModuleHandle("OLE32");
     176        HMODULE hOle32 = GetModuleHandle("ole32.dll");
    177177        AssertReturnVoid(hOle32 != NULL);
    178178
     
    258258    if (!fInitialized)
    259259    {
    260         HMODULE hmodKernel32 = GetModuleHandle("KERNEL32.DLL");
     260        HMODULE hmodKernel32 = GetModuleHandle("kernel32.dll");
    261261        if (hmodKernel32)
    262262            pfnGetCurrentProcessorNumber = (DWORD (WINAPI*)(void))GetProcAddress(hmodKernel32, "GetCurrentProcessorNumber");
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