Changeset 3853 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jul 25, 2007 7:24:30 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 23211
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Builtins.cpp
r3670 r3853 237 237 } 238 238 239 240 #ifdef VBOX_WITH_USB 241 /** 242 * Register builtin USB device. 243 * 244 * @returns VBox status code. 245 * @param pCallbacks Pointer to the callback table. 246 * @param u32Version VBox version number. 247 */ 248 extern "C" DECLEXPORT(int) VBoxUSBRegister(PCPDMUSBREGCB pCallbacks, uint32_t u32Version) 249 { 250 int rc = pCallbacks->pfnRegister(pCallbacks, &g_UsbDevProxy); 251 if (VBOX_FAILURE(rc)) 252 return rc; 253 254 return VINF_SUCCESS; 255 } 256 #endif -
trunk/src/VBox/Devices/Builtins.h
r3648 r3853 78 78 extern const PDMDRVREG g_DrvHostParallel; 79 79 80 #ifdef VBOX_WITH_USB 81 extern const PDMUSBREG g_UsbDevProxy; 82 #endif 83 80 84 __END_DECLS 81 85
Note:
See TracChangeset
for help on using the changeset viewer.