Changeset 13165 in vbox for trunk/src/VBox/Main/ConsoleImpl.cpp
- Timestamp:
- Oct 10, 2008 11:27:30 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r13079 r13165 1001 1001 return VINF_SUCCESS; 1002 1002 } 1003 1004 #ifdef VBOX_WITH_GUEST_PROPS 1005 // static 1006 DECLCALLBACK(void) 1007 Console::doGuestPropNotification (PVBOXHGCMCALLBACKHDR pHeader) 1008 { 1009 /* No locking, as this is purely a notification which does not make any 1010 * changes to the object state. */ 1011 guestProp::PHOSTCALLBACKDATA pCBData 1012 = reinterpret_cast<guestProp::PHOSTCALLBACKDATA>(pHeader); 1013 AssertReturnVoid(VBOXHGCMCALLBACKMAGIC == pCBData->hdr.u32Magic); 1014 AssertReturnVoid(sizeof(guestProp::HOSTCALLBACKDATA) == pCBData->hdr.cbStruct); 1015 ComObjPtr <Console> pConsole = reinterpret_cast <Console *> (pCBData->hdr.pvData); 1016 pConsole->mControl->PushGuestProperty(Bstr(pCBData->pcszName), 1017 Bstr(pCBData->pcszValue), 1018 pCBData->u64Timestamp, 1019 Bstr(pCBData->pcszFlags)); 1020 } 1021 #endif 1022 1003 1023 1004 1024 // IConsole properties
Note:
See TracChangeset
for help on using the changeset viewer.