Changeset 48419 in vbox for trunk/src/VBox/ExtPacks/BusMouseSample/BusMouse.cpp
- Timestamp:
- Sep 10, 2013 10:28:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/BusMouseSample/BusMouse.cpp
r48418 r48419 34 34 #define LOG_GROUP LOG_GROUP_DEV_KBD 35 35 #include <VBox/vmm/pdmdev.h> 36 #include <VBox/version.h> 36 37 #include <iprt/assert.h> 37 38 #include <iprt/uuid.h> 38 39 39 40 40 /** @page pg_busmouse DevBusMouse - Microsoft Bus Mouse Emulation … … 876 876 }; 877 877 878 #ifdef VBOX_IN_EXTPACK_R3 879 /** 880 * @callback_method_impl{FNPDMVBOXDEVICESREGISTER} 881 */ 882 extern "C" DECLEXPORT(int) VBoxDevicesRegister(PPDMDEVREGCB pCallbacks, uint32_t u32Version) 883 { 884 AssertLogRelMsgReturn(u32Version >= VBOX_VERSION, 885 ("u32Version=%#x VBOX_VERSION=%#x\n", u32Version, VBOX_VERSION), 886 VERR_EXTPACK_VBOX_VERSION_MISMATCH); 887 AssertLogRelMsgReturn(pCallbacks->u32Version == PDM_DEVREG_CB_VERSION, 888 ("pCallbacks->u32Version=%#x PDM_DEVREG_CB_VERSION=%#x\n", pCallbacks->u32Version, PDM_DEVREG_CB_VERSION), 889 VERR_VERSION_MISMATCH); 890 891 return pCallbacks->pfnRegister(pCallbacks, &g_DeviceBusMouse); 892 } 893 #endif /* VBOX_IN_EXTPACK_R3 */ 894 878 895 # endif /* IN_RING3 */ 879 896 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */
Note:
See TracChangeset
for help on using the changeset viewer.