IUSBDeviceCollection Interface Reference

List of all members.

Public Member Functions

void getItemAt (in unsigned long index,[retval] out IUSBDevice item)
void enumerate ([retval] out IUSBDeviceEnumerator enumerator)
void findById (in uuid id,[retval] out IUSBDevice device)
 Searches this collection for a USB device with the given UUID.
void findByAddress (in wstring name,[retval] out IUSBDevice device)
 Searches this collection for a USB device with the given host address.

Public Attributes

readonly attribute unsigned long count


Member Function Documentation

void IUSBDeviceCollection::getItemAt ( in unsigned long  index,
[retval] out IUSBDevice  item 
)

void IUSBDeviceCollection::enumerate ( [retval] out IUSBDeviceEnumerator  enumerator  ) 

void IUSBDeviceCollection::findById ( in uuid  id,
[retval] out IUSBDevice  device 
)

Searches this collection for a USB device with the given UUID.

Parameters:
id UUID of the USB device to search for.
device Found USB device object.
Note:
The method returns an error if the given UUID does not correspond to any USB device in the collection.
See also:
IUSBDevice::id

void IUSBDeviceCollection::findByAddress ( in wstring  name,
[retval] out IUSBDevice  device 
)

Searches this collection for a USB device with the given host address.

Parameters:
name Address of the USB device (as assigned by the host) to search for.
device Found USB device object.
Note:
The method returns an error if the given address does not correspond to any USB device in the collection.
See also:
IUSBDevice::address


Member Data Documentation

readonly attribute unsigned long IUSBDeviceCollection::count


Generated on Fri Nov 21 21:38:41 2008 for VirtualBox Main API by  doxygen 1.5.5