VirtualBox

Changeset 3790 in vbox for trunk


Ignore:
Timestamp:
Jul 23, 2007 2:53:43 PM (17 years ago)
Author:
vboxsync
Message:

Update

File:
1 edited

Legend:

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

    r3746 r3790  
    235235BOOL VBoxRemoveHook()
    236236{
    237     UnhookWinEvent(hEventHook[0]);
    238     UnhookWinEvent(hEventHook[1]);
    239     CoUninitialize();
     237    if (hEventHook[0] && hEventHook[1])
     238    {
     239        UnhookWinEvent(hEventHook[0]);
     240        UnhookWinEvent(hEventHook[1]);
     241        CoUninitialize();
     242    }
     243    hEventHook[0] = hEventHook[1] = 0;
    240244    return true;
    241245}
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