AbortDeviceRequests
Aborts device requests that you made previously from the current device client.
Declaration
virtual kern_return_t AbortDeviceRequests(IOService *forClient, IOOptionBits options, IOReturn withError);Parameters
- forClient:
The client that issued the requests.
- options:
Options to use when aborting requests. Specify
0for this parameter. - withError:
The error value to report for each request. Specify
kIOReturnAbortedfor this parameter.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.
Discussion
Use this method to abort any requests you made previously with the AsyncDeviceRequest method. This method aborts only the requests that the current device object initiated.