SetAlternateInterface
Declaration
virtual IOReturn SetAlternateInterface(
IOService *forClient,
UInt16alternateSetting);Parameters
- forClient:
The client requesting the alternate setting. This client must have the interface open in order to perform the request.
- alternateSetting:
Alternate setting (from the alternate interface's interface descriptor).
Return Value
exclusive access error if the interface is not open. otherwise the result of the transaction
Overview
Select the specified alternate interface.
See Also
Miscellaneous
DeviceRequest(IOUSBDevRequest *, IOUSBCompletion *)DeviceRequest(IOUSBDevRequestDesc *, IOUSBCompletion *)EnableRemoteWakeFindNextAltInterfaceFindNextAssociatedDescriptorFindNextPipe(IOUSBPipe *, IOUSBFindEndpointRequest *)FindNextPipe(IOUSBPipe *, IOUSBFindEndpointRequest *, bool)GetAlternateSettingGetConfigValueGetDeviceGetEndpointPropertiesGetEndpointPropertiesV3GetInterfaceClassGetInterfaceNumberGetInterfaceProtocolGetInterfaceStatusGetInterfaceStringIndexGetInterfaceSubClassGetNumEndpointsGetPipeObjRecreateStreamsRememberStreamsRememberStreams.SetFunctionSuspendFeature