---
title: UserResetDevice
framework: scsiperipheralsdriverkit
role: symbol
role_heading: Instance Method
platforms: [driverkit 22.0+]
path: scsiperipheralsdriverkit/iouserscsiperipheraldevicetype05/userresetdevice
---

# UserResetDevice

Performs a bus reset of the external drive.

## Declaration

```occ
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

Return Value A value that indicates the result of the bus reset. kIOReturnSuccess indicates success. For error definitions, see IOKit Constants.

## See Also

### Managing the device

- [UserInitializeDeviceSupport](scsiperipheralsdriverkit/iouserscsiperipheraldevicetype05/userinitializedevicesupport.md)
