---
title: IOUSBHostObjectDestroyOptions
framework: iousbhost
role: symbol
role_heading: Structure
path: iousbhost/iousbhostobjectdestroyoptions
---

# IOUSBHostObjectDestroyOptions

## Declaration

```swift
struct IOUSBHostObjectDestroyOptions
```

## Overview

Overview Options for destroyWithOptions          the device will not be reset and drivers will not be re-registered for matching.  This allows for IOUSBHostDevice          objects that were initialized with <code>IOUSBHostObjectInitOptionsDeviceCapture</code> to honor the          <code>kUSBHostMessageDeviceIsRequestingClose</code> message.

This option is only valid for macOS

## Topics

### Initializers

- [init(rawValue:)](iousbhost/iousbhostobjectdestroyoptions/init(rawvalue:).md)

### Type Properties

- [deviceSurrender](iousbhost/iousbhostobjectdestroyoptions/devicesurrender.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Structures

- [IOUSBHostCIControllerState](iousbhost/iousbhostcicontrollerstate.md)
- [IOUSBHostCIDeviceSpeed](iousbhost/iousbhostcidevicespeed.md)
- [IOUSBHostCIDeviceState](iousbhost/iousbhostcidevicestate.md)
- [IOUSBHostCIEndpointState](iousbhost/iousbhostciendpointstate.md)
- [IOUSBHostCIExceptionType](iousbhost/iousbhostciexceptiontype.md)
- [IOUSBHostCILinkState](iousbhost/iousbhostcilinkstate.md)
- [IOUSBHostCIMessage](iousbhost/iousbhostcimessage.md)
- [IOUSBHostCIMessageStatus](iousbhost/iousbhostcimessagestatus.md)
- [IOUSBHostCIMessageType](iousbhost/iousbhostcimessagetype.md)
- [IOUSBHostCIPortState](iousbhost/iousbhostciportstate.md)
- [IOUSBHostCIUserClientVersion](iousbhost/iousbhostciuserclientversion.md)
- [IOUSBHostIsochronousTransaction](iousbhost/iousbhostisochronoustransaction.md)
- [IOUSBHostIsochronousTransactionOptions](iousbhost/iousbhostisochronoustransactionoptions.md)
- [IOUSBHostIsochronousTransferOptions](iousbhost/iousbhostisochronoustransferoptions.md)
