<!--
{
  "availability" : [
    "DriverKit: 22.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SCSIPeripheralsDriverKit",
  "identifier" : "/documentation/SCSIPeripheralsDriverKit/IOUserSCSIPeripheralDeviceType07/UserResetDevice",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SCSIPeripheralsDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserSCSIPeripheralDeviceType07@F@UserResetDevice#*$@E@SCSIServiceResponse#"
  },
  "title" : "UserResetDevice"
}
-->

# UserResetDevice

Performs a bus reset of the external drive.

```
virtual kern_return_t UserResetDevice(SCSIServiceResponse *response);
```

## Parameters

`response`

A pointer to a <doc://com.apple.documentation/documentation/iokit/scsiserviceresponse> instance. On return, the framework populates this reference with the response from the protocol driver.

## Return Value

A value that indicates the result of the bus reset. <doc://com.apple.documentation/documentation/DriverKit/kIOReturnSuccess> indicates success. For error definitions, see <doc://com.apple.documentation/documentation/iokit/iokit_constants>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)