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

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

Returns the device address string.

Returns:
COM status code
Parameters:
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);
    CHECK_READY();

    *aAddress = m_pUsb->pszAddress;
    return S_OK;
}


Generated by  Doxygen 1.6.0   Back to index