VirtualBox

Changeset 46625 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Jun 18, 2013 1:28:52 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
86509
Message:

unify casing

Location:
trunk/src/VBox/Additions/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp

    r44992 r46625  
    582582    }
    583583
    584     HMODULE hUser = GetModuleHandle("USER32");
     584    HMODULE hUser = GetModuleHandle("user32.dll");
    585585
    586586    if (hUser)
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceStats.cpp

    r46593 r46625  
    127127    /* NtQuerySystemInformation might be dropped in future releases, so load
    128128       it dynamically as per Microsoft's recommendation. */
    129     *(void **)&gCtx.pfnNtQuerySystemInformation = RTLdrGetSystemSymbol("NTDLL.DLL", "NtQuerySystemInformation");
     129    *(void **)&gCtx.pfnNtQuerySystemInformation = RTLdrGetSystemSymbol("ntdll.dll", "NtQuerySystemInformation");
    130130    if (gCtx.pfnNtQuerySystemInformation)
    131131        VBoxServiceVerbose(3, "VBoxStatsInit: gCtx.pfnNtQuerySystemInformation = %x\n", gCtx.pfnNtQuerySystemInformation);
    132132    else
    133133    {
    134         VBoxServiceVerbose(3, "VBoxStatsInit: NTDLL.NtQuerySystemInformation not found!\n");
     134        VBoxServiceVerbose(3, "VBoxStatsInit: ntdll.NtQuerySystemInformation not found!\n");
    135135        return VERR_SERVICE_DISABLED;
    136136    }
    137137
    138138    /* GlobalMemoryStatus is win2k and up, so load it dynamically */
    139     *(void **)&gCtx.pfnGlobalMemoryStatusEx = RTLdrGetSystemSymbol("KERNEL32.DLL", "GlobalMemoryStatusEx");
     139    *(void **)&gCtx.pfnGlobalMemoryStatusEx = RTLdrGetSystemSymbol("kernel32.dll", "GlobalMemoryStatusEx");
    140140    if (gCtx.pfnGlobalMemoryStatusEx)
    141141        VBoxServiceVerbose(3, "VBoxStatsInit: gCtx.GlobalMemoryStatusEx = %x\n", gCtx.pfnGlobalMemoryStatusEx);
     
    143143    {
    144144        /** @todo Now fails in NT4; do we care? */
    145         VBoxServiceVerbose(3, "VBoxStatsInit: KERNEL32.GlobalMemoryStatusEx not found!\n");
     145        VBoxServiceVerbose(3, "VBoxStatsInit: kernel32.GlobalMemoryStatusEx not found!\n");
    146146        return VERR_SERVICE_DISABLED;
    147147    }
    148148
    149149    /* GetPerformanceInfo is xp and up, so load it dynamically */
    150     *(void **)&gCtx.pfnGetPerformanceInfo = RTLdrGetSystemSymbol("PSAPI.DLL", "GetPerformanceInfo");
     150    *(void **)&gCtx.pfnGetPerformanceInfo = RTLdrGetSystemSymbol("psapi.dll", "GetPerformanceInfo");
    151151    if (gCtx.pfnGetPerformanceInfo)
    152152        VBoxServiceVerbose(3, "VBoxStatsInit: gCtx.pfnGetPerformanceInfo= %x\n", gCtx.pfnGetPerformanceInfo);
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