VirtualBox

Changeset 68560 in vbox


Ignore:
Timestamp:
Aug 31, 2017 12:10:10 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117777
Message:

merging vbglioc r117712: Mouse logging/assertions.

Location:
trunk/src/VBox/Additions/WINNT/Mouse
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Mouse/NT5/VBoxMFInternal.cpp

    r68556 r68560  
    295295        if (!NT_SUCCESS(rc))
    296296        {
    297             WARN(("IoGetDeviceProperty failed with rc=%#x", rc));
     297            if (rc == STATUS_OBJECT_NAME_NOT_FOUND) /* This happen when loading on a running system, don't want the assertion. */
     298                LOG(("IoGetDeviceProperty failed with STATUS_OBJECT_NAME_NOT_FOUND"));
     299            else
     300                WARN(("IoGetDeviceProperty failed with rc=%#x", rc));
    298301            return;
    299302        }
  • trunk/src/VBox/Additions/WINNT/Mouse/common/VBoxMouseLog.h

    r62522 r68560  
    1919#define VBOXMOUSELOG_H
    2020
    21 #ifdef DEBUG_misha
    22 # include <iprt/assert.h>
    23 #endif
     21#include <VBox/log.h>
     22#include <iprt/assert.h>
    2423
    2524#define VBOX_MOUSE_LOG_NAME "VBoxMouse"
     
    4746    } while (0)
    4847
    49 #ifdef DEBUG_misha
     48#if 1 /* Exclude yourself if you're not keen on this. */
    5049# define BREAK_WARN() AssertFailed()
    5150#else
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