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

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 247 of file HostUSBDeviceImpl.cpp.

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

Referenced by 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