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

# UserTargetPresentForID

Checks if a specific target is present.

```
virtual kern_return_t UserTargetPresentForID(SCSIDeviceIdentifier targetID, bool *result);
```

## Parameters

`targetID`

The ID of the target to check.

`result`

A pointer to a Boolean value that the framework sets to `true` if the target is present and `false` otherwise.

## Return Value

A value that indicates the result of checking for the target’s existence. <doc://com.apple.documentation/documentation/DriverKit/kIOReturnSuccess> indicates success. For error definitions, see <doc://com.apple.documentation/documentation/iokit/iokit_constants>.

## Discussion

Your driver extension can call this method to determine if a target ID is actually present.

---

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)