AbortDeviceConfigurationChange
Tells the clock device to stop handling a configuration change.
Declaration
virtual kern_return_t AbortDeviceConfigurationChange(uint64_t change_action, OSObject *in_change_info);Parameters
- change_action:
A
uint64_tindicating the action that the device object takes. This is the same value previously passed toRequestDeviceConfigurationChange. 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 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
kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.
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.