VirtualBox

Ignore:
Timestamp:
Apr 17, 2018 8:53:38 PM (7 years ago)
Author:
vboxsync
Message:

VBoxMouseNT: Must init IPRT for KeQueryTickCount to work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Mouse/NT4/VBoxPS2NT.cpp

    r70337 r71887  
    1818#define LOG_GROUP LOG_GROUP_DRV_MOUSE
    1919#include <iprt/asm.h>
     20#include <iprt/initterm.h>
    2021#include <VBox/err.h>
    2122#include <VBox/log.h>
     
    18151816    WCHAR pointerBuffer[NAME_MAX];
    18161817
     1818    int rc = RTR0Init(0);
     1819    if (RT_FAILURE(rc))
     1820        return STATUS_UNSUCCESSFUL;
     1821
    18171822    LogFlow(("VBoxMouseNT::DriverEntry: enter\n"));
    18181823
     
    22262231
    22272232    LogFlow(("VBoxMouseNT::DriverEntry: leave, status = %d\n", status));
    2228 
     2233    RTR0Term();
    22292234    return status;
    22302235}
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