---
title: UserReportMaximumTaskCount
framework: SCSIControllerDriverKit
role: symbol
role_heading: Instance Method
path: scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userreportmaximumtaskcount
---

# UserReportMaximumTaskCount

Gets the maximum number of outstanding tasks the HBA can process in response to a call from the framework.

## Declaration

```occ
virtual kern_return_t UserReportMaximumTaskCount(uint32_t *count);
```

## Parameters

- `count`: A pointer to a count value. On return, set this to the maximum task count.

## Return Value

Return Value A value that indicates the result of getting the maximum task count. kIOReturnSuccess indicates success. For error definitions, see IOKit Constants.

## Discussion

Discussion This number must be greater than zero or the controller driver fails to match and load.

## See Also

### Managing host bus adapters

- [UserReportInitiatorIdentifier](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userreportinitiatoridentifier.md)
- [UserReportHighestSupportedDeviceID](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userreporthighestsupporteddeviceid.md)
- [UserDoesHBAPerformDeviceManagement](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userdoeshbaperformdevicemanagement.md)
- [UserReportHBAHighestLogicalUnitNumber](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userreporthbahighestlogicalunitnumber.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)
