---
title: UserReportHBAHighestLogicalUnitNumber
framework: SCSIControllerDriverKit
role: symbol
role_heading: Instance Method
path: scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userreporthbahighestlogicalunitnumber
---

# UserReportHBAHighestLogicalUnitNumber

Gets the highest logical unit number (LUN) in response to a call from the framework.

## Declaration

```occ
virtual kern_return_t UserReportHBAHighestLogicalUnitNumber(uint64_t *value);
```

## Parameters

- `value`: A pointer to a uint64_t value. On return, set this value to the highest LUN the controller can address.

## Return Value

Return Value A value that indicates the result of determining the highest LUN. kIOReturnSuccess indicates success. For error definitions, see IOKit Constants.

## Discussion

Discussion The framework calls this method to query the driver extension class to determine the highest logical unit number that the controller can address.

## See Also

### Managing host bus adapters

- [UserReportInitiatorIdentifier](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userreportinitiatoridentifier.md)
- [UserReportHighestSupportedDeviceID](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userreporthighestsupporteddeviceid.md)
- [UserReportMaximumTaskCount](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userreportmaximumtaskcount.md)
- [UserDoesHBAPerformDeviceManagement](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userdoeshbaperformdevicemanagement.md)
- [UserDoesHBAPerformAutoSense](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userdoeshbaperformautosense.md)
- [UserDoesHBASupportMultiPathing](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userdoeshbasupportmultipathing.md)
- [UserDoesHBASupportSCSIParallelFeature](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userdoeshbasupportscsiparallelfeature.md)
- [SCSIParallelFeature](scsicontrollerdriverkit/scsiparallelfeature.md)
- [UserMapHBAData](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/usermaphbadata.md)
- [UserSetHBAProperties](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/usersethbaproperties.md)
- [UserRemoveHBAProperties](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userremovehbaproperties.md)
- [UserReportHBAConstraints](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userreporthbaconstraints.md)
