Changeset 47973 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Aug 21, 2013 2:25:52 PM (11 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/VBoxTray
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxIPC.cpp
r47960 r47973 128 128 { 129 129 VBOXTRAYIPCRES_USERLASTINPUT ipcRes; 130 ipcRes.uLastInput Ms = GetTickCount() - lastInput.dwTime;130 ipcRes.uLastInput = (GetTickCount() - lastInput.dwTime) / 1000; 131 131 fLastInputAvailable = true; 132 132 } … … 138 138 { 139 139 /* No last input available. */ 140 ipcRes.uLastInput Ms= UINT32_MAX;140 ipcRes.uLastInput = UINT32_MAX; 141 141 } 142 142 -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTrayMsg.h
r47234 r47973 91 91 typedef struct VBOXTRAYIPCRES_USERLASTINPUT 92 92 { 93 /** Last occurred user input event (in ms). */94 uint32_t uLastInput Ms;93 /** Last occurred user input event (in seconds). */ 94 uint32_t uLastInput; 95 95 } VBOXTRAYIPCRES_USERLASTINPUT, *PVBOXTRAYIPCRES_USERLASTINPUT; 96 96
Note:
See TracChangeset
for help on using the changeset viewer.