Changeset 63886 in vbox for trunk/src/VBox/Devices/Samples
- Timestamp:
- Sep 19, 2016 1:02:14 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 110750
- Location:
- trunk/src/VBox/Devices/Samples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Samples/DrvStorageFilter.cpp
r63878 r63886 23 23 #include <VBox/vmm/pdmdrv.h> 24 24 #include <VBox/vmm/pdmstorageifs.h> 25 #include <VBox/version.h> 25 26 #include <VBox/log.h> 26 27 … … 414 415 u32Version, pCallbacks->u32Version)); 415 416 417 AssertLogRelMsgReturn(u32Version >= VBOX_VERSION, 418 ("VirtualBox version %#x, expected %#x or higher\n", u32Version, VBOX_VERSION), 419 VERR_VERSION_MISMATCH); 416 420 AssertLogRelMsgReturn(pCallbacks->u32Version == PDM_DRVREG_CB_VERSION, 417 (" %#x, expected %#x\n", pCallbacks->u32Version, PDM_DRVREG_CB_VERSION),421 ("callback version %#x, expected %#x\n", pCallbacks->u32Version, PDM_DRVREG_CB_VERSION), 418 422 VERR_VERSION_MISMATCH); 419 423 -
trunk/src/VBox/Devices/Samples/VBoxSampleDevice.cpp
r63884 r63886 154 154 LogFlow(("VBoxSampleDevice::VBoxDevicesRegister: u32Version=%#x pCallbacks->u32Version=%#x\n", u32Version, pCallbacks->u32Version)); 155 155 156 AssertLogRelMsgReturn(u32Version >= VBOX_VERSION, 157 ("VirtualBox version %#x, expected %#x or higher\n", u32Version, VBOX_VERSION), 158 VERR_VERSION_MISMATCH); 156 159 AssertLogRelMsgReturn(pCallbacks->u32Version == PDM_DEVREG_CB_VERSION, 157 (" %#x, expected %#x\n", pCallbacks->u32Version, PDM_DEVREG_CB_VERSION),160 ("callback version %#x, expected %#x\n", pCallbacks->u32Version, PDM_DEVREG_CB_VERSION), 158 161 VERR_VERSION_MISMATCH); 159 162
Note:
See TracChangeset
for help on using the changeset viewer.