DeviceRequest(IOUSBDevRequestDesc *, IOUSBCompletion *)
Sends a control request to the default control pipe in the device (pipe zero)
Declaration
virtual IOReturn DeviceRequest(
IOUSBDevRequestDesc *request,
IOUSBCompletion *completion = 0);Parameters
- request:
The parameter block to send to the device (with the pData as an IOMemoryDesriptor)
- completion:
Function to call when request completes. If omitted then DeviceRequest() executes synchronously, blocking until the request is complete. If the request is asynchronous, the client must make sure that the IOUSBDevRequest is not released until the callback has occurred.
See Also
Miscellaneous
DeviceRequest(IOUSBDevRequest *, IOUSBCompletion *)EnableRemoteWakeFindNextAltInterfaceFindNextAssociatedDescriptorFindNextPipe(IOUSBPipe *, IOUSBFindEndpointRequest *)FindNextPipe(IOUSBPipe *, IOUSBFindEndpointRequest *, bool)GetAlternateSettingGetConfigValueGetDeviceGetEndpointPropertiesGetEndpointPropertiesV3GetInterfaceClassGetInterfaceNumberGetInterfaceProtocolGetInterfaceStatusGetInterfaceStringIndexGetInterfaceSubClassGetNumEndpointsGetPipeObjRecreateStreamsRememberStreamsRememberStreams.SetAlternateInterfaceSetFunctionSuspendFeature