Changeset 41647 in vbox
- Timestamp:
- Jun 11, 2012 12:09:52 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
r41643 r41647 855 855 } 856 856 857 VBoxGuestMouseSetNotifyCallback *pInfo = (VBoxGuestMouseSetNotifyCallback*)pvBuf; 858 859 /* we need a lock here to avoid concurrency with the set event functionality */ 857 860 KIRQL OldIrql; 858 VBoxGuestMouseSetNotifyCallback *pInfo = (VBoxGuestMouseSetNotifyCallback*)pvBuf;859 /* we need a lock here to avoid concurrency with the set event functionality */860 861 KeAcquireSpinLock(&pDevExt->win.s.MouseEventAccessLock, &OldIrql); 861 pDevExt->win.s.pfnMouseNotify = pInfo->pfnNotify; 862 pDevExt->win.s.pvMouseNotify = pInfo->pvNotify; 862 pDevExt->MouseNotifyCallback = *pInfo; 863 863 KeReleaseSpinLock(&pDevExt->win.s.MouseEventAccessLock, OldIrql); 864 864
Note:
See TracChangeset
for help on using the changeset viewer.