- Timestamp:
- Jul 23, 2007 2:53:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxHook/VBoxHook.cpp
r3746 r3790 235 235 BOOL VBoxRemoveHook() 236 236 { 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; 240 244 return true; 241 245 }
Note:
See TracChangeset
for help on using the changeset viewer.