VirtualBox

Changeset 1569 in vbox


Ignore:
Timestamp:
Mar 20, 2007 4:38:10 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19670
Message:

Moved win32 usbLib code to VBoxDDU.dll.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/usblib.h

    r1 r1569  
    199199 */
    200200
    201 /*
     201/**
    202202 * Initialize the USB library
    203203 *
    204204 * @returns VBox status code.
    205205 */
    206 USBR3DECL(int) usbLibInit();
    207 
    208 /*
     206VBOXDDU_DECL(int) usbLibInit();
     207
     208/**
    209209 * Terminate the USB library
    210210 *
    211211 * @returns VBox status code.
    212212 */
    213 USBR3DECL(int) usbLibTerm();
    214 
    215 /*
     213VBOXDDU_DECL(int) usbLibTerm();
     214
     215/**
    216216 * Add USB device filter
    217217 *
     
    222222 * @param   ppID            Pointer to filter id
    223223 */
    224 USBR3DECL(int) usbLibInsertFilter(const char *pszVendor, const char *pszProduct, const char *pszRevision, void **ppID);
    225 
    226 /*
     224VBOXDDU_DECL(int) usbLibInsertFilter(const char *pszVendor, const char *pszProduct, const char *pszRevision, void **ppID);
     225
     226/**
    227227 * Remove USB device filter
    228228 *
     
    230230 * @param   aID             Filter id
    231231 */
    232 USBR3DECL(int) usbLibRemoveFilter (void *aID);
    233 
    234 /*
     232VBOXDDU_DECL(int) usbLibRemoveFilter (void *aID);
     233
     234/**
    235235 * Return all attached USB devices.
    236236 *
     
    239239 * @param pcbNumDevices     Number of USB devices in the list
    240240 */
    241 USBR3DECL(int) usbLibGetDevices(PUSBDEVICE *ppDevices,  uint32_t *pcbNumDevices);
    242 
    243 /*
     241VBOXDDU_DECL(int) usbLibGetDevices(PUSBDEVICE *ppDevices,  uint32_t *pcbNumDevices);
     242
     243/**
    244244 * Check for USB device arrivals or removals
    245245 *
    246246 * @returns boolean
    247247 */
    248 USBR3DECL(bool) usbLibHasPendingDeviceChanges();
     248VBOXDDU_DECL(bool) usbLibHasPendingDeviceChanges();
    249249
    250250/** @} */
  • trunk/src/VBox/Devices/Makefile

    r1566 r1569  
    6363#
    6464VBoxDDU_TEMPLATE         = VBOXR3
    65 VBoxDDU_SDKS.win         = WINPSDK
    6665VBoxDDU_DEFS             = IN_VBOXDDU
     66ifdef VBOX_WITH_USB
     67 VBoxDDU_DEFS.win        = VBOX_WITH_USB
     68 VBoxDDU_SDKS.win        = WINPSDK W2K3DDK
     69 VBoxDDU_SOURCES.win     = \
     70        USB/win32/USBLib-win32.cpp
     71else
     72 VBoxDDU_SDKS.win         = WINPSDK
     73endif
    6774VBoxDDU_SOURCES          = \
    6875        Storage/VDICore.cpp
    6976#       Storage/VmdkHDDCore.cpp
    7077VBoxDDU_LIBS             = \
    71         $(PATH_LIB)/DevicesR3$(VBOX_SUFF_LIB) \
    72         $(PATH_LIB)/Drivers$(VBOX_SUFF_LIB) \
    73         $(PATH_LIB)/PcDefBiosLogo$(VBOX_SUFF_LIB) \
    7478        $(LIB_RUNTIME)
    7579ifeq ($(BUILD_TARGET),l4)
     
    473477 Drivers_SOURCES.win  += \
    474478        USB/USBProxyDevice.cpp \
    475         USB/win32/USBProxyDevice-win32.cpp \
    476         USB/win32/USBLib-win32.cpp
     479        USB/win32/USBProxyDevice-win32.cpp
    477480endif # VBOX_WITH_USB
    478481
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette