<!--
{
  "availability" : [
    "DriverKit: 21.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioDriverKit",
  "identifier" : "/documentation/AudioDriverKit/IOUserAudioClockDevice/SetIsHidden",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AudioDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserAudioClockDevice@F@SetIsHidden#b#"
  },
  "title" : "SetIsHidden"
}
-->

# SetIsHidden

Sets a Boolean value to indicate whether the device is hidden.

```
kern_return_t SetIsHidden(bool in_is_hidden);
```

## Parameters

`in_is_hidden`

`true` if the device is hidden; otherwise, `false`.

## Return Value

<doc://com.apple.documentation/documentation/DriverKit/kIOReturnSuccess> on success, or another value if an error occurs. For a list of error codes, see <doc://com.apple.documentation/documentation/DriverKit/error-codes>.

## Discussion

A true value indicates the device isn’t included in the normal list of devices, and is only findable by its UID. A hidden device can’t be the default device.

---

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)