---
title: AbortDeviceConfigurationChange
framework: audiodriverkit
role: symbol
role_heading: Instance Method
path: audiodriverkit/iouseraudioclockdevice/abortdeviceconfigurationchange
---

# AbortDeviceConfigurationChange

Tells the clock device to stop handling a configuration change.

## Declaration

```occ
virtual kern_return_t AbortDeviceConfigurationChange(uint64_t change_action, OSObject *in_change_info);
```

## Parameters

- `change_action`: A uint64_t indicating the action that the device object takes. This is the same value previously passed to RequestDeviceConfigurationChange. This value is purely for the clock device’s usage; the host doesn’t look at this value.
- `in_change_info`: A pointer to an doc://com.apple.documentation/documentation/DriverKit/OSObject about the configuration change. This is the same value previously passed to RequestDeviceConfigurationChange. This value is purely for the clock device’s usage; the host doesn’t look at this value. Retain and release this object reference as needed.

## Return Value

Return Value kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.

## Discussion

Discussion The host calls this method to tell the driver not to perform a configuration change previously requested by the host method RequestDeviceConfigurationChange. Subclass and override this method to abort the change, then call the superclass to update the I/O state.

## See Also

### Supporting Device Configuration Changes

- [PerformDeviceConfigurationChange](audiodriverkit/iouseraudioclockdevice/performdeviceconfigurationchange.md)
