public:
virtual IOUSBInterface *findNextInterface(IOUSBInterface *current, FindInterfaceRequest *request);
return an interface satisfying the requirements specified in request, or NULL if there aren't any. request is updated with the properties of the returned interface.
Result: Pointer to a matching interface, or NULL if none match
Name Description current interface to start searching from, NULL to start at the beginning of the device's interface list. request specifies what properties an interface must have to match.
public:
virtual IOReturn getConfigurationDescriptor(UInt8 configValue, void *data, UInt32 len);
Copy the specified amount of data for a configuration into the suppled buffer.
Name Description configValue The configuration value data Buffer to copy data into len number of bytes to copy
public:
virtual const IOUSBConfigurationDescriptor *getFullConfigurationDescriptor(UInt8 configIndex);
return a pointer to all the descriptors for the requested configuration.
Result: Pointer to the descriptors, which are cached in the device object.
Name Description configIndex The configuration index (not the configuration value)
public:
virtual IOReturn resetDevice();
Reset the device, returning it to the addressed, unconfigured state. This is useful if a device has got badly confused
© 2000 Apple Computer, Inc. (Last Updated 2/23/2000)