<!--
{
  "availability" : [
    "DriverKit: -"
  ],
  "documentType" : "symbol",
  "framework" : "SCSIControllerDriverKit",
  "identifier" : "/documentation/SCSIControllerDriverKit/IOUserSCSIParallelInterfaceController/UserDoesHBAPerformAutoSense",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SCSIControllerDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserSCSIParallelInterfaceController@F@UserDoesHBAPerformAutoSense#*b#"
  },
  "title" : "UserDoesHBAPerformAutoSense"
}
-->

# UserDoesHBAPerformAutoSense

Determines if the driver extension class automatically performs autosense and provides autosense data for each I/O in response to a call from the framework.

```
virtual kern_return_t UserDoesHBAPerformAutoSense(bool *result);
```

## Parameters

`result`

A pointer to a Boolean value. On return, set this to `true` if the HBA performs autosense.

## Return Value

A value that indicates the result of determining if the driver extension class performs autosense. <doc://com.apple.documentation/documentation/DriverKit/kIOReturnSuccess> indicates success. For error definitions, see <doc://com.apple.documentation/documentation/iokit/iokit_constants>.

## Discussion

If the HBA allocates space for autosense in its HBA-specific data region on a per-task basis, the HBA should respond `true`.

---

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)