Contents

UserDestroyTargetForID

Destroys the specified target.

Declaration

virtual kern_return_t UserDestroyTargetForID(SCSITargetIdentifier targetID);

Parameters

  • targetID:

    The ID of the target to destroy.

Return Value

A value that indicates the result of target removal. kIOReturnSuccess indicates success. For error definitions, see IOKit Constants.

Discussion

Your driver extension calls this method to remove the target with the specified targetID.

See Also

Managing Targets