Contents

FindNextInterface

Declaration

virtual IOUSBInterface *FindNextInterface(
 IOUSBInterface *current, 
 IOUSBFindInterfaceRequest *request);

Parameters

  • current:

    interface to start searching from, NULL to start at the beginning of the device's interface list for the current configuration.

  • request:

    specifies what properties an interface must have to match.

Return Value

Pointer to a matching IOUSBInterface, or NULL if none match. Note: The IOUSBInterface is NOT retained for the caller. If the caller wishes to continue to use the returned object, it should call retain() on that object.

Overview

return an pointer to an IOUSBInterface object satisfying the requirements specified in request, or NULL if there aren't any. the device must be configured for there to be any interfaces.

See Also

Miscellaneous