Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

STDMETHODIMP HostUSBDevice::COMGETTER() Address ( std::string *  aAddress  ) 

Returns the device address string.

COM status code
aAddress Where to put the returned string.

Definition at line 251 of file HostUSBDeviceImpl.cpp.

References CHECK_READY, HostUSBDevice::m_pUsb, and USBDEVICE::pszAddress.

Referenced by handleList(), OUSBDevice::init(), and showVMInfo().

    if (!aAddress)
        return E_INVALIDARG;

    AutoLock alock (this);

    *aAddress = m_pUsb->pszAddress;
    return S_OK;

Generated by  Doxygen 1.6.0   Back to index