VirtualBox

Changeset 63096 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 6, 2016 3:28:11 PM (8 years ago)
Author:
vboxsync
Message:

VBoxHook: warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxHook/VBoxHook.cpp

    r63095 r63096  
    5454                                        DWORD dwEventThread, DWORD dwmsEventTime)
    5555{
     56    RT_NOREF(hWinEventHook, idChild, dwEventThread, dwmsEventTime);
    5657    DWORD dwStyle;
    5758    if (    idObject != OBJID_WINDOW
     
    9899            dprintf(("OpenEvent returned %x (last err=%x)\n", g_hWinNotifyEvent, GetLastError()));
    99100        }
    100         BOOL ret = SetEvent(g_hWinNotifyEvent);
    101         dprintf(("SetEvent %x returned %d (last error %x)\n", g_hWinNotifyEvent, ret, GetLastError()));
     101        BOOL fRc = SetEvent(g_hWinNotifyEvent);
     102        dprintf(("SetEvent %x returned %d (last error %x)\n", g_hWinNotifyEvent, fRc, GetLastError())); NOREF(fRc);
    102103        break;
    103104    }
     
    108109                                            DWORD dwEventThread, DWORD dwmsEventTime)
    109110{
     111    RT_NOREF(hWinEventHook, event, hwnd, idObject, idChild, dwEventThread, dwmsEventTime);
    110112    if (!g_hDesktopNotifyEvent)
    111113    {
     
    113115        dprintf(("OpenEvent returned %x (last err=%x)\n", g_hDesktopNotifyEvent, GetLastError()));
    114116    }
    115     BOOL ret = SetEvent(g_hDesktopNotifyEvent);
    116     dprintf(("SetEvent %x returned %d (last error %x)\n", g_hDesktopNotifyEvent, ret, GetLastError()));
     117    BOOL fRc = SetEvent(g_hDesktopNotifyEvent);
     118    dprintf(("SetEvent %x returned %d (last error %x)\n", g_hDesktopNotifyEvent, fRc, GetLastError())); NOREF(fRc);
    117119}
    118120
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