USB1xConfigurations Property

The USB1xConfigurations property gets a ISoftUSBConfigurations object that holds the collection of ISoftUSBConfiguration objects that represent the other speed configurations that a device supports.

This property is read-only.

Syntax

HRESULT get_USB1xConfigurations(
  [out, retval]  ISoftUSBConfigurations **ppiUSB1xConfigList
);

Property Value

Caller-allocated space to hold the collection of supported speeds.

Error Codes

USB1xConfigurations returns S_OK if the operation succeeds.

Remarks

The following C++ code example shows how to get the USB1xConfigurations property.

HRESULT CLoopBackDevice::Get1xConfigList(ISoftUSBConfigurations **ppiConfigList)
{
HRESULT hr = OK:
 

 if (NULL == m_piDevice)
{
 hr = E_UNEXPECTED;
 goto Exit;
}

 if (NULL == ppiConfigList)
{
 hr = E_POINTER;
 goto Exit;
}

// Initialize the return parameter
*ppiConfigList = NULL;


// Get the USB1xConfigurations list 
 hr = m_piDevice ->get_USB1xConfigurations(reinterpret_cast< SoftUSBConfigurations **>(ppiConfigList));
 if (FAILED(hr))
 goto Exit;

Exit:
 return hr;
}

Requirements

Header

SoftUSBif.h

See Also

ISoftUSBDevice

ISoftUSBConfiguration

ISoftUSBConfigurations

 

 

Send comments about this topic to Microsoft

Build date: 9/21/2010